A front-end framework template for starting projects with a recent version of either the Rails API Template or the Express API Template.
- [Download]from https://github.com/ethanstrominger/event-finder-ultimate.
- Unzip and rename the template directory (
unzip ~/Downloads/react-auth-template-master.zip). - Move into the new project and
git init. - Replace the
"homepage"field inpackage.jsonwith your (public) Github account name and repository name. - Install dependencies with
npm install. git addandgit commityour changes.- Run the development server with
npm start.
Before deploying, you first need to make sure the homepage key in your
package.json is pointing to the correct value. It should be the url of your
deployed application.
To deploy you should first make sure you are on the master branch with a
clean working directory, then you can run npm run deploy and wait to see if
it runs successfully.
Just like in
browser-template,
this file will determine whether you're in a production or development
environment and choose an API URL accordingly. Don't forget to replace the
production URL with your deployed API's URL.
Developers should run these often!
npm run nag: runs code quality analysis tools on your code and complains.npm run make-standard: reformats all your code in the JavaScript Standard Style.npm run start: generates bundles, watches, and livereloads.npm run build: place bundled styles and scripts whereindex.htmlcan find themnpm run deploy: builds and deploys master branch
- All content is licensed under a CCBYNCSA 4.0 license.
- All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.