Challenge Overview
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.
- 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
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.
Source: Github Issue #2
Final Submission Guidelines
- Once you have cloned the repo please create a new branch called createuser+yourhandle and when you submit the zip file please be sure to include the .git dir so it make it eaiser to merge.
Upload documentation for how to run your submission
Upload all your source code as a zip for review
Winner will be required to submit a pull request with their winning code.