Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

Description

Nest framework TypeScript starter repository.

The created API has the following requirements:

  • Create an item delivery.
  • Search for delivery of a specific item.
  • Search for deliveries by recipient or by sender.
  • Update status as delivered.
  • Cancel a delivery.
  • Consume another existing REST API to fetch data, such as neighborhood, street and geolocation, from zip code and number entered.
  • Authentication flow using bearer token.
  • Documentation using Swagger.

This API allows you to manage item deliveries, allowing you to create, query and update the delivery status, as well as search for deliveries by recipient or sender. Furthermore, it consumes an external API to fetch additional information about delivery addresses.

API security is ensured by an authentication flow, which requires the use of a valid authentication token to access protected resources.

API documentation is provided by Swagger, making it easy to use and understand the features available in the API.

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Swagger

http://localhost:3000/api

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.