Git Product home page Git Product logo

react-task's Introduction

Recruitment task

The recruitment task is to write a program to represent the process of book purchasing process (retrieving book data from the API, adding and removing products from the basket, filling in the form with personal data necessary order processing).

The solution to the assignment should be placed in the front folder.

The application should consist of 3 subpages:

1. Home page

List of functionalities consisting of:
  • downloading data from API after entering the application page (GET /book),
  • displaying previously downloaded data in a specific format, i.e. each book should be displayed in a specific format, i.e. each book should be represented by one block, which should contain the book's cover, title, author, number book, its title, author, number of pages, and a button:
    • `Add TO CART' which will add a specific item to the shopping cart.
  • a button that will allow you to go to the shopping cart.

2. The page presenting the shopping cart

List functionality consisting of:
  • displaying a list of books selected by the user,
  • the NEXT button which will direct to the order summary stage.
3. A page containing a form necessary to place an order
A list of functionalities consisting of:
  • preparation of a form with fields:
    • first name,
    • surname,
    • city,
    • postal code.
  • the button "I ORDER AND PAY" after pressing which the data will be sent to the endpoint POST /order.
Additional functionalities:
  • form validation.

Technical criteria

  • react,
  • any state management library like redux.
  • Tailwind or bootstrap.
  • implementation in typescript
  • automatic tests with possibility of generating coverage report

API Documentation

Documentation in OpenAPI 3 format is available by running the mock server and navigating to the address: localhost:3001/docs.

Starting the development environment

Node.js is required (Yarn is additionally recommended). The project requires installation and running the mock server API: ``bash cd api yarn yarn start




react-task's People

Contributors

zainabalazzawi avatar

Watchers

Azzawi avatar  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.