wanted-angular is my demo project which uses public API fbi.gov/wanted
- Angular
- Angular CLI
- Angular Material
- RxJs
- Typescript
- Firebase
You have to create a file with the API URL and your firebase key
// src/environments/environment.ts
export const environment = {
production: false,
firebase: {
apiKey: 'your key',
authDomain: 'your data',
projectId: 'your data',
storageBucket: 'your data',
messagingSenderId: 'your data',
appId: 'your data',
measurementId: 'your data',
},
apiUrl: 'https://api.fbi.gov/wanted/v1/list',
};Run npm start for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.
git pull git@github.com:farnsworth3010/wanted-angular.git
cd ./wanted/angular
(You need to create the file with the firebase key first!)
# docker-compose up -d
Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.
Run npm run build to build the project. The build artifacts will be stored in the dist/ directory. Use the -prod flag for a production build.
Run npm run build:prod to build the project minified for production with AOT.
To get more help on the Angular CLI use ng help or go check out the Angular CLI README.
