Skip to content

emb715/denojs-api

Repository files navigation

denojs-api

API using DenoJS and Prisma as ORM

Features

  • Schema Validation
  • Error Logger
  • ORM DataBase

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

API_PORT

DATABASE_URL


Usage

Generate the schemas for the API

yarn prisma:generate

To initiate this project run

  yarn dev

API Reference

Get all things

  GET /api/v1/things
Parameter Type Description
api_key string Required. Your API key

Get thing

  GET /api/things/${id}
Parameter Type Description
id string Required. Id of thing to fetch

Tech


License

MIT


TODO:

  • Add Auth/Bearer token
  • Add prisma docs
  • Test coverage

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published