tiesen243 / next-elysia

Next.js + ElysiaJS template

Home Page:https://next-elysia.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

This is a Next.js and ElysiaJS project.

Tech Stack

  1. Next.js - React Framework.
  2. ElysiaJS - API Framework.
  3. Lucia - Authentication library.
  4. Prisma - Database ORM.
  5. Tailwind CSS - A utility-first CSS framework.

Getting Started

First, add the following to your .env file:

# .env.local
DATABASE_URL=""

Then, run the following commands to create the database and run the migrations:

# Elysia only runs on Bun
bun db:push
bun dev

Open http://localhost:3000 with your browser to see the result.

If you want to add more environment variables, you can add them to the .env.local file and remember to add it in env.mjs.

Learn More

To learn more about Next.js, take a look at the following resources:

About

Next.js + ElysiaJS template

https://next-elysia.vercel.app


Languages

Language:TypeScript 86.1%Language:JavaScript 8.5%Language:CSS 5.3%