Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/budiigunawan/jogjalan
Jogjalan API for listing various tourism destinations, todos, and restaurants in Yogyakarta
https://github.com/budiigunawan/jogjalan
bun example honojs postgresql prisma-orm rest-api
Last synced: 12 days ago
JSON representation
Jogjalan API for listing various tourism destinations, todos, and restaurants in Yogyakarta
- Host: GitHub
- URL: https://github.com/budiigunawan/jogjalan
- Owner: budiigunawan
- Created: 2024-06-10T13:34:48.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-07-04T09:52:37.000Z (6 months ago)
- Last Synced: 2024-11-06T03:27:57.130Z (2 months ago)
- Topics: bun, example, honojs, postgresql, prisma-orm, rest-api
- Language: TypeScript
- Homepage: https://jogjalan.budigunawan.com/
- Size: 1.02 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Jogjalan
Jogjalan API for listing various tourism destinatios, restaurants, and todos in Yogyakarta.
## Tech Stacks
- [Bun](https://bun.sh/)
- [Hono](https://hono.dev/)
- [Typescript](https://www.typescriptlang.org/)
- [Prisma](https://www.prisma.io/)
- [Zod](https://hono.dev/examples/zod-openapi)
- [SwaggerUI](https://hono.dev/examples/swagger-ui)## REST API Specification
- Production:
- Local:| Endpoint | HTTP | Description |
| ------------- | -------- | ---------------------- |
| `/places` | `GET` | Get all places |
| `/places/:id` | `GET` | Get one place by id |
| `/places` | `POST` | Add new place |
| `/places` | `DELETE` | Delete all places |
| `/places/:id` | `DELETE` | Delete one place by id |
| `/places/:id` | `PUT` | Update one place by id |- Read more:
## Database Design/Schema/ERD
![ERD](./assets/jogjalan-erd.svg)
## Getting Started
To install dependencies:
```sh
bun install
```To run:
```sh
bun run dev# OR
bun dev
```Open