Giter Club home page Giter Club logo

juice-shop-store's Introduction

Juice Shop Store The Assignment is to practice writing server-side validations and do server-side processing only using the Express web application framework. Tasks:

  1. HTML Static Content - Web Form served using Express. • The front end must collect all the information needed to make a sale to the customer. I have included a few in the description which are mandatory and must be included in your form. • At least 2 products should be available for purchase. The application’s business logic must handle the products correctly.
  2. JavaScript – Server-side form validations and server-side form processing: • All JavaScript code must be located on the server-side. • The following user inputs must be validated: • Mandatory fields:  Name  Address  City  Province • Fields with specific format  Phone number validation. eg: 5198201234  Email validation. eg: [email protected] • If any errors exist, display a unique message for each erroneous input. • Generate a receipt to give to the customer, including all the information entered by the user and the products bought. Use only server-side scripting for this. • Calculate and include sales tax for each province/territory in Canada. • Make sure that the receipt is generated only if the customer has bought products worth $10 or more. Otherwise give an error to the customer and tell them that the minimum purchase should be of $10.

Juice Order image Receipt image

juice-shop-store's People

Contributors

cgrgx avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.