Skip to content

z4yed/express-orders

Repository files navigation

Express API for User & Order Management

Requirements

Run it locally:

  1. Pull/clone the latest code from the main branch.
    git clone https://github.com/z4yed/express-orders.git
    
  2. Navigate to the cloned directory
    cd express-orders
    
  3. Install dependencies:
    npm i
    
  4. create a .env file in the root directory. Add proper key values by following the .env.example file.
  5. Run the app by the below command. The API should be running on the port you've specified in the .env file.
    npm run start:dev
    
  6. You can use the following Postman collection to interact with the APIs. You might need to change the host value accordingly. Express User and Orders API.postman_collection.json