Skip to content

tb0se/books-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Books Restful API

A simple Restful API built while learning Elysia and Bun.

Made using

  • Bun
  • Elysia
  • Typescript

Getting Started

To get a local copy up and running follow these simple steps.

  1. Ensure you have Bun installed
  2. Install the required dependencies
    bun install
  3. Create an .env file at the root of the project:
    PORT=8000
    JWT_SECRET='supersecret'

Development

To start the development server run:

bun dev

Open http://localhost:8000/ with your browser to see the result.

You can view the swagger documentation at http://localhost:8000/swagger.

Credits