A REST API for User database developed using new Deno language with mongodb integration.
Made By Smith Gajjar
A REST API Client for User database developed using new Deno language with mongodb integration. It uses 3rd party libraries like oak for router and server configurations. deno_mongo used for mongodb configuration.
To get a local copy up and running follow these simple steps.
git clone https://github.com/smithg09/Deno_REST_API
# Using PowerShell ( Windows )
iwr https://deno.land/x/install/install.ps1 -useb | iex
#Using Shell (macOS, Linux):
curl -fsSL https://deno.land/x/install/install.sh | sh
View more installation options here
MongoDB installation
Download MongoDB Compass [here](https://www.mongodb.com/download-center/compass) <br />
Or Download MongoDB Community Server [here](https://www.mongodb.com/download-center/community)
To run this application you need set some flags due to security concerns built into Deno bydefault.
start app
deno run --allow-env --allow-write --allow-read --allow-plugin --allow-net --unstable index.ts
This will start the local server on PORT 4000. Port can be changed from config/environment.ts
file. Once server is started, Test using Postman.
reload plugins app
deno run --allow-env --reload --allow-write --allow-read --allow-plugin --allow-net --unstable index.ts
For more examples, please refer to the Documentation
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
git checkout -b feature/AmazingFeature
)git commit -m 'Add some AmazingFeature'
)git push origin feature/AmazingFeature
)Author: smithg09
Source Code: https://github.com/smithg09/Deno_REST_API
#deno #node #nodejs #javascript