mobilegpsserver's People
mobilegpsserver's Issues
[LOGGING] Add Sentry for error reporting
[DATABASE] GET /distance Get distance to home
This is a simple query that it will get the distance from the user's location to Home
https://docs.mongodb.com/manual/tutorial/calculate-distances-using-spherical-geometry-with-2d-geospatial-indexes/
@AxelAli has experience with this, in necessary, ask him
[DATABASE] POST /home Save user's location
Make sure #2 and #5 are done:
We should save the user's location
https://medium.com/@pablo_ezequiel/mongodb-and-geojson-data-ea064385feca
https://mongoosejs.com/docs/geojson.html
[DATABASE] Setup MongoDB Instance
[LOGGING] Investigate possible logging services
Datalog,Cloudwatch, etc
[NODE] Generate Routes in Express
READ: https://www.vinaysahni.com/best-practices-for-a-pragmatic-restful-api
Only do routes, not logic
Routes:
GET /home //Returns current user's home location
GET /distance //Returns the distance to user's home locaiton
POST /home //Updates/Creates user's home location
POST /user //Creates user
[DATABASE] GET /home logic, get user's home locaiton
[Typescript] Setup GeoJSON Types for node
[DATABASE] Create user's Table
[DATABASE] POST /user Creates User
[SECURITY] Investigate JWT Auth
https://www.digitalocean.com/community/tutorials/nodejs-jwt-expressjs
https://livecodestream.dev/post/2020-08-11-a-practical-guide-to-jwt-authentication-with-nodejs/
Please do a writeup of your findings, make sure it can explain what needs to be done to #6
[DATABASE] Setup Mongoose/Koa MongoDB connections on Node
Request @AxelAli for MongoDB instance.
[SECURITY] Setup Security middleware in Express
Start once: #2 is done
[DEVOPS] Setup EC2 Instance
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.