API for ONG registration to register pets for responsible adoption
MIT License
This API aims to serve applications with the objective of registering NGOs and PETs so that they can be adopted.
The application has the following rules.
โโโ find-a-friend
โโโ .img.shields.io
โโโ prisma
โโโ migrations
โโโ vitest-environment-prisma
โโโ src
โโโ @types
โโโ env
โโโ http
โโโ lib
โโโ repositories
โโโ tests
โโโ use-cases
โโโ utils
โโโ app
โโโ server
โโโ .env.example
โโโ .eslintignore
โโโ .eslintrc.json
โโโ docker-compose.yml
โโโ LICENSE
- Clone the repository:
$ git clone https://github.com/diego64/api-find-a-friend
- Change to the project directory:
$ cd api-find-a-friend
- Install the dependencies:
$ npm install
- Install the database:
$ docker compose up -d
- Generate the migrantios:
$ npx prisma migrate dev
- Start the application:
$ npm run start:dev
Run the functional tests using the command below:
$ npm run test
Run E2E tests using the command below:
$ npm run test:e2e
This project is protected by the MIT License.
This project is part of the Node.Js specialization program of the company Rockeseat through the Ignite program, which has undergone a content update since 2022 to the current moment.
This challenge aims to test the SOLID knowledge learned in the third chapter of the program. Since this project aimed at developing tests, there was no criterion for the organization and structure of the code, but rather the length of the proposed requirements and the development of unit and E2E tests.