duongleh / order-management

IT4492 - Structured Programming: UI and API for order management service

Home Page:https://sp-04-order.herokuapp.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Order management service

Getting Started

In the root directory of the project...

  1. Install node modules npm run init.
  2. Start development server yarn start or npm start.

File Structure

The back-end is based on Express Generator. The front-end is based on Angular cli "ng".

The front-end is served on http://localhost:3000/ and the back-end on http://localhost:3001/.

.
├── server/ - Express server that provides API routes and serves front-end
│ ├── routes/ - Handles API calls for routes
│ ├── app.js - Adds middleware to the express server
│ ├── sampleData.js - Contains all sample text data for generate pages
│ ├── constants.js - Defines the constants for the endpoints and port
│ └── server.js - Configures Port and HTTP Server
├── src - Angular front-end
│ └── app - Angular main root module
│    ├── app-shell - Angular main components
│    └── app.module.ts - Angular root module.
└── README.md

Additional Documentation

This project was created using Microsoft Web Template Studio.

About

IT4492 - Structured Programming: UI and API for order management service

https://sp-04-order.herokuapp.com


Languages

Language:TypeScript 52.2%Language:JavaScript 27.2%Language:HTML 17.2%Language:CSS 3.4%