Todo application built with Fastify, utilizing oas-fastify for OpenAPI specification 3.0.0 documentation and validation.
MIT License
This is a simple Todo application built with Fastify, utilizing oas-fastify for OpenAPI specification 3.0.0 documentation and validation.
Clone the repository:
git clone <repository-url>
Install dependencies:
cd <project-folder>
make install
To start the server using Docker Compose, make sure you have Docker installed on your machine. Then, navigate to the project directory and run the following command:
make start
The server will be running on port 8080 by default
To stop the server and remove the containers, use the following command:
make stop
To clean up the project by removing running containers, volumes, node_modules, coverage, src/openapi.json, and dist, use the following command:
make clean
To run the docs server:
[!NOTE] THE
make start
will run both the server and docs, to run the docs image alone, use the following command
make docs
You can access the OpenAPI documentation for the API at http://localhost:8000. This documentation provides detailed information about the available endpoints, request parameters, responses, and schemas.
Contributions are welcome! Feel free to open issues or pull requests.