Skip to content

Repository files navigation

notes-app-backend

notes app API with plugin. From Dicoding's Back-End Fundamental class.

Getting Started

How to run the API on your local machine.

Prerequisites

Install redis with docker

make sure docker desktop is installed / docker engine is running

  1. Open terminal / cmd / powershell
  2. Pull redis image from docker
docker pull redis
  1. Run redis container
docker run --name redis -p 6379:6379 -d redis
  1. Execute redis container (optional)
docker exec -it redis redis-cli

Installation

  1. Fork & Clone the repository

    git clone https://github.com/AxelSeanCP/notes-app-back-end.git
  2. Navigate to the project directory:

    cd your-directory
  3. Install project dependencies'

    npm i
    
    npm run start:dev

Run the API

Use the command:

npm run start

view 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"

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages