This is a Next.js project bootstrapped with create-next-app.
First, run the development server:
npm install
# then
npm run dev
# or
yarn dev
# or
pnpm devvSetup environment variables
Create your file named .env in the root of your project and add the following content:
NEXT_PUBLIC_IMAGEKIT_PUBLIC_KEY=
IMAGEKIT_PRIVATE_KEY=
NEXT_PUBLIC_IMAGEKIT_URL_ENDPOINT=
NEXT_PUBLIC_API_ENDPOINT=
NEXT_PUBLIC_PROD_API_ENDPOINT=
DATABASE_URL=
UPSTASH_REDIS_URL=
UPSTASH_REDIS_TOKEN=
AUTH_SECRET=
# Required for workflow
QSTASH_URL=
QSTASH_TOKEN=
# RESEND_TOKEN=
RESEND_TOKEN=Open http://localhost:3000 with your browser to see the result.
Chapter one is a book management system that just allows you view books and borrow them its just an online simulation of a library...in which the libarian has access o the admin panel and can see who is borrowing books then you can get it phhysically from the library
- Create new book
To login to admin account use these details:
- email: [email protected]
- password: example123
- Sign and Login with your student information
- View all books on home page
- View book details page
- Borrow a book
- View your profile
- Next.js
- TypeScript
- PostgreSQL
- Upstash
- ImageKit
- Tailwind
- Resend