Wrong: This project was generated with Angular CLI version 7.1.2. This project was generated with Angular CLI version 9.0.7
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
- Rankit is built with Angular. For search and social share purposes, we need to be able to deliver it to a server. As a result, we use Angular's Server Side Rendering (SSR).
- Google's domain for this is https://rankit-vote.appspot.com/
- Hosting is Google Cloud App Engine
- Database is Firebase
- Billing is through Google Cloud
- We use Firebase cloud functions for the backend. They're within this project under
/functions
and live on Firebase. Since we use Typescript for them, they need to be compiled to JS before being uploaded.
- within Firebase, there is a admin "table" with "settings" and a few fields hardcoded. You can edit those as necessary.
(Assumes you're set up with the Firebase SDK)
cd functions
> npm run build
firebase deploy --only functions
npm run deploy
Deploying builds the application and uploads it to Google Cloud's App Engine using the gcloud
SDK.