Skip to content

vunam/manage-game

Repository files navigation

Alt-Text

No DB specified so I opted for lowdb (flat-file) for set up simplicity (no docker stuff with mongo / postgres), but I have structured in a way where it can be easily replaced by any DB.

Run the app

  • yarn install
  • yarn db:init
  • yarn dev

Go to http://localhost:9000/ to see the app.

No global dependencies needed besides yarn and node (I'm on 8.9.4). Once set up you can use the admin account using admin/admin (no players) or sign yourself up as a team owner (20 generated players).

db.json will be created. If you edit this, restart the app manually.

yarn prettylint will run prettier and tslint.

Notes

  • I have opt for the owner to sell a player for any price. If a player is bought for that price, their value is updated.
  • I have split teams and users to not restrict the ability to switch teams, manage multiple teams etc.

Completed

  • account log in
  • sign up
  • generated team + players
  • transfer own player
  • buy a player
  • edit profile
  • manager/admin create teams
  • manager/admin edit teams
  • filters name, country, team
  • dashboard, messages
  • logout
  • REST api / accesstoken
  • admin create player
  • admin delete
  • admin edit
  • admin change roles

Bonus

  • refactoring
  • ui / ux
  • unit / e2e

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published