Node.js app with MVC architecture implementing a RESTful API for user management. Features include user registration, authentication, role management, and boss changes. Uses Express, Mongoose, and JWT.
To run this project with Docker Compose, follow these steps:
- Make sure Docker and Docker Compose are installed on your machine.
- Clone the repository to your local machine.
- Navigate to the project directory in your terminal.
- Create a
.env
file with environment variables needed for the project. For example:
PORT = 3000
MONGODB_URI = ""
JWT_SECRET = ""
- Run the following command to start the containers:
docker-compose up
- Once the containers are up and running, you should be able to access the application at
http://localhost:3000
in your web browser.