This project is a CRUD using React, Node, Prisma, and SQLite.
To create a contact, just click on "Add contact" button.
To view, it's just go to the main page.
To update a contact, doble click in it's card.
To delete, just click the trash button.
This project are divided in two parts, the front and the api, so you need to install both separate.
cd into phone-book-api directory
cd phone-book-api
Create the .env file like the env.template
cp .env.template .env
download the dependencies
npm i -D
create the database
npx prisma migrate dev
Run the api
npm run dev
From root directory, cd into client
cd phone-book-front
Install the dependencies
npm i -D
Run the project
npm run start