Skip to content

REST Service Boilerplate built on Deno and Oak

License

Notifications You must be signed in to change notification settings

mmifa/drb-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deno Logo

Getting Started

Deno

To install Deno, follow the setup guide found here.

Server

Run the following command in your terminal to start the server.

deno run --allow-net --allow-read server.ts

Development

Creating a new Controller

Simply create a file inside the controllers directory which corresponds to the name of the required base path. For example, if you require a base path similar to /api/v1/products simply create a file named products.ts inside the controllers directory. The route configuration will automatically pickup the new endpoints defined inside this file using the filename as the base path.

About

REST Service Boilerplate built on Deno and Oak

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 100.0%