项目作者: oguzturker8

项目描述 :
Deno oak & graphql server for Rollie
高级语言: TypeScript
项目地址: git://github.com/oguzturker8/Rollie-Server.git
创建时间: 2020-12-23T23:12:28Z
项目社区:https://github.com/oguzturker8/Rollie-Server

开源协议:MIT License

下载


Rollie-Server

Deno Oak-GraphQL Server uses MongoDB with 1000 iMDB +7 Movies.

Usage

- git clone https://github.com/oguzturker8/Rollie-Server.git

- create .env file in root directory

.env file:

Variable Value
PORT Port Number
HOST MongoDB Host Adress #! Deno-Mongo Driver not support Mongo Atlas rn. Use host like `mongodb://ADRESS:/PORT Default Port Number is 27017
DB YOUR MongoDB Database Value Default ValueIS “rollie”
USERS YOUR MongoDB Collection Value Default Value is “users”
MOVIES Your MongoDB Collection Value Default Value is “movies”
URIHEAD Omdb Api Head Default Value is “http://www.omdbapi.com/?t=
URITAIL Omdb Api Key Tail “&apikey=

- Run Command on Command Prompt deno run --allow-net --allow-read server.ts