Weather Base is an web application to Monitor weather in your favorite cities across Netherland.
This app consists of following features
It can be extendable to the other parts of world.
git clone https://github.com/bharathmuppa/weather-base.git
npm ci
for a clean install.npm start
to start application in your local machine .http://localhost:4200
This project makes use of
Open Weather API (Weather Data)
Google API (Images of places)
Before deployment, scripts check for any unit test or e2e test anomalies. Not meeting the check wont let you to push the code After check code will be pushed to the corresponding branch in github and automatic scripts are in place to deploy it to netlify
Latest Documents will be available here
Run ng g component my-component --project=my-app
to generate a new component.
Run npm run generate:Docs
to generate docs.
Run npm run dep-graph
to check whole dependencies between projects and libs in this repo.
Run npm run update
to update to latest version.
Run npm run affected:apps
to run sanity check on affected apps
Run ng g component my-component --project=my-app
to generate a new component.
Run ng build my-app
to build the project. The build artifacts will be stored in the dist/
directory. Use the --prod
flag for a production build.
Run ng test my-app
to execute the unit tests via Jest.
Run nx affected:test
to execute the unit tests affected by a change.
Run ng e2e my-app
to execute the end-to-end tests via Cypress.
Run nx affected:e2e
to execute the end-to-end tests affected by a change.
Run nx dep-graph
to see a diagram of the dependencies of your projects.
This project was generated using Nx.
🔎 Nx is a set of Extensible Dev Tools for Monorepos.
Nx supports many plugins which add capabilities for developing different types of applications and different tools.
These capabilities include generating applications, libraries, etc as well as the devtools to test, and build projects as well.
Below are our core plugins:
ng add @nrwl/angular
ng add @nrwl/web
ng add @nrwl/nest
ng add @nrwl/node
There are also many community plugins you could add.
Run ng g @nrwl/angular:app my-app
to generate an application.
You can use any of the plugins above to generate applications as well.
When using Nx, you can create multiple applications and libraries in the same workspace.
Run ng g @nrwl/angular:lib my-lib
to generate a library.
You can also use any of the plugins above to generate libraries as well.
Libraries are shareable across libraries and applications. They can be imported from @weather-base/mylib
.
Visit the Nx Documentation to learn more.