APIs

Application Programming Interfaces

The place where you persist data (See Also: persistence, storage)

For mostly static binaries, use IPFS (fixed paths on the filesystem is ideal. Need a place to safely track metadata)

For documents that change, use git and .md

For relationships and metadata, use a real database. Postgres seems hard to beat for this.

Schema & Models

Schema

DBs

DBs are Databases.

Databases tie in closely to the API side.

Relational Databases

Relational Databases

sequelize

Document Databases

mongo

Deployment

When it comes time to deploy databases, separate containers are ideal. See also system-architecture notes on web-ui-api-db:

https://gitlab.com/charlesbrandt/web-ui-api-db/ui/content/

Data Files

Big files don't change often.

Generate their id with IPFS

ipfs

Frameworks

https://github.com/typicode/json-server#static-file-server
typicode/json-server: Get a full fake REST API with zero coding in less than 30 seconds (seriously)

https://github.com/typicode/lowdb
typicode/lowdb: Simple to use local JSON database (supports Node, Electron and the browser)

Search

Express Server

Feathers

Image Gallery

Sending Email

Message Queues

Message Queues

File Browser

File Browser

Auth

auth