This project is focused on using NestJs services to generate an API that allows us to add, read and update a course dummy data.
These instructions will allow you to get a copy of the project running on your local machine for development and testing purposes.
You need to have this:
- NestJs - The framework used
Need to make sure that the Nest CLI (Command Line Interface) is installed on your system:
$ npm i -g @nestjs/cli
Later can be use this command in the following way to initiate a new NestJS project:
$ nest new my-nestjs-01
To start the the server you simply need to execute the following command within the project folder:
$ npm run start
Run the code again and the result is the list of courses in JSON format
http://localhost:3000/courses
- Renatto Oyague - Initial Work - dev-nekko