Giter VIP home page Giter VIP logo

geotimeline-backend's Introduction

geotimeline-backend

geotimeline-backend's People

Contributors

heldersepu avatar

Watchers

 avatar  avatar

geotimeline-backend's Issues

Enrich footprint data with nearest city/state/country

Right now footprint data has only lat/lon whereas it would be useful for DataView if it had enriched that with city/state/country as users won't be able to decipher where a lat/lon represents by looking at it in table view. This could be done through geocoding or some other method and could be done on initial save_timeline API or done through scheduled enrichment e.g. using a Cloudwatch event that checked for any new entries in DB since last check and enriched them based on their lat/lon using geocoding.

Add query by date range to getting footprints

Right now get_footprints returns all footprints in the DB. Add the ability to query the DB for a specific date range of footprints, use SQL query either:

SELECT * FROM footprints WHERE date >= '2020-04-01' AND date <= '2020-04-03';

or

SELECT * FROM footprints WHERE date BETWEEN >= '2020-04-01' AND '2020-04-03';

both should work, pick one.

Create register lambda

Should take in a username and password send from client through API, and add new user + account/membershp to the DB, generate a json web token and send it back to the client. If email already exists in DB then disallow the new register -> signing up multiple account memberships should be through a different route.

Create login lambda

Takes in email and password, hashes the password, retrieves the password and other details from the DB, compares the two password hashes and if they match, sends back a json web token to the client, and if they don't (if either email not exist in DB or password not match, sends back error to client).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.