Code Monkey home page Code Monkey logo

control-of-energy-consumption's Introduction

Control of Energy Consumption

Web project developed by Tec de Monterrey students to control the electricity consumption of your electrical devices in your home or office.

Start 🚀

These instructions will allow you to get a working copy of the project on your local machine for development and testing purposes.

Pre-requirements

Install mariaDB

$ pip pip install mariadb
Python environment

Install flask

$ pip install Flask

Install flask cors

$ pip install -U flask-cors

Install Mysql connector

$ pip install mysql-connector-python
NodeJS Environment

Install React

> npm install --save react

Install Storybook

> npx -p @storybook/cli sb init

Add dependecies

> npm install @storybook/react --save-dev
> npm install react react-dom --save
> npm install babel-loader @babel/core --save-dev
> npm install react-bootstrap bootstrap

Add storybook packages

> npm i -D @storybook/addon-actions
> yarn add @storybook/addon-knobs --dev

Automation Tests

yarn add --dev @storybook/addon-storyshots react-test-renderer

To store data

yarn add react-redux redux\

Add React Router library

npm install react-router-dom --save

Install Material UI

> npm install @material-ui/icons

Installation 🔧

A series of step-by-step examples that tells you what to run to get a running development environment

Create the database within the MariaDB environment

> mysql -u username -p < IotDB.sql

Start interface

> npm start

If you have problems with the versions

> npm i -S [email protected]

Built with 🛠️

Design tools

Autores ✒️

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.