Skip to content

This project appears to be a Machine Management API built with Node.js, Express, and MongoDB. It provides an interface to interact with a database of machines, allowing users to retrieve machine data based on various parameters. Here's a brief description of the excerpted code: The `machineController.js` file contains the logic for handling reque

Notifications You must be signed in to change notification settings

Floyden-Monteiro/Machine-Management-API

Repository files navigation

Machine Management API

A RESTful API for managing machines in a collection.

  1. Use the API endpoints to manage machines:
  • Add Machine: Create a new machine in the collection.
  • Update Machine: Update an existing machine in the collection.
  • Delete Machine: Delete a machine from the collection.
  • Get Machines: Retrieve machines from the collection with support for pagination, filtering, sorting, searching, and projection.

API Documentation

  • See the Postman collection documentation for detailed information on each API endpoint: API Documentation

Start the server by running the following command:

npm run dev

Environment Configuration

  • MONGODB_URI: MongoDB connection URI.
  • PORT: Port number for the server to listen on.

Technologies Used

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • mongoose-paginate-v2

About

This project appears to be a Machine Management API built with Node.js, Express, and MongoDB. It provides an interface to interact with a database of machines, allowing users to retrieve machine data based on various parameters. Here's a brief description of the excerpted code: The `machineController.js` file contains the logic for handling reque

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published