Skip to content

official-phuctc/hacker-news-angular

Repository files navigation

README

This repository create front server to show Hacker News by talking data from rails backend server

SET UP AND RUN

On development

Install packages

npm install

Config Project

Config environment

Config enviroment in environments/environment.ts

Run server

ng serve

Go to localhost:4200

On production (Heroku)

Setup Heroku server

https://betterprogramming.pub/how-to-deploy-your-angular-9-app-to-heroku-in-minutes-51d171c2f0d

Config environment

Config enviroment in environments/environment.prod.ts

Upload code to heroku

Solution 1: Upload code to heroku server

https://betterprogramming.pub/how-to-deploy-your-angular-9-app-to-heroku-in-minutes-51d171c2f0d

Solution 2: Get code from github (CD)

https://devcenter.heroku.com/articles/github-integration

Demo

http://hacker-news-angular12.herokuapp.com/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published