Skip to content

MyPatco/site

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Patco

My Patco is an Angular PWA (Progressive Web Applications) powered by Firebase, for the south new jersey transit.

Features

  • Angular 8.x + Firebase
  • Installable PWA
  • OAuth and Email/Password Signup with Firebase
  • Angular Universal SSR with Nest.js deployed to Google Cloud Run
  • Optional SSR Prerendering Script

Usage

  1. Run
  • git clone https://github.com/MyPatco/site.git mypatco
  • cd mypatco
  • npm install
  1. Create a project at https://firebase.google.com/ and grab your web config:

  1. Add the config to your Angular environment

src/environments/

Update the environment.prod.ts and environment.ts files.

export const environment = {
  production: false,
  firebase: {
    apiKey: 'APIKEY',
    authDomain: 'DEV-APP.firebaseapp.com',
    databaseURL: 'https://DEV-APP.firebaseio.com',
    projectId: 'DEV-APP',
    storageBucket: 'DEV-APP.appspot.com',
    messagingSenderId: '...',
    appId: '...',
  }
};
  1. Run ng serve
  2. For Production ng build --prod

About

The Main site for mypatco

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors