Giter Site home page Giter Site logo

bikemap-client's Introduction

bikeMap

A bike route mapping app

Features:

  • Creates routes based on user movement
  • Displays the availible routes near the user's location
  • Allows users to follow routes created by other users
  • Stores sessions from using routes and displays statistics about the user
  • Gives the user ability favorite routes and use them again
  • Uses Facebook for it's authentication, enabling users to use an existing account

Live example

expo:

Database

alt text

Tech Stack

alt text

Installation

This project uses PostgreSQL for it's database so you will need to host one prior to installing.

Getting the Servers Started

The quickest way to get the server up and running is to use Docker-Compose. There is an example docker-compose.yml in the docs folder. You will need to fill in the environmental variables with your own project's information. Run docker-compose pull from the directory with your docker-compose.yml, then docker-compose up -d to start the server, and you should be good to go.

If you need to make modifications to the servers and want to keep using Docker, you will need to fork the repos and add them to your own docker hub account.

Hosting Without Docker

To run the app without docker, you will need to clone and start each of these repositories with the environmental variables listed. Once cloned with the environmental variables in place, each respective server's modules can be installed with npm install and started with npm start.

Server Environmental Variables

Proxy Server

Database Server

  • PORT="YOUR PORT HERE"
  • DB_HOST="DATABASE URL"
  • DB_PORT="DATABASE PORT"
  • DB_USER="DATABASE USER"
  • DB_PASS="DATABASE PASSWORD"
  • DB_DATABASE="DATABASE NAME"
  • SECRET="YOUR SUPER SECURE SECRET:
  • AUDIENCE=cyclists
  • ISSUER="UP TO YOU"

Authentication Server

  • PORT="YOUR PORT HERE"
  • FB_SECRET="FACEBOOK SECRET"
  • FB_APP_ID="YOUR APP ID"

Developed By

bikemap-client's People

Contributors

patrickbrownjr avatar robertaird avatar zacharygagnier avatar

Watchers

 avatar

bikemap-client's Issues

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.