Code Monkey home page Code Monkey logo

ila's Introduction

ILA Test Case

Objective

This application features a login system, a registration form, and a dashboard with product management functionalities. The project integrates Auth0 for authentication and the Fake Store API for product CRUD operations. All styling is done using Bootstrap, and the project is deployed on Vercel.

Features

1. Authentication

  • Login Page:
    • Connects to Auth0 for authentication.
    • Fields for username/email and password.
    • Redirects to the registration page upon successful login.

2. Registration Form

  • Registration Page:
    • Displays after the first authentication.
    • Redirects to the dashboard upon "completion."

3. Dashboard

  • Dashboard Structure:

    • Contains two main pages: Product List Page and Product Details Page.
  • Product List Page:

    • Fetches and displays a list of products from the Fake Store API.
    • Displays product name, description, and price.
    • Uses React Table for displaying the products in a tabular format.
    • Includes buttons for:
      • Edit Product: Allows editing of an existing product.
      • Delete Product: Deletes a product from the list.
    • "Add New Product" button is placed at the top right corner of the table.
  • Product Details Page:

    • Navigates to a detailed view of the product when clicked from the list.
    • Displays all details of the selected product.
    • Option to return to the product list.

4. State Management

  • Redux Toolkit:
    • Manages the global state of the application.
  • Context API:
    • Manages user authentication state.
    • Redux Toolkit manages product data and form states.

5. API Integration

  • Fake Store API:
    • Connects the product list and CRUD operations.
    • API calls are handled using Axios.

6. Routing

  • React Router DOM:
    • Implements routing in the application.

7. Styling

  • Bootstrap:
    • Styles the entire application.

Deployment

The project is deployed on Vercel.

Installation and Setup Instructions

  1. Clone the repository:
    git clone https://github.com/akifzdemir/ila
  2. Navigate to the project directory:
    cd ila
  3. Install dependencies:
    npm install
  4. Create a .env file in the root directory and add your Auth0 credentials:
    REACT_APP_AUTH0_DOMAIN=your-auth0-domain
    REACT_APP_AUTH0_CLIENT_ID=your-auth0-client-id
    
  5. Start the application:
    npm run dev
  6. Visit http://localhost:5173 to view the application.

Technologies Used

  • React.js
  • Auth0
  • Redux Toolkit
  • React Router DOM
  • Bootstrap
  • Axios
  • Vercel

ila's People

Contributors

akifzdemir 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.