1. Data Models
2. User Permissions
The layout of your API
Your public / private keypair for generating JWT tokens
This holds your database connection as well as an S3 connection (if you need one)
Each top level model (table) has its own folder.
REST API Controllers
This is the middleware to decrypt auth tokens, and do whatever else you need.
There is a file called
where you can put whatever you want in there. It's already wired up to get called by each api
These are your database models
These are your api routes. There is one file per database model
These hold simple tests for your API
There are a few utility functions in here including some nifty CRUD operations on S3 objects
You can use S3, Wasabi, Minio, or any other S3 api
Running - Previous