Giter Club home page Giter Club logo

express-3-item-shop's Introduction

๐Ÿชง Express 3 item shop

๐Ÿ“‹ About

2023-03-20 workshop

Learning node express routing with parameters.

This is simple 3 item shop, buy 1 item at a time, save order info, display orders, and change order status.

Database - json file;

๐ŸŽฏ Goals:

link to task (lt)

Task

  1. Create shopping cart with three chosen items. Show "Buy" button near every item. Click on the "Buy" button should redirect user to the payment page:

    where user has to be able to enter/choose name, surname, payment type(Paypal, Mastercard, Visa), delivery method (home, parcel locker); Save order details in database.json file.Inform user about successful order with message 'Your goods will be delivered in three days'. Save sold item in already saved file.

  2. Create manager page, with all orders displayed. Every new order should get status 'Preparing' by default. Create functionality for a manager to change order status from 'preparing' to 'sent'.

๐Ÿ Getting started

Must have Node.js installed

  1. Clone the repo

  2. Go into project directory and Install NPM packages

    npm install
  3. use application:

    npm start

gif screenshot

express-3-item-shop's People

Contributors

codevivi avatar

Stargazers

 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.