mirror of
https://github.com/Permissionless-Software-Foundation/x402-base-facilitator.git
synced 2026-09-21 16:52:01 -07:00
Updating README
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# koa-api-boilerplate
|
||||
[](http://standardjs.com) [](https://coveralls.io/github/christroutner/babel-free-koa2-api-boilerplate?branch=unstable) [](https://github.com/semantic-release/semantic-release) [](https://greenkeeper.io/)
|
||||
[](http://standardjs.com) [](https://coveralls.io/github/christroutner/babel-free-koa2-api-boilerplate?branch=unstable) [](https://github.com/semantic-release/semantic-release) [](https://greenkeeper.io/)
|
||||
|
||||
|
||||
This repository is a boilerplate for building APIs with
|
||||
@@ -18,6 +18,10 @@ It makes the following modifications:
|
||||
|
||||
- 'Production' environment is targeted for packaging as a Docker container.
|
||||
|
||||
- 'admin' user type added in addition to standard 'user' type. Allows the creation
|
||||
of private vs public APIs that only be accessed by an admin. Useful for privileged
|
||||
commands like updating and deleting other users.
|
||||
|
||||
## Features
|
||||
This project covers basic necessities of most APIs.
|
||||
* Authentication (passport & jwt)
|
||||
@@ -54,6 +58,7 @@ git clone https://github.com/christroutner/koa-api-boilerplate
|
||||
├── production # Dockerfile for build production container
|
||||
|
|
||||
├── src # Source code
|
||||
│ ├── lib # Business logic libraries
|
||||
│ ├── modules
|
||||
│ │ ├── controller.js # Module-specific controllers
|
||||
│ │ └── router.js # Router definitions for module
|
||||
|
||||
Reference in New Issue
Block a user