Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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