Skip to content

janjiraga/janjiraga-backend

Repository files navigation

Janjiraga API

Janjiraga REST API is a web service that provides access to Janjiraga.

Tech Stack

API Specification

Endpoint HTTP Description
/categories GET Get all categories
/categories POST Add new catetory
/categories DELETE Delete all categories
/categories/:id DELETE Delete one category by id
/categories/:id PUT Update one category by id

The OpenAPI Specification for the Janjiraga API offers a detailed description of the API's services. It can be accessed at the path /api-spec.

For a more interactive experience, you can use SwaggerUI. It provides a user-friendly interface for exploring and testing the API. You can access SwaggerUI at /ui.

You can also access the following:

Database Design

To view the latest database design in more detail, you can navigate to the following link: ERD

ERD

Getting Started

Set up .env by copying from .env.example for reference

cp .env.example .env

Install dependencies

bun install

Run DB migration

bun run migrate:dev

Then you can run

bun run dev

Afterwards, open your browser and navigate to http://localhost:3000 to start exploring the API.

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •