NLGRF / imdb-api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elysia with Bun runtime

Getting Started

To get started with this template, simply paste this command into your terminal:

bun create elysia imdb-api

Development

To start the development server run:

bun run dev

or

npm run dev

Planetscale

  • Database: movies
  • Shadow Database: shadow

Prisma

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

Swagger

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.

About


Languages

Language:JavaScript 80.9%Language:TypeScript 19.1%