Skip to content

Document management system built with Next.js, Planetscale, Drizzle ORM and TailwindCSS

Notifications You must be signed in to change notification settings

unext1/next-document-v2

Repository files navigation

Next.js Planetscale Drizzle ORM Document Management (Group Work)

This is a simple document management system built with Next.js, Planetscale, the Drizzle ORM and TailwindCSS. This Projects allows you to have control over documents and they are editable with WYSIWYG editor, which allows more indebt editing.

Prerequisites

Before you begin, make sure you have the following environment variables set in your .env.local file:

  • DATABASE_HOST: The Planetscale database host (e.g., 'aws.connect.psdb.cloud').
  • DATABASE_USERNAME: Your Planetscale database username.
  • DATABASE_PASSWORD: Your Planetscale database password.
  • DATABASE_URL: Your Planetscale database URL.
  • NEXTAUTH_URL: Your Next Auth Url.
  • NEXTAUTH_SECRET: Secret key for NextAuth

Make sure to replace the values with your actual Planetscale database information.

Getting Started

To get started with this project, follow these steps:

  1. Clone the repository to your local machine:
git clone https://github.com/unext1/next-document-v2
  1. Change into the project directory:
cd next-document-v2
  1. Install the project dependencies:
npm install
  1. Start the development server:
npm run dev

Access the application in your browser at http://localhost:3000.

Usage

This project provides basic document management functionality (CRUD). You can create, read, update, and delete documents using my UI. The main components include:

  • List of documents
  • Document page detailed
  • Create new document
  • Edit existing document
  • Delete document
  • Filtering Documents
  • Login system
  • Admin functionality (adding user)

About

Document management system built with Next.js, Planetscale, Drizzle ORM and TailwindCSS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages