Initial project using ElysiaJs and Prisma with JWT functionalities included. Just clone or fork this repo and start your project now.
- Generate
accessToken
andrefreshToken
refreshToken
deleted whenlogout
and relogin
from the same client
- Install bun.
- Clone this repository.
- Run
bun i
to install the necessary packages. - Set environment variables by copy or rename file
.env.example
to.env
and adjust as needed - Run
bunx prisma generate
orbunx prisma db push
to initialize the database from the prisma schema file. - Run
bun run dev
to start the application.
Feel free to contribute and create Pull Request
or just
YthYayat |
---|
Inspired by elysia-jwt-example by msalihaltun