8000 GitHub - ChrisRu/trains-frontend: 🚅 Frontend for a train project to show which part of the train is most crowded
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

🚅 Frontend for a train project to show which part of the train is most crowded

Notifications You must be signed in to change notification settings

ChrisRu/trains-frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Train Crowdedness Visualizer

Visualize the crowd in a train, so people can enter and leave more quickly.

CLI Commands

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# test the production build locally
npm run serve

For detailed explanation on how things work, checkout the CLI Readme.

API

url: http://trainemulator.azurewebsites.net/ endpoints:

GET / Get all trains

GET /{id} Get train by id

POST /random { "enabled": "true" | "false" } Toggle the randomize interval on or off

POST /{id}/edit { "destination": "string", "startingPoint": "string" } Edit train details

POST /{id}/{compartment}/edit { "peopleCount": "number" } Edit compartment detail

About

🚅 Frontend for a train project to show which part of the train is most crowded

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  
0