Skip to content

The Vending-machine-Backend is a server-side application built using Node.js and Express.js that provides the back-end functionality for a vending machine application. This application supports creating and managing user accounts, managing inventory, processing transactions, and generating reports. It communicates with the vending machine front-end

Notifications You must be signed in to change notification settings

hari1538radha/Vending-machine-Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Vending-machine-Backend

The Vending-machine-Backend repository contains the backend code for a vending machine web application. It is built using Node.js and the Express.js framework, and utilizes a Mongodb database to store information about products and transactions. Installation

To run the Vending-machine-Backend application locally, follow these steps:

Clone the repository to your local machine.
Navigate to the root directory of the project in your terminal.
Run npm install to install the necessary dependencies.


Run npm run start to start the application.

The Vending-machine-Backend application provides an API that can be used to retrieve information about products and transactions. Here are some example API endpoints:

GET /api/products: retrieves a list of all products in the database.
GET /api/products/:id: retrieves information about a specific product with the given ID.
POST /api/purchase: processes a purchase transaction for a product with the given ID.

Contributing

If you would like to contribute to the Vending-machine-Backend project, feel free to fork the repository and submit a pull request. Please follow the code style and formatting conventions used in the project. License

Vending-machine-Backend is licensed under the MIT License.

About

The Vending-machine-Backend is a server-side application built using Node.js and Express.js that provides the back-end functionality for a vending machine application. This application supports creating and managing user accounts, managing inventory, processing transactions, and generating reports. It communicates with the vending machine front-end

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%