Skip to content

devAlexSilva/blog-docker-ts

Repository files navigation

API BLOG

make a API to practice development with TypeScript and Docker

Stacks

  • nodeJs
  • TypeScript
  • Docker
  • postgresql with prisma (ORM)
  • express

TO USE

  • 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 up

if you need to change something in the project then run the command after saving changes

  docker-compose build
  docker-compose up

You can get the container ID using the following command

  docker ps

when the containers are active, run

  docker exec id_of_container npx prisma db push

now you can access API routes in your http://localhost:2727

About

studying Docker and TS applying in API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published