Coder Social home page Coder Social logo

lpurgitoryl / commutercalc Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 270 KB

I started wondering how much each starbies run is costing me in terms of gas, so I created the "CommuterCalc". It'll tell you how much it costs to get from destination A to B!

Home Page: https://commutercalc.vercel.app

License: MIT License

HTML 10.79% CSS 18.49% JavaScript 70.71%

commutercalc's Introduction

LinkedIn


Logo

CommuterCalc

Current gas prices in my home state are really expensive. I started wondering how much each starbies run is costing me in terms of gas, so I created the "CommuterCalc".
Explore the docs »

View Demo

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contact
  4. Acknowledgments

About The Project

Product Name Screen Shot

CommuterCalc came about becuase I wanted to know how much my commute to school cost everyday. It uses Mapbox's API for forward geolocating and route maping. I also used the U.S. Department of Energy's Fuel Economy API to grab vehicle data points based on user selection.

(back to top)

Built With

React Mapbox Vite Vercel HTML CSS Prettier

(back to top)

Getting Started

There are two versions of this project. I started a vanilla HTML/CSS/JavaScript prototype located in the vanillaPrototype folder. All you need to do is use your own Mapbox API token. The live version with react is located in ccReact folder. The following instructions pertain to the react version.

Prerequisites

Make sure you have npm installed with

  • npm
    npm install npm@latest -g

Installation

  1. Get a free API Key at https://www.mapbox.com/
  2. Clone the repo
    git clone https://github.com/lpurgitoryl/commutercalc.git
  3. Install NPM packages
    npm install
  4. Move into the ccReact directory
    cd ccreact
  5. Enter your Mapbox API Token where it is required by searching for the keyword "token"
  6. Run development server with Vite
    npm run dev

(back to top)

Contact

Nicole Garcia - [email protected]

Project Link: https://commutercalc.vercel.app/

(back to top)

Acknowledgments

(back to top)

commutercalc's People

Contributors

lpurgitoryl avatar

Watchers

 avatar

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.