ShevelyanchikAlex / certificate-shop-frontend

Gift Certificate Shop (Frontend)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Gift Certificate Shop (Front)

Description

Web application that performs the functionality of an online store of gift certificates. This application contains both user's and administrator's parts. You can read about the separation of functionality below.

  • Users have the ability:
    • to view all actual gift certificates;
    • to get information about each gift certificate;
    • to view information about gift certificates store;
    • to view their shopping cart;
    • to view their personal account.
  • Administrators have all user abilities (except for viewing the shopping cart) and some next for managing application data:
    • to add new gift certificates;
    • to edit existing gift certificates;
    • to delete existing gift certificates;
    • to search by search term and category and viewing gift certificates;
    • to search by search term and category and viewing users.

Application example

This web-app service includes the following pages and corresponding functionality:

Home Page

On this Page You can view actual gift certificates and view info about specific ones details. It is possible to go to the next pages: About the Application, Signup, Authentication. After successful authentication You will be able to go to the shopping cart and to your personal account or logout.

HomePage

Certificate Info

On this Page You can view details of selected gift certificate.

Certificate Item

About the Application

On this Page You can view info about Gift Certificate Shop.

About the Application

Signup

On this Page You can fill the information about yourself required in the form and register in the application. After successful registration you will be redirected to the Login page. All fields of the registration form are validated so if any error occurs, a message will immediately be displayed to eliminate it.

Signup

Authentication

On this Page You can fill required account information. Once logged in You will have access to all pages that require authentication. This Login page also uses some cool inline validation with informing about errors and ways to eliminate them.

Login

Profile

On this Page You can view Personal Info.

Profile

Shopping Cart

On this Page You can view your orders: view certificates in detail or remove them from the order. (made as template, business logic for this functionality will be implemented in the future)

ShoppingCart

Gift Certificates Management (Admin)

On this Page You can view all actual gift certificates, get information about each of them, add new gift certificates, edit existing gift certificates, delete existing gift certificates, search by search term and category and viewing gift certificates.

Admin Certificates

  1. Add new Gift Certificate Admin Add Certificate

  2. Edit Gift Certificate Admin Edit Certificate

  3. View Gift Certificate Admin View Certificate

  4. Delete Gift Certificate Admin Delete Certificate

Users Management (Admin)

On this Page You can view all actual users, get information about each of them, search by search term and category.

Admin Delete Certificate

Errors Handling

This Application handles all errors that occur. An example of processing some of them can be seen below.

  • Page Not Found 404

  • Forbidden 403

  • If an error occurs on the server side when transmitting data about certificates or the list of certificates is really empty, the following window is displayed empty-list


Application requirements

  • The Latest version of React
  • EcmaScript, JSX introducing-jsx
  • Node & NPM
  • HTML5 and The Latest version of CSS
  • Development Environment: Visual Studio Code or any
  • Routing in application: transitions between pages handled by a react-router. introducing-react-router
  • Data fetching. HTTP requests to server: axios
  • Data storage in UI application: redux
  • Site theme & UI components: react-bootstrap
  • Localization: en - English
  • Errors: all forms must be validated, all occurring errors such as 404 or 403 server response should be handled

About

Gift Certificate Shop (Frontend)


Languages

Language:JavaScript 72.8%Language:CSS 26.9%Language:HTML 0.3%