- Install NodeJs: https://nodejs.org/en/download/
- Install NestJs CLI:
npm i -g @nestjs/cli
- Run
nest new project-name
to create a new NestJs project - Change the directory to the new project and run
npm run start:dev
to start the NestJs server
- Create an endpoint that returns a string "Hello World!".
- Create an endpoint that subtracts two numbers.
- Create an endpoint that sums two numbers.
- Create an endpoint that multiplies two numbers.
- Create an endpoint that divides two numbers.
- Create an endpoint that given an operation and a string of numbers separated by
,
, returns the result of the operation applied to the numbers.
- Create an endpoint that returns a list of available movies (title and id).
- Add query params to the endpoint from point 1 to sort the movies by title ascending or descending.
- Create an endpoint that returns movie details given the movie id.
- Create an endpoint that returns a random quote.
- Create an endpoint that returns a random dog photo.