Skip to content

Commit

Permalink
docs: add a readme
Browse files Browse the repository at this point in the history
  • Loading branch information
otaviolemos committed Dec 8, 2021
1 parent 6e048c3 commit 0c70211
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## theWiseDev | This is an API of a backend for a simple notepad application. It was written in Node.js and TypeScript following the Clean Architecture principles.

The API was developed using concepts from *Clean Architecture*, *Domain-Driven Design*, *Test-Driven Development*, *Continuos Refactoring*, and *Atomic Commits*.

To run this project you will need to create a `.env` file at the root of your project with values for the following environment variables:

* `MONGO_URL`
* `JWT_SECRET`
* `BCRYPT_ROUNDS`
* `PORT`

`MONGO_URL` is where your MongoDB is located (*you can also create other implementations for the repositories for other specific databases if you like; the use cases were developed independently from specific database implementations*); `JWT_SECRET` is a secret used for the JWT signing; `BCRYPT_ROUNDS` is used to configure the use of the bcrypt algorithm; and `PORT` is the port where your API will run.

We believe this project can be used as a *reference implementation* of the **Clean Architecture** with Node.js and TypeScript.

Copyright © 2021 theWiseDev

0 comments on commit 0c70211

Please sign in to comment.