Skip to content

turker0/Rollie-Server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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=<YOUR_OMDB_API_KEY>"

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

Releases

No releases published

Packages

No packages published