A carpool matcher app that connects employees based on their office hours. Check out the spatial
branch for a more advanced solution. The spatial
branch creates a route from the user's home to their office. The user can then spatially filter the results table by creating a buffer around their route and finding colleagues that intersect the buffer. The spatial
branch uses ArcGIS Online as the backend api.
To get started, you will need to set up an application with ArcGIS for Developers in order to implement the authentication. Alternatively, you can choose to use a different Passport Stragegy and make some changes to api/index.js
file.
Next, if you don't have one, create an account at mongoDB Atlas. Once you set up your account, you will need to create a file in the api directory of this application called '.env'. In the file, add:
DB_ROUTE=<CONNECTION STRING PROVIDED BY ATLAS>
SESSION_SECRET=<RANDOM STRING>
ARCGIS_CLIENT_ID=<CLIENT FROM AN ARCGIS APP>
ARCGIS_CLIENT_SECRET=<CLIENT_SECRET FROM AN ARCGIS APP>
PORT=3001
To run the web app you must have Node installed. With Node installed, navigate to the client folder of the app and type:
npm install
npm run build
Then navigate to the api folder and type:
npm install
nodemon index.js
The app should start at http://localhost:3001
To do list