My Patco is an Angular PWA (Progressive Web Applications) powered by Firebase, for the south new jersey transit.
- 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
- Run
git clone https://github.com/MyPatco/site.git mypatco
cd mypatco
npm install
- Create a project at https://firebase.google.com/ and grab your web config:
- Add the config to your Angular environment
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: '...',
}
};
- Run
ng serve
- For Production
ng build --prod