Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
sunjc committed May 1, 2021
1 parent ba12e6b commit d042a95
Showing 1 changed file with 18 additions and 3 deletions.
21 changes: 18 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Build REST API with Deno

Steps to run this project:
## Installing Deno

1. Setup database settings inside `ormconfig.json` file
2. Run `deno run` command
Shell (Mac, Linux):
curl -fsSL https://deno.land/x/install/install.sh | sh

PowerShell (Windows):
iwr https://deno.land/x/install/install.ps1 -useb | iex

## Installing denon

deno install -qAf --unstable https://deno.land/x/denon/denon.ts

## Running tests

run 'deno test --allow-env --allow-net --allow-read --allow-write --unstable --config tsconfig.json' or 'denon test' to execute the tests.

## Running server

run 'deno run --allow-env --allow-net --allow-read --allow-write --unstable --config tsconfig.json app.ts' or 'denon start' to start server.

0 comments on commit d042a95

Please sign in to comment.