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.
- Open your favorite terminal/command prompt and run
git clone [email protected]:clarkio/ng-ai-hack.git
- Register for the Azure Cognitive Services you plan to use
- Retrieve the API key provided for each service
- Update the
environment.example.ts
file by adding your key values in theapiKeys
array - Rename the
environment.example.ts
file toenvironment.ts
- Go back to your terminal/command prompt and change to the directory of where you cloned this project. Example
cd ng-ai-hack
- Run
npm i
- Run
npm i -g @angular/cli
- Run
ng serve
- Navigate to http://localhost:4200
- Register for the Azure Cognitive Services you plan to use
- Retrieve the API key provided for each service
- Go to this Stackblitz
- Click the "Fork" button
- Update the
environment.example.ts
file by adding your key values in theapiKeys
array - Rename the
environment.example.ts
file toenvironment.ts
- Azure Cognitive Services Documentation
- Emotion Demo on Stackblitz
- This Repo :)
- Vision Services
- Speech Services
- Language Services
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.
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
.
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.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.