Skip to content

kot91ivan/todos

Repository files navigation

This is a todo list use server action and Prisma for actions with DB.

Ready version you can watch on this site

Make sure you have the following installed:

  • Node.js (+18 or upper)
  • Docker (if you want use it)

Local development without Docker

First, run the development server:

Install packages:

npm  i
# or
yarn

Run dev server:

npm  run  dev
# or
yarn  dev

Open localhost with your browser to see the result.

If You want check created items for Todo list in DB, enter this cmd:

npx  prisma  studio

Docker

  1. Copy .env.example to .env and specify the settings.

I got key for DATABASE_URL on Prisma.io

  1. For start Docker docker-compose up --build
  2. After successful start, you can access:
  • Next.js App with Todo list (http://localhost:3000)
  • Prisma Studio (http://localhost:5555)

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors