This is the backend for amazon clone created using MERN stack. This project contains user authentication using passport js, bcrypt and json web token. For handling payments, paypal is used.
The features include:
- User Sign up
- User Sign in
- Add items to basket
- Check order details
- View basket items
- Make payments
To use this project, follow the steps:
- Clone the repository.
- Type "npm install" in the terminal.
- Create config.env file, and write environment variables in it e.g: CONNECTION_URL = connection-url-here
- Type "npm run dev" in the terminal to start the server.