/static

Primary LanguageJavaScript

Hello Static Fellows

Prerequisites

Node.js must be installed (https://nodejs.org/en/) and accessible in your cmd / terminal. Check/confirm installation with 'node -v' (should print the verion).

Get up and running

  • Clone or fork this repo to your machine
  • Go to the root of the directory and install dependencies with 'npm install'
  • Run the static RESTful server with 'npm start'
  • See the site at http://localhost:3000
  • db.json contains the state (as a file, should not be used in prod!) and can be mutated directly by changing the file or by using GET/PUT/POST requests.