npm install
Create environments.ts & environments.prod.ts
Example: export const environment = { production: false, firebaseConfig: { apiKey: "XYZ", authDomain: "XYZ.firebaseapp.com", databaseURL: "https://XYZ.firebaseio.com", storageBucket: "XYZ.appspot.com" } };
This project was generated with Angular CLI version 7.3.8.
Run npm run build:ssr
Run npm run serve:ssr
for a dev server. Navigate to Node Express server listening on http://localhost:4000
. The app will not automatically reload. Although ng serve -o
will work for Angular or other frontend troubleshooting.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module
.
To get more help on the Angular CLI use ng help
or go check out the Angular CLI README.