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
- Host: GitHub
- URL: https://github.com/yeukfei02/deno-giphy
- Owner: yeukfei02
- License: mit
- Created: 2020-05-10T06:19:33.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2023-12-15T11:59:31.000Z (almost 2 years ago)
- Last Synced: 2025-01-11T01:27:19.340Z (10 months ago)
- Topics: deno, docker, giphy, mongodb, oak
- Language: TypeScript
- Homepage:
- Size: 140 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.md
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)