A simple http backend written in typescript as a learning experience.
read the Makefile
TODO: more description
TODO: describe routes available
- get devenv working with node/npm/ts https://blog.logrocket.com/how-to-set-up-node-typescript-express/ [DONE]
- write Makefile for installing/running server [DONE]
- set up the following routes: [DONE]
# Create
POST /widget name=$NAME
# Read
GET /widget
# Update
POST /widget id=$ID name=$NAME
# raise error if widget does not exist
# Delete
DELETE /widget id=$ID
- set up linting/formatting/etc https://blog.logrocket.com/linting-typescript-eslint-prettier/ [DONE] (using just eslint for now)
- use actual db for persistence, ie sqlite