git clone https://github.com/ideanb/for-the-watch.git
cd for-the-watch
docker build -t mydb .
docker run -p 5432:5432 -d mydb
npm i
- create a
.env
file (You can just use .env.example and rename it, I know I should not upload real .env to the repo but it's just to make easier for you this revision.) npm start
http://localhost:5000
/topActiveUsers?page={pageNumber)
/users?id={userId}
https://github.com/Jobbatical/task-top-active-users-api/blob/master/spec.md