This project consists of a REST API for a Gympass-like app, applying SOLID principles with TypeScript + Prisma ORM.
Before you begin, ensure you have met the following requirements:
- Node.js (v20.x).
- Npm (v8.x)
- Docker (v27.x)
- Docker Compose (v2.x)
Instructions on how to install and set up the project for development.
- First, let's install the project dependencies with npm:
# Install dependencies
npm install
-
Set your environment variables correctly in the
.env
file (refer to.env.example
for guidance): -
Now, make sure to run the docker containers using docker compose:
docker compose up -d
- Next, we need to run prisma migrations in order to create tables and populate the database:
npx prisma run dev
- Finally, run the project in development mode with:
npm run "start:dev"
This project is intended for learning purposes only and is not licensed for commercial use.
Roger Bambinetti