Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/cr-israel/api-typescript-vitest

API made in TypeScript with Fastify and unit tests with Vitest
https://github.com/cr-israel/api-typescript-vitest

api-rest backend backend-api esbuild eslint eslintrc fastify github mongodb mongoose nodejs typescript unit-testing vitest vitest-ts

Last synced: 1 day ago
JSON representation

API made in TypeScript with Fastify and unit tests with Vitest

Awesome Lists containing this project

README

        


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?

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

# Credits

| Usuário | Contribution |
|-------------------------------------------|-----------------------|
| [Cr-Israel](https://github.com/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.