✨ Dicoding Notes App Backend NodeJS with Hapi Framework ✨
What will be used on this project
| Item | Source |
|---|---|
| Editor | VS Code (https://code.visualstudio.com/download) |
| Language | Node JS (https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) |
| Package Manager | NPM (https://docs.npmjs.com/downloading-and-installing-node-js-and-npm) |
| Framework | Hapi (https://hapi.dev/tutorials/?lang=en_US) |
| Dev Tools | Nodemon (https://www.npmjs.com/package/nodemon) |
| EsLint (https://www.npmjs.com/package/eslint) | |
| Nano Id (https://zelark.github.io/nano-id-cc/) |
Install VS Code Editor and NPM.
To check whether you already installed NPM & Node.js
npm --versionnode --version👉 Clone this Repository through Terminal or Command Prompt
Open this Back End Project using VS Code Editor.
Change to Project directory on Terminal or Command Prompt
cd notesapp-backend-hapiInstall Dev Tools: Nodemon
npm install nodemon --save-devInstall Dev Tools: ESLint
npm install eslint --save-devInstall Hapi Framework
npm install @hapi/hapiInstall Dev Tools: Nano Id
npm install [email protected]Run the Project on Terminal (Local)
npm run start-devNote:
npm run start-prodcan be run on AWS Terminal when project uploaded on AWS
When server is up, can be accessed:
Open Local Base URL
http://localhost:5000/All Notes URL
http://localhost:5000/notesWe can use provided Front-End web
http://notesapp-v1.dicodingacademy.com/It's Recommended to open the URL using Firefox Browser
After open the web, click Change URL to change to our Local Base URL
Ctrl + C on Terminal
or
CTRL + D to exit the Terminal