Skip to content
This repository has been archived by the owner on Jul 17, 2021. It is now read-only.
/ ng-ai-hack Public archive

Starter project for building hackathon projects with Angular and Azure Cognitive Services (Artificial Intelligence and Machine Learning products)

License

Notifications You must be signed in to change notification settings

clarkio/ng-ai-hack

Repository files navigation

ng-ai-hack

A starter project for building apps with Angular and Azure Cognitive Services (Artificial Intelligence and Machine Learning products). Built by Laurie Atkinson and Brian Clark

This project was generated with Angular CLI version 1.7.3.

Getting Started

Running Locally

  1. Open your favorite terminal/command prompt and run git clone [email protected]:clarkio/ng-ai-hack.git
  2. Register for the Azure Cognitive Services you plan to use
  3. Retrieve the API key provided for each service
  4. Update the environment.example.ts file by adding your key values in the apiKeys array
  5. Rename the environment.example.ts file to environment.ts
  6. Go back to your terminal/command prompt and change to the directory of where you cloned this project. Example cd ng-ai-hack
  7. Run npm i
  8. Run npm i -g @angular/cli
  9. Run ng serve
  10. Navigate to http://localhost:4200

Stackblitz

  1. Register for the Azure Cognitive Services you plan to use
  2. Retrieve the API key provided for each service
  3. Go to this Stackblitz
  4. Click the "Fork" button
  5. Update the environment.example.ts file by adding your key values in the apiKeys array
  6. Rename the environment.example.ts file to environment.ts

References

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

About

Starter project for building hackathon projects with Angular and Azure Cognitive Services (Artificial Intelligence and Machine Learning products)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published