This repository is a oversimplified todo list API done in Elysia.
- Clone this repository
- Use
bun installto install dependencies. - Setup Postgres database using provided Docker Compose file or other methods
- Set
DATABASE_URLin.envfile to match your Postgres setup. See.env.examplefor an example. - Use
bunx drizzle-kit migrateto migrate the database. - Run your Postgres instance.
- Run the application using
bun run dev
The application will run on http://localhost:3000.
This is an oversimplified application so there is no authentication or slightly complex logic.
You can view swagger using http://localhost:3000/swagger