To get started with this template, simply paste this command into your terminal:
bun create elysia imdb-api
To start the development server run:
bun run dev
or
npm run dev
- Database:
movies
- Shadow Database:
shadow
To start the Prisma run:
bun add prisma
bunx prisma init --datasource-provider mysql
bunx prisma migrate dev --name init
bunx prisma db seed
bunx prisma generate --data-proxy
To start the Swagger run:
bun add @elysiajs/swagger
- htttp://localhost:3000/v1/swagger
Open http://localhost:3000/ with your browser to see the result.