Skip to content
The Main site for mypatco
TypeScript HTML CSS JavaScript Dockerfile
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
e2e
public
server
src
.editorconfig
.firebaserc
.gitignore
Dockerfile
README.md
angular.json
browserslist
firebase.json
karma.conf.js
ngsw-config.json
package-lock.json
package.json
prerender.js
serve-script.js
tsconfig.app.json
tsconfig.json
tsconfig.server.json
tsconfig.spec.json
tslint.json
webpack.server.config.js

README.md

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
You can’t perform that action at this time.