ojaskavathe / nextpage

A lean and fast Library Management System built using Next.js

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

NextPage is a Library Management System built using Next.js, designed to efficiently manage and automate the various processes and tasks associated with library operations.

Data is stored in a Postgres Database (through Prisma) running in a Docker container. Note that the .env file holds the database URL.

Auth is done using NextAuth (v5), validation using zod.

Setup

First, run the database server:

docker compose up -d

This installs the PostgreSQL Image and spins up a container with a volume.

Next, set up the database by running migrations, and start the development server:

pnpm exec prisma migrate dev
pnpm dev

This will also seed the database with random values using Faker.js, and starts a server listening at http://localhost:3000.

Login using:

id:         server
password:   password

About

A lean and fast Library Management System built using Next.js


Languages

Language:TypeScript 98.9%Language:JavaScript 0.7%Language:CSS 0.4%