This is a Node.js application that provides a set of APIs for managing products, promotions, vouchers, and prices. It uses MongoDB as a database and Express.js as a web server.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.
- Node.js
- MongoDB
- Clone the repository
git clone https://github.com/GlebShulga/BE_DataUI.git
- Install dependencies
cd BE_DataUI
npm install
-
Create a .env file in the root directory and set your environment variables (e.g., PORT, MONGODB_URI).
-
Start the server
npm run start
To run the tests, use the following command:
npm run test
- Node.js - JavaScript runtime
- Express.js - Web application framework
- MongoDB - Database
- Mongoose - MongoDB object modeling tool
- Typescript - Typed superset of JavaScript that compiles to plain JavaScript
This project is licensed under the MIT License - see the LICENSE.md file for details