Welcome to the Order Management System API. This README file provides information on setting up the environment, launching the application, and accessing the API documentation.
The Order Management System API is a web-based application designed to streamline the order management process for e-commerce applications. It provides functionalities such as creating new orders, updating existing orders, and retrieving order information. The API is built using Nest.js and utilizes a PostgreSQL database for data storage.
To set up the environment for the Order Management System API, follow these steps:
-
Clone the repository:
git clone https://github.com/BishoySedra/Order_Management_System.git
-
Navigate to the project directory:
cd Order_Management_System
-
Rename the
.example.env
file to.env
:mv .example.env .env
-
Open the
.env
file and update the necessary configuration values. -
Install the dependencies:
npm install
To launch the Order Management System API, use the following commands:
-
Development mode:
npm run start:dev
-
Production mode:
npm run start:prod
The API documentation for the Order Management System API can be found on Postman. You can access it here.