/nextjs-prisma

Next.js & Prisma ORM: Simple task manager app with a clean interface for creating, updating, and deleting tasks! 📋🚀

Primary LanguageTypeScriptMIT LicenseMIT

Next.js and Prisma ORM

This is a simple task manager application built using Next.js and Prisma ORM. The app allows users to create, update, and delete task items, providing a straightforward interface for task management.

Table of Contents

Features

  • Add new task
  • Mark task as completed
  • Edit existing task
  • Delete task

Tech Stack

  • Framework: Next.js
  • ORM: Prisma
  • Database: SQLite (default) or any other supported database

Installation

  1. Clone the repository

    git clone https://github.com/pyyupsk/nextjs-prisma.git
    cd nextjs-prisma
  2. Install dependencies

    npm install
  3. Set up the database

    Create a .env file in the root directory and add your database URL. For example, you can use the following:

    DATABASE_URL=YOUR_DATABASE_URL
  4. Migrate the database

    npx prisma migrate dev --name init
  5. Generate the Prisma Client

    npx prisma generate
  6. Start the development server

    npm run dev

    The app will be available at http://localhost:3000.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Happy coding! If you have any questions or feedback, feel free to open an issue or reach out.


Contact


Acknowledgements