Skip to content

yaronp/mini-hacker-news

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Routes

  • POST /v0/post
  • GET /v0/post?id
  • PUT /v0/post?id
  • POST /v0/upvote?id
  • POST /v0/downvote?id
  • GET /v0/topstories

Running (stand alone)

Pre-requisites

pip install flask
pip install pymongo   

running mongodb server on port 27017, no security

Run

cd web
python app.py 

Docker Image Build

docker-compose build

Run the Docker Container

docker-compose up -d

Tasks

  • Flask routes - done
  • Git tags
  • Docker file - done
  • DAL - done
  • DB structure
  • Unit tests - done
  • Docker compose
  • Wilson score support for ranking
  • MongoDB support
  • User login

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages