opolyo01 / image-votes

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Starting a Service

(base) opolyakov@Olegs-MacBook-Pro-2 image-votes % cd service
(base) opolyakov@Olegs-MacBook-Pro-2 service % docker-compose up

You can access Swagger page http://localhost:5000/swagger/#/default/get_images

Starting a Client

docker build -t my-react-app .
docker run -p 8080:80 my-react-app

Client is running on: http://localhost:8080

Architecture

React App -> Node Service -> Mongo DB

To Do Items

  • Any user can upload images through Admin (not implemented auth yet)
  • Any user can vote on images ( no debounce, or limiting on number of votes yet)
  • Amazon S3 needs to be storing static images, but currently on the service uploads folder

About


Languages

Language:TypeScript 46.3%Language:JavaScript 24.5%Language:CSS 14.1%Language:HTML 8.5%Language:Dockerfile 6.6%