Giter Club home page Giter Club logo

bugtracker's Introduction

NPM version Node version Express version React version Mongo version

After populating all enviroment variables, your resultant file will look something like this

# node application environment development,testing,staging,production
NODE_ENV=development

# mongodb database url
MONGODB_URI=mongodb://localhost:27017/tipoff
# mongodb database url to be used when running tests
MONGODB_URI_TEST=mongodb://localhost:27017/test-tipoff

# port number at which app will listen
# this is not required when deploying on heroku. the app will default to process.env.PORT for heroku
TIPOFF_API_PORT=5000

# secret key used to sign and validate auth token
JWT_SECRET_KEY=mysecretkey

#SendGrid API key to notify of new tips via email
NOTIFIER_API_KEY_SENDGRID=mysendgridapikey
#SendGrid From email to use when sending out email notifications
[email protected]

Start Server

npm start

Install and Run the UI to View Tips

  1. In a new terminal tab or window, go to the Tipoff directory
  2. drill down into react-app directory
cd react-app
  1. Install the react application dependencies
npm install

Find the following line in tipoff/react-app/package.json

"proxy":  "http://localhost:5000"

and change it to

"proxy":  "http://localhost:<your_new_api_port>"
  1. Start the react-app Within the react-app directory, run
npm start

You can now navigate to Tipoff UI at http://localhost:3000 or your own react-app port

bugtracker's People

Contributors

ajayp1717 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.