Git Product home page Git Product logo

smarthome_webserver's Introduction

Smart Home Webserver + Raspberry Client

This is the repo for Smart Home Project's webserver files. I'm really thankful for my ISP since they won't let me open ports so I have to set up a different server then connect both my client & Raspberry Pi to the same server while I could just connect to the server on my Raspberry Pi if I could open a port. I really hope that I will make this compatible with nginx so when you just copy the given nginx config file, the webserver should be directly accessible on port 80. Currently, it uses port 3000 so for example, when you run it on your localhost, you need to connect to localhost:3000 instead of just localhost. Check out the bottom, all installations are very easy, aren't they?

Server Installation

First, run npm run install:server command and then run npm run start:server. It's easy as this!

Raspberry Pi Client Installation

Again, firstly, run npm run install:raspiclient command and then run npm run start:raspiclient.

Web Client Installation

As all the other ones show, you can predict this one as well. Run npm run install:webclient and then run npm run start:webclient

Development

You first need to run installation(s) for the part you want to work on and then you can just run dev: instead of start: for each part, such as npm run dev:server.

smarthome_webserver's People

Contributors

dependabot[bot] avatar msteknoadam avatar

Watchers

 avatar  avatar

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.