Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[$300] Drone Series - React Map configuration variables and deploy to heroku steps #2

Open
kbowerma opened this issue Nov 9, 2016 · 1 comment

Comments

@kbowerma
Copy link
Contributor

kbowerma commented Nov 9, 2016

We have a pretty decent start with out Drone Service Provider App and we are ready to make a bunch of small fixes and enhancements before we start to add some new features. In the forum you will find the github repo to our front end. You will be happy to know that it is pre-configure to connect to our working backend. All you have to do is.

git clone ....
npm install
npm start

If you need to see the server code for reference I will provide that in the forums too.

And you should be ready to go.

Our front end was created with facebook's create-react-app scaffold tool which brags about having no build configuration. Guess what? We need some build configuration? We need two things from you.

  1. We have some configuration items that are hardcoded like the google map api key in src/App.js as well as the api basepath and socket in src/config/index.js. We want these pulled out so we can run them from a .env file. This article might be useful to use the React-App namespace
  2. Step by step instruction on how to deploy this to Heroku this article might be useful to deploy this to Heroku.

That being said if you just want to wrap this whole thing in express or some other alternative I am open to that suggestion. I am fairly new to React and especially create-react-app so I would like to hear your opinion.

@kbowerma
Copy link
Contributor Author

kbowerma commented Nov 9, 2016

Challenge created successfully
Challenge Url: https://www.topcoder.com/challenge-details/30055664/?type=develop&noncache=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant