This is a Node.js application for managing user data through RESTful APIs. It includes endpoints for creating, fetching, updating, and deleting user information.
Before running this application, ensure you have the following dependencies installed:
- Node.js
- Express.js
- Sequelize
- MySQL (or another compatible database)
-
Clone this repository to your local machine.
-
Install the required npm packages:
npm install
-
Configure the database by creating a MySQL database and updating the configuration in the
config/db.js
file. -
Configure JWT Secret Key:
- In the
config/auth.js
file, replace"your_secret_key"
with your desired secret key for JWT authentication.
- In the
Start the application:
npm start