Skip to content

Latest commit

 

History

History
23 lines (20 loc) · 943 Bytes

README.md

File metadata and controls

23 lines (20 loc) · 943 Bytes

Backend Component for Feed microservice

It is the microservice which is consumed by the Frontend component

Tech stack:

  • Nodejs
  • TypeScript
  • Docker
  • Postgress
  • AWS S3
  • JWT

How to setup and run:

  • Download necessary dependencies for the component: Run-> npm install
  • Now, Our dependencies are available. It time to run the app and checkout in browser: Run-> npm run dev
  • Now, Open browser and type: localhost:8080/api/v0/feed
  • Now, you are getting feed response from backed AWS Prostgress service and Photos from AWS S3.

How to deploy to DockerHub

  • Once, you're sure component is working fine locally, you can push it to hub
  • Login with docker locally by providing username and password: Run -> docker login
  • Build Image: Run -> docker build -t <repository>/<Image Name>:<Tag>
  • Push to Hub: Run-> docker push <repository>/<Image name>:<tag>
  • Congrats, you have successfully published you image to hub.