This is an e-commerce application built using Node.js, Express, Mongoose, Jwt, uuid on the backend, and Angular, Bootstrap, Bootstrap validation, Validation directive, and Generic HTTP Client on the frontend.
- User authentication with JWT
- Product category and browsing
- Generic Component and Http Client in Angular
- Bootstrap and Bootstrap Validation
- Node.js and Express
- Node.js version 14 or higher
- MongoDB instance
- Clone this repository
- Install dependencies with
npm install
- Start the server with
npm start
- Navigate to
http://localhost:5000
in your web browser
To run the application in development mode, use the following command:
npm run dev
This will start the server with nodemon, which will automatically restart the server whenever changes are made to the code.
To deploy the application, you will need to set up a production MongoDB instance and set the MONGODB_URI
environment variable to the connection string for that instance.
You can then start the server in production mode with the following command:
npm run start:prod
Contributions are welcome! Please open an issue or pull request to suggest changes or report bugs.
This project is licensed under the MIT License.