Foothill-SLI / pl4-server

The main central server for the Foothill SLI parking lot project.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PL4 Server

Parking Lot 4 Project

Intro

This repo contains the webserver implementation. It is currently written in Node.js and supports integrations through APIs and The Things Network.

Get Started

Prerequisites

  • Install Node.js and NPM (recommended method below)
    • Install Node Version Switcher
    • Install the latest LTS version of Node.js:
      nvs add lts # Install Node
      nvs link lts # Set the default version

Start the Server

Install project dependencies:

npm install

Run the webserver:

The server currently listens on port 3000. Press Ctrl+C to quit.

npm start # watch for file changes
# OR
npm start:prod # simply run the server

Client for the Sign

This repo contains an example client for automatically updating the sign (which is currently a prototype). Since the sign uses proprietary software, it currently only runs on Windows.

Prerequisites

Build the AHK script:

npm run build

Run the client:

Open PowerLED LTS and then run the following:

npm run sign

More information will be added soon.

About

The main central server for the Foothill SLI parking lot project.


Languages

Language:AutoHotkey 87.7%Language:JavaScript 12.3%