An open API service indexing awesome lists of open source software.

https://github.com/yeukfei02/deno-giphy

deno-giphy
https://github.com/yeukfei02/deno-giphy

deno docker giphy mongodb oak

Last synced: 9 months ago
JSON representation

deno-giphy

Awesome Lists containing this project

README

          

# deno-giphy

deno-giphy

documentation:

## Requirement

- install deno
- install mongodb
- install denon

## Testing and run

```zsh
// install deps
$ deno cache --unstable server.ts

// run in local
$ deno run --allow-net --allow-read --allow-write --allow-plugin --allow-env --unstable server.ts

// use denon
$ denon run --allow-net --allow-read --allow-write --allow-plugin --allow-env --unstable server.ts

// allow all permission
$ deno run -A --unstable server.ts

// run test case
$ deno test --allow-net --allow-read --allow-write --allow-plugin --allow-env --unstable

// linter
$ deno lint --unstable

// format code
$ deno fmt
```

## Docker

```zsh
// build images and start container in one line
docker-compose up -d --build

// go inside container
docker exec -it /bin/bash

// check container logs
docker logs

// remove and stop container
docker-compose down
```

open localhost:3000

## Contributing

Please refer to [CONTRIBUTING.md](https://github.com/yeukfei02/deno-giphy/blob/master/CONTRIBUTING.md)