Skip to content

steelytoe/walk2win

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 

Repository files navigation

walk2win

Milestones

  • Create initial project files
  • Add html template to the client folder
  • Create mongo models (Team, Player, SyncRecord)
  • Create required controllers
  • Add method to accept date + steps and update accordingly
  • Google Auth and extract daily steps
  • API integration testing
  • Implement frontend according to the design
  • Create Dockerfile
  • Deploy into a AWS vm
  • User testing

REST API

  • GET /api/v1/leaderboard/topteams
  • GET /api/v1/leaderboard/topteams/{teamId}
  • GET /api/v1/leaderboard/topplayers
  • GET /api/v1/leaderboard/topmaleplayers
  • GET /api/v1/leaderboard/topfemaleplayers
  • POST /api/v1/sync
{
    "steps": "12002",
    "syncDate": "2019-07-25",
    "playerGmail": "[email protected]"
}

Developer Setup

Fork and clone https://github.com/99xt-incubator/walk2win.git

Install dependencies

$ cd client
$ npm i
$ cd ../server
$ npm i

Install mongodb and then import sample data

$ cd server
$ npm run initdb

Start the REST API

$ cd server
$ npm run dev

Start the Angular app

$ cd client
$ ng serve --open

Submit a pull request with the new feature

Deployment guidelines

... TODO: Fill this after Dockerfiles

About

Walking game for workplaces

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 57.4%
  • JavaScript 32.3%
  • CSS 10.0%
  • Other 0.3%