/cyf-feed-back

https://github.com/diya2214/cyf-feed-back

Primary LanguageJavaScript

CYF Mentor Feedback

Deploy to Heroku

  • Full stack ES8+ with Babel
  • Express server
  • React client with Webpack
  • Linting with ESLint
  • Dev mode (watch modes for client and server, proxy to avoid CORS issues)
  • Production build (single deployment artifact, React loaded via CDN)
  • Heroku deployment

Scripts

Various scripts are provided in the package file, but many are helpers for other scripts; here are the ones you'll commonly use:

  • npm run dev: starts the frontend and backend in dev mode, with file watching and hot reloading.
  • npm run lint: runs ESLint against all the JavaScript in the project.
  • npm run serve: builds and starts the app in production mode.

When either dev or serve is running you can view your app at http://localhost:3000. There is a slight difference in what's happening in the background, but you don't need to worry about that.