Skip to content

kagus-code/LightSave-Angular

Repository files navigation

Watch-Dog Web App

This is a web app WebApp that calculates the power consumption and cost , 09/06/2021

By Eston Kagwima

Descriptiona

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.

User stories Specification

  • 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..

Setup/Installation Requirements

  • 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
Development server
  • 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.
Code scaffolding
  • 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.

Build

  • 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.

Technologies Used

  • Angular
  • typescript
  • JavaScript
  • HTML
  • CSS
  • Bootstrap

link to live site on GitHub Pages

https://kagus-code.github.io/LightSave-Angular/

Support and contact details

Eston [email protected]

License

License MIT License Copyright (c) 2021 Eston Kagwima

About

This is a web app WebApp that calculates the power consumption and cos

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published