This is web application that consumes an API end point generated using Django REST framework to calculate power consumption of common house appliances and estimates the cost of running it for you.You can also add your own custom appliances
This project was generated with Angular CLI version 12.0.3.
- Register for an acoount if you are new.
- Sign in with the application to start using.
- Select a common house hold appliance and get its power consumption.
- The power consumption is displayed in dayly, monthly and yearly.
- Add a custom appliance if it is not present on the list from the DB.
- Get estimated cost for running that appliance for dayly, monthly and yearly..
- Clone the repository
- Change directory to the project directory
- Open project on VSCode
- Run
npm install
before serving the application to install the packages and dependancies
- Run
ng serve
for a dev server. Navigate tohttp://localhost:4200/
. The app will automatically reload if you change any of the source files.
- Run
ng generate component component-name
to generate a new component. You can also useng generate directive|pipe|service|class|guard|interface|enum|module
.
- Run
ng build
to build the project. The build artifacts will be stored in thedist/
directory. Use the--prod
flag for a production build.
- Angular
- typescript
- JavaScript
- HTML
- CSS
- Bootstrap
https://kagus-code.github.io/LightSave-Angular/
Eston | [email protected] |
---|
License MIT License Copyright (c) 2021 Eston Kagwima