Home

Awesome

<div align='center'>

denamo

</div>

release tags attain deno license stars

What to do next:

Related links

About

Denamo is just a simple web boilerplate / web starter to create your first Deno REST API. It's built on top of Attain web framework and been integrated with MongoDB. As it written in 24 May 2020, the library is still very unstable and please submit an issue if you find some weird behaviors or some bugs.

Installation & Setup

For the first step before you get started with this project, make sure you have Deno installed on your machine.

Simply just clone our biolerplate to your desired directory.

git clone https://github.com/burhanahmeed/Denamo.git

Then you can rename the directory name or just simply use Denamo. The next step, go to your root project directory.

cd Denamo

Connect to MongoDB

Before you can run this project, you need to setup a mongoDB and get it connected with Denamo. Create an .env file and put your database credentials into it. Simply just copy it from .env.example.

.env.example
BASE_URL=http://localhost:3500

MONGO_PRIMARY_URL=mongodb://127.0.0.1/
MONGO_PRIMARY_DATABASE=Testing

So you can run this project right away.

Use this command.

deno run --allow-net --allow-env --allow-read --allow-write --allow-plugin --unstable main.ts

Too long though?

Solution

denon start

Contribution

If you feel you can help us to improve this project, do not hesitate to submit an issue or just simply submit your pull request.

License

MIT License

Copyright (c) 2020 Burhanuddin Ahmed