- Clone repo.
- Run
npm install
from the root. This installs the dependencies for the server. cd client
, thennpm install
, which installs dependencies for the react front end.- You will need to run two servers, so will need 2 terminal tabs. In the root
directory, run
PORT=3001 node bin/www
- In a new terminal tab,
cd client
and runnpm start
to start the react app.
- You should only need to work inside the
/client
folder to start. The entry point isclient/src/App.js
. Build further in the components directory. - The mapbox package repo and demo info is at react-mapbox-gl