A dispatching app made by Vincent Moeykens.
- React
- ES6
- React Router
- Firebase
- Google Cloud Platform
- reactstrap (React Boostrap Wrapper)
- react-map-gl (Uber Mapbox.js Wrapper)
- Docker Compose
- Create a project on Google Cloud Platform, and enable the Google Realtime Database. Find your credentials (we will use these in a bit)
- Acquire a Mapbox developer token
git clone https://github.com/vincemoe/asset-dispatch.git
cd asset-dispatch
touch .env
- Copy the following into
.env
:REACT_APP_MAP_TOKEN="MY MAPBOX TOKEN" REACT_APP_apiKey="MY FIREBASE API KEY" REACT_APP_authDomain="MY FIREBASE AUTH DOMAIN" REACT_APP_databseURL="MY FIREBASE DATABASE URL" REACT_APP_projectId="MY FIREBASE PROJECT ID" REACT_APP_storageBucket="MY FIREBASE STORAGE BUCKET" REACT_APP_messagingSenderId="MY FIREBASE MESSAGING SENDER"
- Obviously you must replace the values in quotes with your correct api creds
- Run
docker-compose up -d --build
ornpm install
thennpm run start
- Visit
localhost:3000
in your browser