- Database integration (MySQL, Firebase, Redis, etc)
- Still waiting on Deno Frontend update tho
- Add dynamic rendering (Waiting someone make a deno headless browser module)
- Attain - A middleware web framework for Deno
- MongoDB Driver - Unofficial driver
- Denon - Nodemon for Deno
- Deno
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.
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
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
.
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?
- You can use a Nodemon like library for Deno. It is called Denon. First you need to install it. Denon.
- After you install it, you can use this command.
denon start
- If you wanna look at the denon setup file, it is on
denon.json
file.
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.
MIT License
Copyright (c) 2020 Burhanuddin Ahmed