DevAppsForTeams/CustomerOrdersApp
Dan Wahlin 30a919d605 Add gitignore 2021-01-31 09:38:09 -07:00
..
api Initial code check in (#1) 2020-12-03 00:49:20 -07:00
cypress Initial code check in (#1) 2020-12-03 00:49:20 -07:00
data Initial code check in (#1) 2020-12-03 00:49:20 -07:00
e2e Initial code check in (#1) 2020-12-03 00:49:20 -07:00
src Update readme 2020-12-14 22:29:46 -07:00
views Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.browserslistrc Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.editorconfig Initial code check in (#1) 2020-12-03 00:49:20 -07:00
.env sample Update http/https functionality in server.js 2021-01-28 23:54:44 -07:00
.gitignore Move values into environment.ts and update readme 2020-12-14 11:04:55 -07:00
README.md Update app readme 2021-01-28 17:26:20 -07:00
angular-playground.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
angular.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
cypress.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
karma.conf.js Initial code check in (#1) 2020-12-03 00:49:20 -07:00
package-lock.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
package.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
protractor.conf.js Initial code check in (#1) 2020-12-03 00:49:20 -07:00
server.js Add gitignore 2021-01-31 09:38:09 -07:00
solvedIssues.md Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.app.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.base.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.playground.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tsconfig.spec.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00
tslint.json Initial code check in (#1) 2020-12-03 00:49:20 -07:00

README.md

Tailwind Traders M365

Running the Application

Clone the project or download and extract the .zip to get started.

  1. Copy .env sample to a file named .env. Update the file with the Azure Active Directory AppId and password/secret you created.

  2. Install the latest LTS version of Node.js.

    IMPORTANT: The server uses ES2015 features so you need a current version of Node.js.

  3. Open a terminal window and run the following commands to install dependencies, build the code, and start the server:

    npm install
    npm run build
    npm start
    
  4. Run ngrok http -subdomain=<your-subdomain> 8443 to launch ngrok (assumes ngrok basic or higher with custom subdomain support).

  5. Go to http://.ngrok.io:8443 in your browser.

Modifying the Code

  1. If you'd like to modify the code you'll need the build process to rebuild the code after any changes that you make. To do that you can run:

    npm install
    npm run build:watch
    
  2. Open another command window and run:

    npm start
    
  3. Run ngrok http -subdomain=<your-subdomain> 8443 to launch ngrok (assumes ngrok basic or higher with custom subdomain support).

  4. Go to http://.ngrok.io:8443 in your browser.

Note: The npm run build:watch command will rebuild your code when a file changes but you'll need to refresh your browser to see the changes.