This is my nodejs project base. For start, you need to install:
NodeJS >= 10.17
Yarn >= 1.21
MongoDB >= 3.6
Nodemon >= 2.0
Clone the project.
$ git clone [email protected]:edumoreira1506/nodejs-base.git
$ cd nodejs-base
Copy the contents of the .env.example
to .env
then change with the credentials of your local environment.
$ cp .env.example .env
Install all packages and run.
$ yarn
$ yarn start
For run tests.
$ yarn test