Skip to content

ayoung6/ReactDistanceCalculator

Repository files navigation

Instalation

Requires NPM

npm i --save --force --loglevel=error . is the recommended way to install npm packages, this will take a minute or so

The backend is powered by JSON-server and can be ran by using npm run api Then the web application can be ran with npm run start

You will need to add your Google api key to the src/APP.js file in the indicated variable, be sure to enable Distance Matrix API, Maps JavaSript API, and Places API

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3030 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm api

Runs the mock json-server to store persistance

https://www.npmjs.com/package/json-server

Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

JSON-server Get a full fake REST API with zero coding in less than 30 seconds (seriously)

Created with <3 for front-end developers who need a quick back-end for prototyping and mocking.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published