Deno x Alosaur 🦕🦖

24 mai 2020 | 1 min de lecture

Explication

J'ai fait des APIs REST basées sur ma propre discographie (et mes goûts musicaux), avec ces technologies:

Process

Cloner le projet :

git clone https://github.com/DmnChzl/DenoAlosaur.git

Exécuter le projet:

deno run --allow-env --allow-read --allow-write --allow-net --allow-plugin --config tsconfig.lib.json --unstable app.ts

Note(s)

Cette application dépend d'une base de données NoSQL. Installez MongoDB et exécutez les commandes suivantes dans un nouveau terminal avant de lancer le projet :

mkdir DataBase
mongo --dbpath DataBase

Cette application prend en charge le fichier .env. Veuillez le créer et remplacer les propriétés suivantes avant de lancer le projet :

DENO_ENV=prod
DENO_HOST=localhost
DENO_PORT=8080
DB_NAME=deno_land
DB_HOST=localhost
DB_PORT=27017
SECRET=HelloWorld

Licence

"THE BEER-WARE LICENSE" (Revision 42):
<phk@FreeBSD.ORG>
  wrote this file. As long as you retain this notice you can do whatever you want with this stuff. If we meet some day,
  and you think this stuff is worth it, you can buy me a beer in return. Damien Chazoule</phk@FreeBSD.ORG
>