enriquetecfan11 / SimpleServer

A simple server made with NodeJS and Express for test IOT Devices easy

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Simple IOT Server

A simple server made with NodeJS and Express for test IOT Devices easy

The difference between Simple Sever V2 and this one is that V2 can be used with PostgreSQL databases.

๐Ÿš€ Technologies

Node JS, Express JS

If you want a databse you will use PostgreSQL Database

๐Ÿ“ Contributing

This is and open source project if you want to collaborate look at issues and choose you want to collaborate

๐Ÿ Starting

Quick Start

In order to start testing the server, you must follow these steps:

$ git clone https://github.com/enriquetecfan11/SimpleServer.git

Install dependencies:

$ npm install

Start the server normal mode:

$ npm start

Start Server Developer Mode:

$ npm run dev

๐Ÿ“ฆ Use Docker Container

Create Docker Image:

$ docker build -t simple-server .

Run Docker Container:

$ docker run -d -p 4000:4000 simple-server

The flag -d is for run the container in background The flag -p is for map the port 4000 of the container to the port 4000 of the host

Made with โค๏ธ by Enrique Rodriguez Vela

About

A simple server made with NodeJS and Express for test IOT Devices easy


Languages

Language:JavaScript 84.4%Language:HTML 15.6%