make a API to practice development with TypeScript and Docker
- nodeJs
- TypeScript
- Docker
- postgresql with prisma (ORM)
- express
- is important that you have Docker installed on your machine
- clone the repository then in the folder run the command in your code editor
docker-compose upif you need to change something in the project then run the command after saving changes
docker-compose build
docker-compose upYou can get the container ID using the following command
docker pswhen the containers are active, run
docker exec id_of_container npx prisma db pushnow you can access API routes in your http://localhost:2727