Phantom is an application that allows simulating bus movements and enabling passengers to track their locations & movements.
To run this project, you’ll need to install node 5 and above. The latest version of Node.js is recommended. The dependencies of this project are managed with yarn (see installation guide here). However you can simply use the node package manager, npm for your dependency management.
- Clone this project to any folder on your local machine
git clone https://github.com/atlp-rwanda/phantom-be-dream-team
- Navigate into the folder name specified
cd phantom-be-dream-team
- For those who love NPM
npm install
npm run dev:start
Run npm run dev:start
to intialize and run the webpack development server. Navigate to http://localhost:3000/. The app will automatically reload if you change any of the source files.
To run the app in production build of the app, use either of the following.
npm start
npm run migrate
npm run seed
npm run dockercompose
docker run -it -e "POSTGRES_HOST_AUTH_METHOD=trust" -p 5432:5432 postgres