Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TOMO Station Train Tracker

Introduction:

Train tracker allows users to:

  • Post schedule for a new train line with constraints:
    • Name up to 4 characters (i.e. ‘LINH’, 'No1')
    • Specific to the minute the train arrive (i.e. ‘9:53 PM’)
  • Find the next time has mutiple trains arrive at the same time:
    • Specific time if current day still has remain time
    • Specific time of the first time available the next day if current day doesn't has remain time
    • No time if there are not time availble
  • Delete an unwanted train line schedule

Demo

Getting started

  1. Fork and clone this repo.
  2. Run npm install.
  3. Create train-tracker and train-tracker-test databases on PostgreSQL database.
  4. Check out the starting seed file in seed.js - you can run it by executing npm run seed
  5. Start the build process and your application with: npm run start-dev. If you're using Windows, you may need to execute npm run start-server and npm run build-watch separately (in their own terminal tabs).
  6. If you navigate to localhost:8080/trains, you should see some UI already :)

Tech Stack

  • React
  • Redux
  • Node.js
  • Express
  • Sequelize
  • PostgreSQL

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages