Giter VIP home page Giter VIP logo

anilsenay / next-e-commerce Goto Github PK

View Code? Open in Web Editor NEW
218.0 4.0 99.0 585 KB

An e-commerce website example with NextJS that I made in 1 week as a self challenge. Using Firebase as backend.

Home Page: https://next-e-commerce-example.vercel.app/

License: GNU General Public License v3.0

JavaScript 70.43% SCSS 27.74% CSS 1.83%
nextjs react next nextjs-example e-commerce next-e-commerce react-example

next-e-commerce's Introduction


Header photo

E-Commerce Website

An e-commerce website example built with Next.js that I made in 1 week as a self challenge. There are some issues that I will handle later. Using Firebase as backend.

Contact me · Report Bug · Request Feature

Table of Contents

About The Project

I saw a UI design on Dribbble by Anton Mikhaltsov. And I wanted to code this design. So I decided to make it a full working website with NextJS but in just 1 week as challenge myself. Some issues are still there but I will check out them later.

  • Filter and Sort buttons are not working yet.
  • Website is not responsive %100 because of time was not enought. I am working on it currently. Now, it is responsive.
  • Firebase functions could be better
  • Home page(News In) cards has no redirects. They are just placeholders.

Built With

Screenshots

News In

Home Image

  • Cards has no links and they are static, they are just placeholders.

Categories

Categories Image

Product

Product Image

Cart

Cart Image

Account

Account Image

Getting Started

Prerequisites

  • Node.js version 10.13 or later
  • Git (I used 2.20.1)

Installation

  1. You need to create a firebase project

  2. Clone the repo and change the directory

git clone https://github.com/anilsenay/next-e-commerce.git
cd next-e-commerce
  1. Install NPM packages
npm install
  1. Create your .env.local file on root folder(next-e-commerce) with this content. Put your firebase keys.
NEXT_PUBLIC_FIREBASE_API_KEY = your-firebase-api-key
NEXT_PUBLIC_FIREBASE_PROJECT_ID = your-firebase-project-id
NEXT_PUBLIC_FIREBASE_APP_ID = your-firebase-app-id
  1. Run in development mode
npm run dev

Issues - Future plans

  • Filter and Sort buttons
  • Optimize firestore query functions
  • On cart page, decrease item button is not working
  • Website will be %100 responsive
  • Replace some HTML tags with semantic tags

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Q & A

  • Question: I created Firebase project but I do not familiar with it. What should I do then? Answer: You can contact me about setting your Firebase project, I would gladly help you.

  • Question: I created Firebase project but I do not have database structure. What should I do then? Answer: Please contact me to get database structure I created.

  • Question: Why did not you share your database structure? Answer: I just want to know if someone is interest in this project :D

  • Question: How can I contribute? Answer: It makes me happy even if you just star this project. For code contributes, you can fork the repo and open a pull request after your changes. Any feedback is also important for me. You can open issue or send me message.

  • Question: Did you design UI? Answer: No, I did not design actually. I found home page design on Dribbble by Anton Mikhaltsov. Except home page, other UI choices is mine. While I made this website in limited time, I did not think on UI/UX a lot. So you can also feedback me about design.

License

Distributed under the GPL License. See LICENSE for more information.

Contact

@anilsenay

Project Link: https://github.com/anilsenay/next-e-commerce

next-e-commerce's People

Contributors

anilsenay avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

next-e-commerce's Issues

Filter and Sort buttons

I have planned there will be shown a right side bar after click Filter button.

I am not sure about Sort button.

Optimize firestore query functions

There are some 'not filtered' queries. I filter them after fetch all of data. Firestore has some limits for filtering queries thats why I did not find a better solution.

TypeScript?

Hi

I am interested in doing some refactoring && converting it into TypeScript. Do you have any plans to continue the project with ts?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.