- Node.js v18
- Docker
- Copy the content of
.env.example
and paste in a file called.env
- Instal the dependencies:
npm install
- Run a Postgres database with the configs in the
.env.example
- Run the migrations:
db:migrate
- Then run the project:
npm run start
. Or with watch mode:npm run start:dev
- Copy the content of
.env.example
and paste in a file called.env
- Run:
docker-compose up
- (GET and POST) localhost:8000/notes
- (GET) localhost:8000/notes?author=[AuthorNameHere]
- (GET) localhost:8000/notes/?id=[NoteIdHere]