This project aims to create a Nuxt.js application with Docker and Prisma installed. The application allows users to save people's names and emails.
- Save people's names and emails.
- View the list of saved people.
- Delete person
- Nuxt.js
- Docker
- Prisma
- Node
To run this project locally, follow these steps:
- Clone this repository.
- Install dependencies by running
npm install
. - Set up your database configuration in the
.env
file. - Run
docker compose up -d
to start all the images - Or run
docker compose start
to start
- Run the following commands to set up Prisma
docker exec -it backend npx prisma migrate dev --name init
- Build the Container
compose build -t <backend | db | frontend | image-name>
- Run one container
docker run <backend | db | frontend | image-name>
model Person {
id Int @id @default(autoincrement())
name String
email String
}