romapelypets / movies-finder

PWA Advanced Movies Finder deployed to Firebase

Home Page:https://movies-finder-77cb9.firebaseapp.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Advanced Movies Finder

Based on Angular 8 Starter

How to start

  • npm install
  • npm run dev - for development
  • npm run start - for client rendering
  • npm run ssr - for server-side rendering
  • npm run server - to start the server
  • npm run build:universal - for assembly in release

Progressive Web Application

How to get started

npm run prod

Because ng serve does not work with service workers, you must use a separate HTTP server to test your project locally. You can use any HTTP server. The example below uses the http-server package from npm. To reduce the possibility of conflicts and avoid serving stale content, test on a dedicated port and disable caching.

To serve the directory containing your web files with http-server, run the following command:
cd dist/browser
http-server -p 8080

Firebase

Configuration

Open /src/environments/environment.ts and add your Firebase configuration:

export const environment = {
  production: false,
  firebase: {
    apiKey: '<your-key>',
    authDomain: '<your-project-authdomain>',
    databaseURL: '<your-database-URL>',
    projectId: '<your-project-id>',
    storageBucket: '<your-storage-bucket>',
    messagingSenderId: '<your-messaging-sender-id>'
  }
};

About

PWA Advanced Movies Finder deployed to Firebase

https://movies-finder-77cb9.firebaseapp.com/

License:MIT License


Languages

Language:TypeScript 70.0%Language:SCSS 17.7%Language:HTML 10.4%Language:JavaScript 1.9%