Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 782 Bytes

README.md

File metadata and controls

14 lines (12 loc) · 782 Bytes

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.