andreSpeakGeek / TemplateServerExpressSQlite

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

TemplateServerExpressSQlite

A super basic nodejs server template to create a basic webserver that has a database for reading and writing data.

This was used as an illustration during a working on how to use dynamic content in Unity.

Requirements

  • Node.js
  • NPM

Installation

  1. Clone the repo
  2. npm install
  3. Node index.js
  4. You can find your server at http://127.0.0.1:7777/
  5. You can Get and PUT at http://127.0.0.1:7777/config

TO NOTE

This is not a production server purely an illustrative example to get a quick backend running locally.

For a proper tutorial on a production setup mozilla has a nice tutorial on express including showing how to deploy for free.

Intendeduseage gv

About


Languages

Language:JavaScript 100.0%