This project make part of my Next.js studies and was bootstrapped with create-next-app.
To run docker environment you can simply use:
docker-compose upadd -d to detach docker, if you prefer, I like to see logs 😉.
To access the environment you can use:
docker exec -it <container_name> /bin/shI'm using npm to run this project, but you don't need to run it for yourself, docker do this for you.
Open http://localhost:3000 with your browser to see the result.
This project uses next/font to automatically optimize and load Inter, a custom Google Font.
To apply prisma migrations in development environment:
npx prisma migrate devTo create new migrations type:
prisma migrate dev --name <migration name>There is a file on root called db-sample.sql. Here you have some sample data to fullfil the database.
To deal with the database you need run through the docker.
... coming soon ...