API for a gym management system built with NodeJS.
-
Clone the repository:
git clone https://github.com/SamuelB7/GYM-API.git cd GYM-API
-
Copy the
.env.example
to.env
and configure your environment variables:cp .env.example .env
-
Install dependencies:
npm install
-
Make sure to have Docker Compose installed on your machine.
-
Start the Docker containers:
sudo docker compose up
-
Run database migrations:
npm run prisma:migrate
To start the server in development mode, without docker run:
npm run start:dev
The server will be running at http://localhost:3000
After starting the application, go to http://localhost:3000/documentation to check the documentation of the api endpoints
This project is licensed under the MIT License
For any inquiries, please contact [email protected]