• Stars
    star
    225
  • Rank 177,187 (Top 4 %)
  • Language
    JavaScript
  • License
    GNU General Publi...
  • Created about 4 years ago
  • Updated 4 months ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

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

Header photo

E-Commerce Website

Demo: https://next-e-commerce-example.vercel.app/

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

More Repositories

1

Change-My-Mind

A debate app built with React Native using Expo. It use Firebase as backend.
JavaScript
31
star
2

nextjs-instagram-clone

This is a mobile responsive Instagram clone example but only homepage.
JavaScript
20
star
3

Data-Labeling-System

Java
9
star
4

gatsby-personal-website

Personal website/blog example. Made with React / Gatsby
JavaScript
5
star
5

React-Native-Shopping-App

A shopping app created with React Native. Demo video: https://youtu.be/OiNf6KXDfc8
JavaScript
4
star
6

go-opentelemetry-examples

OpenTelemetry examples by using Golang.
Go
3
star
7

React-Food-Spin

A food menu example like spinner
TypeScript
3
star
8

CSE4095S22_Grp4

CSE4095 Intoduction to NLP - Project
Jupyter Notebook
2
star
9

Github-Star-Reminder

A browser extension to remind you to your 5 starred repositories randomly on the right side of Github homepage.
JavaScript
2
star
10

gonew

gonew fork with additional command line flags
Go
2
star
11

scala-slick-rest-postgresql

First Scala REST Api attempt for learning in a week
Scala
2
star
12

Technical-Service-Management-System

CSE3055_Project
JavaScript
2
star
13

React-Native-Translate

A translate app with using React Native
JavaScript
2
star
14

go-http-vs-grpc

Benchmark for HTTP and gRPC implementations in Golang
Go
1
star
15

Traveling-Salesman-Problem

CSE2046-Project-3
Java
1
star
16

htmlcheck

simple, fast and easy HTML validator in Go
Go
1
star
17

spotify50

List and share your Spotify top 50 lists by Spotify50 | spotify50.com
JavaScript
1
star
18

ReactJS-IMDB-Clone

IMDB clone with using React + Axios + Router
JavaScript
1
star
19

anilsenay.com

My personal website. Built with Next.js
TypeScript
1
star
20

rearkdown

Rearkdown is a react component for using your custom component in markdown files.
TypeScript
1
star
21

go-custom-pubsub

implemention a basic pubsub system example from scratch for practise
Go
1
star
22

React-TodoApp

JavaScript
1
star
23

zoom-redirector

redirect to zoom lesson:
HTML
1
star
24

gatsby-personal-blog

I made this project for learning both Gatsby and Tailwind. This is a personal blog website example. You can easily add posts with uploading markdown(.md) files in github and build project again.
JavaScript
1
star