GithubHelp home page GithubHelp logo

rosexw / cohort3-final-project-a11ycat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bridge-school/cohort3-final-project-a11ycat

0.0 1.0 0.0 475 KB

Home Page: https://shielded-temple-62623.herokuapp.com/

License: Other

HTML 2.43% CSS 0.92% JavaScript 96.65%

cohort3-final-project-a11ycat's Introduction

a11ycat

The user can log whether a location has various accessibility features, and then see other locations that have also been rated.

Getting Started

After cloning this repository, a simple call to npm i or yarn will install many of the packages locally that you will need.

Next, a call to either npm run dev or yarn dev will get you started and run the express server and a separate server hosting the react app simultaneously and in development mode. By default, the express server will be accessible at http://localhost:3001 and the separate server hosting the react app will be accessible at http://localhost:3000.

See Deployment for notes on how to deploy the project on Heroku.

Prerequisites and Installation

  1. First and foremost, you will need to have Node.js and npm downloaded and installed a. If you check the package.json file you'll notice that your major version of Node.js should be 8 and your major version of npm should be 5 (this is so you will have access to npx) b. [Optional] If you find yourself switching between node versions often for various projects or repositories, consider using nvm
  2. Once you have Node and npm installed at the right versions, run
    npm i -g nodemon
    
    to install nodemon, which will be used for development.
  3. You will also need a .env file in the root directory of inside where you cloned this repository. See Environment Variables for what environment variables you will need and what they will refer to.
  4. For deployment considerations, you will also need to have the Heroku CLI installed

End with an example of getting some data out of the system or using it for a little demo

Environment Variables

You won't need to worry about manually setting environment variables. Instead, this project is meant to use a .env file

With descriptions instead of values, this is what your .env should look like (noting that currently the database is assumed to be a MongoDB instance):

DB_NAME=<database name>
DB_PORT=<database port>
DB_HOST=<database host>
DB_USER=<database username, for authentication>
DB_PASS=<database password, for authentication>

LOG_LEVEL=info # the server will use this log level to ignore anything not important enough to appear in the console

REACT_APP_API_HOST=http://localhost # the client will use this host to contact the server
REACT_APP_API_PORT=3001 # the client will use this port to contact the server
REACT_APP_GOOGLE_MAPS_API_KEY=<KEY HERE>

Built With

License

This project is licensed under a Creative Commons Attribution 4.0 International License.

Acknowledgments

cohort3-final-project-a11ycat's People

Contributors

martakule avatar zoeyyandi avatar katiavasilyeva avatar tahuana avatar g2graman avatar rosexw avatar katiedavis avatar

Watchers

James Cloos 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.