This is a hometask for a simple phonebook CRUD
- NextJs
- Typescript
- MaterialUI
- Graphql
- Apollo
- Prisma
- Postgresql
- Docker
- Install NPM packages
npm install
- Setup server (-d: so cli does not get blocked)
docker compose up -d
- Setup DB table via prisma
npx prisma migrate dev
- Run on localhost
npm run dev
I used Prisma because it is easier to work with in teams, and it creates a schema file from my Graphql files, and uploads them as tables to my Database.
I used PostgreSQL because i am used to MySQL Databases, but PostgreSQL is more effecient and advanced.