This project core is powered by React
MobX
and Express
.
Web view is implemented with Material UI
.
MongoDB
git clone https://github.com/mexeniz/find-bundit
cd find-bundit
npm install
edit your own account and database url in config.js
sudo mongod
npm start
then insert that account by call
curl localhost:3000/api/setup
you can login at http://localhost:3000/login
and push location at http://localhost:3000/locator
POST /api/setup
arguments
return {success: true}
GET /api/myLocation
arguments
return {lat,lng}
POST /api/authenticate
arguments
string
string
return token:
POST /api/setLocation
arguments
string
string
string
return status:"OK" if token is valid.
Client must access via https
due to a constraint of Geolocation API