Skip to content

Latest commit

 

History

History
63 lines (46 loc) · 1.42 KB

README.md

File metadata and controls

63 lines (46 loc) · 1.42 KB

Welcome to ibx-javascript-development-starter 👋

Version License: MIT

JavaScript Development Environment

Install

npm install

Usage

npm start

Runs the web app in the development mode. Src is bundled and served from memory. Open http://localhost:8080 to view it in the browser.

npm run build

Builds the web app for production to the dist folder. Build is minified and file names are hashed. Distrubution folder is served. Open http://localhost:8080 to view it in the browser.

npm run deploy
  • First Update the url on line 24 of package.json
  • Example: 24: "deploy": "surge ./dist/ ibx-victor-app.surge.sh"
  • Signup with command line promps if no account.
  • Build is deployed to the server.

Run tests

npm run test

Cross Browser Development

npm start
npm run browser-sync-proxy-server

Heroku

  • The Api GET endpoint is hosted on heroku, but only in the build process.
  • Update src/api/baseURL.js line 4 if you need to host your api somewhere else.

This README was generated with ❤️ by readme-md-generator