To set up the backend for this project, you will need to install the following packages using either npm or yarn:
- multer: for file uploads
- express: a backend framework for node that provides a simple and easy-to-use API for handling HTTP requests and responses.
- mysql: for the database
- nodemon: for server management
- dotenv: to reference configurations in the .env file
- jsonwebtoken: for authorization
- md5 or bcrypt: for password encryption
To create the project, you will need to take the following steps:
- Create a .env file for your application configurations
- Create a .gitignore file
- Create a configurations folder for your database setup and connection
To start the project, you can use either nodemon index.js or node index.js.
https://dbdiagram.io/d/64187981296d97641d8954e2 : ERD diagrams