Skip to content

caleblogan/gps-logger

Repository files navigation

Gps Logger

Small web app using react and django-rest-framework. Records coordinates using browsers geolocation service. Saves locations in memory if not logged in. demo: https://geologger-client.herokuapp.com/

Server Setup

  • clone repo
  • create virtual env
  • pip install
  • cd server
  • python manage.py migrate
  • python manage.py runserver

Env

  • DJANGO_SECRET_KEY (set this for prod)
  • PROD (will turn debug off if set to any value)

Testing (server)

  • run python manage.py test

Client Setup

  • clone repo
  • cd in project directory
  • run yarn or npm install
  • run yarn start or npm start

Env

These must be set in webpack.prod file for the prod build process. Uses DefinePlugin.

Testing (client)

  • Uses jest and enzyme.
  • Run npm run test to run tests.
  • Tests are either with their component or in top level tests directory

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published