Skip to content

Sample Node application demonstrating api development for a Delivery Management System with Orders, Quotes and Bookings

Notifications You must be signed in to change notification settings

contactipraju/orders-quotes-bookings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

orders-quotes-bookings

A Delivery Management System

Client: A suite of API tests

Install the api test dependencies: npm ci. Run the api tests: npm test.

Server: Endpoints for the API tests to pass (*In ./server directory):

Install dependencies: npm ci Run Server: npm start

Improvements

  • CODE SHARING & REUSE: Find a better way to Share code between FE and BE (models, interfaces, enums, utils etc)
  • REFACTOR server.ts file (use express router and move route associations to separate file)
  • REFACTOR api-tests into separate files (Orders, Quotes, Bookings etc)
  • Avoid duplicate string literals, used all over the places (may be use enum values instead)
  • Introduce a linting system (A lot of objects have last properties ending with an unnecessary comma. It may cause issues in IDEs or CI/CD pipelines with corresponding rules enabled)

About

Sample Node application demonstrating api development for a Delivery Management System with Orders, Quotes and Bookings

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published