A RESTful API for managing festivals, built with Node.js, Typescript, Express, TypeORM and PostgreSQL.
(This project is a showcase for demonstration purposes only. Contributions are not accepted.)
- CRUD operations for festivals
- Pagination and filtering for the festival list endpoint
- Swagger UI documentation
- Dockerized setup for easy deployment
- Docker & Docker Compose
git clone https://github.com/TheRealBatou/festival-api.git
cd festival-apiNo .env file is required to run this project. All necessary environment variables are already defined within the docker-compose.yml file for a seamless setup. This means you can simply use the provided Docker configuration without any additional configuration effort.
The command starts Docker in the background (-d) for easier use of the console to start tests
docker compose up -dThis project is fully configured to run in a Docker environment for consistency, simplicity, and ease of setup. To keep the onboarding process smooth and predictable across systems, Docker is the recommended and supported way to run the application.
For this reason, instructions for running the app outside of Docker (e.g., directly on a local machine) are intentionally not included.
If you prefer to run the project locally without Docker, feel free to inspect the docker-compose.yml to configure your own environment accordingly — but please note that this setup is not officially maintained.
Tests are written with Jest + Supertest
Testing inside Docker:
docker compose exec app npm testSwagger UI is available at: http://localhost:3000/api-docs