/AmazonClone

Something like Amazon...

Primary LanguageJavaScript

Designed a better e-commerce webisite using React and Node like amazon (LOL, not as beautiful as amazon).

MERN stack (MongoDB, ExpressJS, React and Node.JS)

1. Clone repo

$ git clone https://github.com/Adeniyikayodee/AmazonClone.git
$ cd amazona

2. Setup MongoDB

  • Local MongoDB
    • Install it from here
    • Create .env file in root folder
    • Set MONGODB_URL=mongodb://localhost/amazona
  • Atlas Cloud MongoDB
    • Create database at https://cloud.mongodb.com
    • Create .env file in root folder (update this in gitignore folder)
    • Set MONGODB_URL=mongodb+srv://your-db-connection

3. Run Backend

$ npm install
$ npm start

4. Run Frontend

# open new terminal
$ cd frontend
$ npm install
$ npm start

5. Seed Users and Products

6. Admin Login