Skip to content

API made in TypeScript with Fastify and unit tests with Vitest

Notifications You must be signed in to change notification settings

Cr-Israel/api-typescript-vitest

Repository files navigation

GIMP
API-TypeScript-Vitest | Acessar

"API made in TypeScript with Fastify and unit tests with Vitest"

Crie um fork no github GitHub Repo stars

What is it?

This is a RESTful API, developed in TypeScript with Fastify. I applied unit tests using Vitest, a powerful testing framework, and MongoDB. Following REST standards, this API is fully flexible and easy to use. It brings everything best, as Fastify's speed ensures quick and efficient responses.

How to use?

  1. Access https://github.com/Cr-Israel/api-typescript-vitest
  2. Clone the project to your local machine: I. git clone
  3. Start the project: I. npm start II. yarn start
  4. Add your database credentials.

Variação 1

Variação 2

How to install?

Windows

To perform the installation via Windows:

  1. Make sure you have Node installed on your machine
  2. node --version
  3. Clone this repository
  4. Enter the repository
  5. Run the command npm/yarn start
  6. Project is running

Unix

To perform the installation via Linux or MacOs:

  1. Make sure you have Node installed on your machine
  2. node --version
  3. Clone this repository
  4. Enter the repository
  5. Run the command npm/yarn start
  6. Project is running

What's left to do?

  • Create entities
  • Apply unit tests
  • Database integration
    • Create a Front-End application
      • SPA integration
      • Deploy to production

Credits

Usuário Contribution
Cr-Israel Did the whole project

Contributions

Every Contribution is welcome, feel free to make a pull request!

Feedbacks

All feedback is welcome, feel free to contribute and give your constructive criticism!

Conclusion

This was the API-TypeScript-Vitest project.