A simple API made in Fastify, TypeScript and MongoDB.
- Create product;
- Get products/single product;
- Update product;
- Delete product.
- Node.js
- TypeScript
- Fastify
- MongoDB
- Mongoose
- tsup
- tsx
To run the project locally, follow these steps:
- Clone the repository to your local machine.
- Install server dependencies by running the command
npm install || yarn install
in the project root directory. - Start the server by running the command
npm run dev || yarn dev
in the project root directory.
To run this project, you will need to add the following environment variables to your .env
USER_NAME
USER_PASS
With your appropriate database information.
Contributions are always welcome! If you want to contribute to the project, please open a pull request with your changes and explain what was done. We would be happy to review your changes and discuss ideas with you.