This project was generated with Angular CLI version 9.1.1.
Open two separate terminals one for client and one for server
Go to client directory which has angular componets and services run npm i
to install the dependencies
Run ng serve --open
Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Go to server directory node server set up is here run npm i
to install the dependencies
Run npm start
to start node server which will be listening op port 8000
Make post request to this url http://localhost:8000/api/getStocks
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
.