Angular
Deploying using angular-cli-ghpages
Inside the sample folder, add the angular-cli-ghpages package using the following command:
ng add angular-cli-ghpages
Now, we can proceed to deploy.
The deploy command is simple, and we must add a base-href argument with the name of the repository in it:
ng deploy --base-href=/angular-app/
Here, the deploy command does all the work. We don’t have to manually build or commit those files.
Once this command finishes running, check the files in the repository using:
https://github.com/<username>/<repositoryname>
We can see the hosted corresponding site at the following link:
https://<username>.github.io/<repositoryname>
Output
https://hearsid.github.io/ng-contact-manager
hearsid.github.io is configured to redirect to hearsid.com, how to add the angular website here.
- Create another github account?
Deploy React app
https://www.c-sharpcorner.com/article/how-to-deploy-react-application-on-github-pages/
Azure
Rate limiting: https://mindbyte.nl/2022/06/18/use-different-rate-limiting-options-in-azure-api-management-for-business-and-non-business-hours.html
Github rate limit
We don’t have any hard limits. Every now and then a massive porn site hotlinks a JavaScript file or something and we have to ban them, but it’s so incredibly rare that you’ll ever run into any problems.