Skip to content

deliverydriver/pizzabuilder-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Your Own Pizza Application

Description

This is a simple web application that allows users to build their own custom pizza by selecting ingredients from a list of options. Once the user submits their order, the application generates an XML file containing the order details and saves it to the 'public/orders' directory. Additionally, a receipt text file is generated and saved to the 'public/receipts' directory.

Usage

  1. Clone this repository to your local machine.
  2. Navigate to the project directory.
  3. Install dependencies: npm install
  4. Start the server: npm start
  5. Open your web browser and go to http://localhost:3000/
  6. Build your own pizza by selecting ingredients and submitting your order.

File Structure

  • server/ : Directory containing the Server file for Express to deliver the app
    • server.js`: The Express server file.
  • public/: Directory containing static files for the web application.
    • index.html: HTML file for the main page.
    • script.js: JavaScript file for client-side logic.
    • orders/: Directory for storing XML files of orders.
    • receipts/: Directory for storing text files of receipts.

Dependencies

  • Express.js: Web framework for Node.js.
  • fs: File system module for Node.js.
  • path: Path module for Node.js.

pizzabuilder-js

pizzabuilder-js

About

a simple HTML / JS builder app for export of .xml and .txt for Orders & Receipts runs on Node.js / Express

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors