An API for managing teams and step counters in a company-wide steps leaderboard application.
This is a backend application built using NestJS, a progressive Node.js framework for building efficient, reliable, and scalable server-side applications.
To run this project, make sure you have the following installed:
-
Clone the repository to your local machine:
git clone [email protected]:Mischer/steps-leaderboard.git
-
Navigate to the project directory:
cd steps-leaderboard
-
Install the dependencies:
npm install
This project uses MongoDB as a database, and it can be easily started using Docker Compose. Run the following command to spin up MongoDB:
docker-compose up
Once MongoDB is running, you can start the NestJS application using the following command:
npm run start
The application should now be running on http://localhost:3000
.
This application provides API documentation using Swagger. Once the application is running, you can access the Swagger UI at:
http://localhost:3000/explore
To run the test suite, use:
npm run test
You can also run tests in watch mode:
npm run test:watch
To build the project for production, use:
npm run build
The output will be in the dist/
directory.
This project uses environment variables to manage configuration. You can configure them in a .env
file at the root of the project.
This project is licensed under the MIT License.