notes app API with plugin. From Dicoding's Back-End Fundamental class.
How to run the API on your local machine.
- npm & Node.js (download_here)
- rabbitmq & erlang (download_here)
- redis (mac & linux), memurai (windows) or use docker
make sure docker desktop is installed / docker engine is running
- Open terminal / cmd / powershell
- Pull redis image from docker
docker pull redis- Run redis container
docker run --name redis -p 6379:6379 -d redis- Execute redis container (optional)
docker exec -it redis redis-cli-
Fork & Clone the repository
git clone https://github.com/AxelSeanCP/notes-app-back-end.git
-
Navigate to the project directory:
cd your-directory -
Install project dependencies'
npm i npm run start:dev
Use the command:
npm run startview the application in your web browser at http://localhost:3000
note: when running newman make sure to do "set-executionpolicy remotesigned" then run the newman script, after that do "set-executionpolicy restricted"