Skip to content

GymPass API desenvolvida com Fastify, TypeScript, Prisma, PostgreSQL, SOLID e Design Patterns

Notifications You must be signed in to change notification settings

d0ugui/gympass-api-solid

Repository files navigation

About

A complete GymPass API built with Fastify, TypeScript, Prisma and PostgreSQL, using SOLID principles. The API is designed to handle authentication (JWT), authorization permission system (RBAC), unit tests and e2e tests with a CI workflow created on GitHub Actions for automatically test the source code in a push or pull request event on main branch.

Last but not least, in order to simplify the application execution process you can use the container environemnt created for this project using Docker Compose.

Technologies

My Skills

🚀 Running the project

# Clone repo
$ git clone https://github.com/d0ugui/gympass-api-solid

# run and create containers
$ cd gympass-api-solid && docker compose up -d

# create .env
$ look at the example in .env.example file

# install deps
$ yarn or npm install

# apply prisma migrations
$ npx prisma migrate deploy

# run api
$ npm run dev or yarn dev

📝 License

This software is available under the following licenses:

About

GymPass API desenvolvida com Fastify, TypeScript, Prisma, PostgreSQL, SOLID e Design Patterns

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published