Skip to content

SmartTrack is an asset management web app that allows HR to manage assets, approve employee requests, and generate reports. Employees can request assets, track requests, and view details. The app includes features like asset filtering, role management, and PDF report generation. Payments are securely processed via Stripe.

Notifications You must be signed in to change notification settings

Atef-Abrar-Bhuyian/Smart-Track-Client

Repository files navigation

Smart Track

Homepage

Smart Track is a web application designed for managing and tracking assets within an organization. The system allows HR and employees to interact with assets, request or approve asset distributions, and generate detailed reports.

Features

  • HR Management:

    • HR can add assets as returnable or non-returnable.
    • HR can approve or reject asset requests made by employees.
    • HR can add users as team members.
    • HR can search assets or filter assets.
    • HR can see the top 5 Pending Requests, Top Most Requested Items, Limited Stock Items, and a Pie Chart showing the percentage of returnable vs non-returnable items requested by employees on the homepage.
  • Employee Management:

    • Employees can request assets.
    • Employees can search or filter assets.
    • Employees can see Pending Requests and Monthly Requests on their homepage.
    • Employees can return returnable assets.
    • Employees can print a PDF of asset information once their requests are approved.

Technologies Used

  • Frontend:

    • React
    • Firebase (for authentication)
    • React Router (for routing)
    • Tailwind CSS (for styling)
    • Flowbite React (for UI components)
    • Axios (for making API requests)
    • React Query (for data fetching and state management)
    • Recharts (for data visualization)
  • Backend:

    • MongoDB (for data storage)
    • Node.js (for server-side logic)
    • Express.js (for building the REST API)
    • Firebase (for authentication)
  • Other Libraries:

    • React-Stripe (for Stripe integration)
    • SweetAlert2 (for user-friendly alerts)
    • Animate.css (for animations)
    • Lottie-React (for interactive animations)
    • Typewriter-Effect (for typing animations)

npm Packages Used

Here are the main npm packages used in the project:

  • @react-pdf/renderer: For generating PDFs of asset information.
  • @stripe/react-stripe-js, @stripe/stripe-js: For Stripe integration to handle payments.
  • @tanstack/react-query: For data fetching, caching, and synchronization.
  • animate.css: For adding animations to elements.
  • axios: For making HTTP requests.
  • date-fns: For handling date manipulation.
  • firebase: For authentication.
  • flowbite-react: For UI components such as modals, dropdowns, and buttons.
  • localforage: For offline storage of tasks and data.
  • lottie-react: For interactive animations.
  • match-sorter: For sorting data.
  • react-router-dom: For routing within the app.
  • react-toastify: For displaying notifications.
  • recharts: For rendering charts and graphs.
  • sweetalert2: For elegant alerts.
  • swiper: For implementing image sliders.
  • typewriter-effect: For adding typewriter animations to text.
  • express: For building the backend API.
  • mongoose: For interacting with MongoDB in the backend.

HR Login Credentials

Live Website

You can check out the live version of the website here:

⚙️ Installation

To run Bistro Boss locally, follow these steps:

1️⃣ Clone the Repository

2️⃣ Install Dependencies

  • npm install

3️⃣ Set Up .env

  • VITE_apiKey=your_api_key
  • VITE_authDomain=your_auth_domain
  • VITE_projectId=your_project_id
  • VITE_storageBucket=your_storage_bucket
  • VITE_messagingSenderId=your_messaging_sender_id
  • VITE_appId=your_app_id
  • VITE_PAYMENT_GATEWAY_PK=your_publishable_key

4️⃣ Start the Development Server

  • npm run dev

About

SmartTrack is an asset management web app that allows HR to manage assets, approve employee requests, and generate reports. Employees can request assets, track requests, and view details. The app includes features like asset filtering, role management, and PDF report generation. Payments are securely processed via Stripe.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages