Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/denoland/apiland
The API server for deno.land
https://github.com/denoland/apiland
Last synced: 3 months ago
JSON representation
The API server for deno.land
- Host: GitHub
- URL: https://github.com/denoland/apiland
- Owner: denoland
- License: mit
- Created: 2022-05-05T05:22:27.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-17T02:48:14.000Z (5 months ago)
- Last Synced: 2024-09-30T17:48:16.966Z (3 months ago)
- Language: TypeScript
- Homepage: https://apiland.deno.dev
- Size: 613 KB
- Stars: 52
- Watchers: 14
- Forks: 6
- Open Issues: 25
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# apiland
The Deno API Server.
## Documentation
The APIs that are available with this server are documented in
`/specs/api-2.0.0.yaml` as an
[OpenAPI 3.1 specification](https://spec.openapis.org/oas/v3.1.0) and can be
[viewed here](https://redocly.github.io/redoc/?url=https://apiland.deno.dev/~/spec).## Usage
The current production API server is available on
[apiland.deno.dev](https://apiland.deno.dev). Currently only the
`/webhook/publish` requires an API token and it not part of the public API of
the server.## Architecture
The API server uses [Google Datastore](https://cloud.google.com/datastore) as
the persistance layer. It connects to the datastore using the
[google_datastore](https://deno.land/x/google_datastore/) module.The API server uses an API focused framework named
[acorn](https://deno.land/x/acorn/) to serve the APIs.The API server processes and documents third party modules registered on
[deno.land](https://deno.land/x/) as well as the Deno Standard Library and
built-in APIs for the Deno. It uses
[deno_graph](https://deno.land/x/deno_graph/) and
[deno_doc](https://deno.land/x/deno_doc/) to accomplish this, which are
components that are part of the Deno CLI but are also available as Wasm
libraries with a JavaScript/TypeScript interface.## Local development
A local development server is available using:
```
> deno task dev
```Note that you need to have a properly configured `.env` file for this to work.
An example file is included in `.env.example`, but for obvious reasons we will
not make the production keys available.