Note: Use your own OpenWeather apiid in case of individual needs.
This project was generated with Angular CLI version 9.0.3. Solution is ready with aws Elasticbeanstalk deployment settings.
Clone and setup local for Api /~https://github.com/sendilkumarmv/weather-app. Asp.NET Core 3.1 Web API application provides all api endpoint. Solution is ready with aws Elasticbeanstalk deployment settings.
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. Update Local Api app whitelistings in case this runs in different port.
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
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Create node server application with server.js and copy dist directory. Run the server app node server.js
. Change port appropriatly or it will run in default 5000. Update the whitelisting of Local Api app.