This is a Next.js (16.3.0) project using Prisma (7.9.1) and SQLite as the Database. It's Tailwinded and uses no Typescript.
Use test@site.com as username and test as password for a preview.
There are APIs available at /api/posts and /api/posts/[id] and the pages /register, /login and /dashboard. Change or delete the default app/page.js to build your blog or news site.
Make sure you have an .env file with the following:
DATABASE_URL="file:./dev.db"
AUTH_SECRET=a_32_chars_long_string
Run npx auth secret to generate a new secret.
You can query the dev.db file and perform other operations directly with the sqlite3 command line tool. Run npx prisma generate when doing changes in the database. Better yet, run this line after npm i.
First, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.