Skip to content

Mischer/steps-leaderboard

Repository files navigation

steps-leaderboard

Version: 0.0.1

Description

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.

Prerequisites

To run this project, make sure you have the following installed:

Installation

  1. Clone the repository to your local machine:

    git clone git@github.com:Mischer/steps-leaderboard.git
  2. Navigate to the project directory:

    cd steps-leaderboard
  3. Install the dependencies:

    npm install

Running the Application

Start MongoDB using Docker Compose

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

Start the Application

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.

API Documentation (Swagger)

This application provides API documentation using Swagger. Once the application is running, you can access the Swagger UI at:

http://localhost:3000/explore

Testing

To run the test suite, use:

npm run test

You can also run tests in watch mode:

npm run test:watch

Building the Project

To build the project for production, use:

npm run build

The output will be in the dist/ directory.

Environment Variables

This project uses environment variables to manage configuration. You can configure them in a .env file at the root of the project.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published