Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jayllyz/cinema-api
Robust cinema API made in Typescript with Hono :fire:
https://github.com/jayllyz/cinema-api
biome honojs openapi typescript
Last synced: 14 days ago
JSON representation
Robust cinema API made in Typescript with Hono :fire:
- Host: GitHub
- URL: https://github.com/jayllyz/cinema-api
- Owner: Jayllyz
- License: mit
- Created: 2024-03-23T10:09:27.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-07-01T21:30:07.000Z (5 months ago)
- Last Synced: 2024-10-06T05:05:30.021Z (about 1 month ago)
- Topics: biome, honojs, openapi, typescript
- Language: TypeScript
- Homepage: https://cinema.jayllyz.fr/ui
- Size: 377 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Cinema API 🎥
> Fast, reliable and easy to use API.
[![Docker Build](https://github.com/Jayllyz/cinema-api/actions/workflows/docker-build.yml/badge.svg)](https://github.com/Jayllyz/cinema-api/actions/workflows/docker-build.yml)
[![CI](https://github.com/Jayllyz/cinema-api/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/Jayllyz/cinema-api/actions/workflows/ci.yml)
[![Biome Badge](https://img.shields.io/badge/Checked_with-Biome-60a5fa?style=flat&logo=biome)](https://biomejs.dev/)This project implements all the necessary endpoints for a cinema, including:
- Clients
- Movies
- Screenings / Tickets
- Rooms
- Employees## Built With ðŸ›
![Hono](https://img.shields.io/badge/hono-E36002?style=for-the-badge&logo=hono&logoColor=white)
![Typescript](https://img.shields.io/badge/TypeScript-007ACC?style=for-the-badge&logo=typescript&logoColor=white)
![Biome](https://img.shields.io/badge/biome-60a5fa?style=for-the-badge&logo=biome&logoColor=white)
![Docker](https://img.shields.io/badge/docker-%230db7ed.svg?style=for-the-badge&logo=docker&logoColor=white)
![Postgres](https://img.shields.io/badge/postgres-%23316192.svg?style=for-the-badge&logo=postgresql&logoColor=white)## Development setup 💻
> [!NOTE]
> Requirements: Docker, pnpm (v9.1.1)```sh
git clone https://github.com/Jayllyz/cinema-api.gitcd cinema-api
cp .env.example .env
docker compose up
pnpm prisma:init
```You can access the Swagger documentation at `/doc` and the Swagger UI at `/ui`.
## License 📄
Distributed under the MIT License. See `LICENSE` for more information.