Skip to content

Repository files navigation

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.

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev

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

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

About

A small CMS in Next.js (Tailwind) using Prisma and SQLite as Database.

Topics

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages