📚 Swagger
This is an app blueprint for a REST API with Elysia including the following features:
- OpenAPI documentation
- Bearer auth
- Security headers
- Error handling
- To use the auth feature you need to create a Clerk account and get your secret and jwt key.
- Copy the
.env.example
file and rename it to.env
, then adapt the values where required.
# start development server
turbo dev --filter=with-elysia
# format files
turbo format --filter=with-elysia
# check format and lint
turbo check --filter=with-elysia
# check types
turbo typecheck --filter=with-elysia
- TypeScript as language
- Bun as runtime
- Elysia as web framework
- Clerk for user auth