Showcase of a RESTful API based on an old Rocketseat video but updated to current ECMAScript standards (import, export, etc.) and updating it to use a remote MongoDB server.
- NodeJS;
- MongoDB;
- Express;
- Handlebars (Email Handler);
- NodeJS (v12+ recommended)
- Yarn (optional)
git clone https://github.com/FelipeSSDev/RestAPIShowcase.git
npm install
or yarn install
Create a .env
file in the project's root with the following format:
DB_USER = 'foo'
DB_PASSWORD = 'bar'
DB_CLUSTER_NAME = 'baz'
DB_NAME = 'qux'
HASH_SECRET = 'foo'
MAIL_HOST = 'foo'
MAIL_PORT = bar
MAIL_USER = 'baz'
MAIL_PASSWORD = 'qux'
npm run start
or yarn start