Next.js app based on trpc/examples-next-prisma-starter used during the Miga hiring process.
- Install Docker: https://www.docker.com/products/docker-desktop/
- Install Node.js: https://nodejs.org/
- Enable
corepack
by runningcorepack enable
- Enable
yarn install
yarn start
Note Change the default
DB_PORT
andAPP_PORT
in.env
if the defaults are already in use
Then browse to http://localhost:4000. (or the port set in APP_PORT
)
yarn test
- Edit
prisma/schema.prisma
- Run
migrate:dev