Simple Restfull API Web Store with Node JS
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
This website was created for project at Data Modelling course. In this application, I implemented using Node JS and MongoDB for Backend and using React JS for Frontend. For caching I use Redis. Features on this website:
- Already using RestFull API
- Already use caching with Redis
- Filter by Category and Price
- User SignUp and Login
- Admin Features :
- Add and Updated Product
- Add and Updated Category
- User Features :
- Add Product to Cart Item
- Add User Address (can have more than one address)
- Place Order
- See the Order List
- Node JS
- Express
- Redis
- MongoDB
- React JS
- Bcrypt
- Json Web Token
This will give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
- Clone the repo
https://github.com/its-lana/Electronic-Store.git
- Create .env file in server directory and put this
example :
DB_URI DB_NAME PORT
DB_URI = mongodb://localhost:27017/ DB_NAME = myStoreDatabase PORT = 2022
- Make sure you have redis installed and running on your machine
- Open two terminals to the project folder, then:
cd server npm i nodemon server
cd client npm i npm run start