Skip to content

farnsworth3010/wanted-angular

Repository files navigation

🚓 wanted-angular

wanted-angular is my demo project which uses public API fbi.gov/wanted

Angular

🔧 Tech Stack

  • Angular
  • Angular CLI
  • Angular Material
  • RxJs
  • Typescript
  • Firebase

Prerequisites

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',
};

👾 Development server

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.

🐳 Running in Docker

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

🤖 Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive/pipe/service/class/module.

🏗 Build

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.

✅ Build for Production

Run npm run build:prod to build the project minified for production with AOT.

❔ Further help

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

About

My demo project which uses public API fbi.gov/wanted

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages