This is a classic to-do app. The user will be able to create, read, update and delete tasks in a minimalist but elegant interface.
- HTML
- TailwindCSS
- JavaScript
- Next.js
- Prisma
- PostreSQL
- Vercel
First of all you must clone the repository:
git clone https://github.com/jezbravo/nextjs-prisma-crud.git
cd nextjs-prisma-crud
Then install the dependencies:
npm install
In order for the program to work correctly, it is necessary to configure the following environment variables in an .env file at the root of the project:
POSTGRES_PRISMA_URL=
POSTGRES_URL_NON_POOLING=
Both keys are obtained in the storage configuration provided by Vercel.
Once everything is ready:
npm run dev
The interface tries to be as intuitive and friendly as possible. The page displays a grid with created tasks. Each task can be selected to be updated or deleted. There is also a navigation bar that makes it possible to go to the home page, create a new task, or view the typical "about us" information.
You can test a deployed version at the following link: https://nextjs-prisma-crud-smoky.vercel.app