Skip to content

SJellen/fetch-rewards

Repository files navigation

Fetch Rewards Frontend Challenge

📸 Screenshots

Screenshot 6 Screenshot 3 Screenshot 2
Screenshot 5 Screenshot 4 Screenshot 1

👤 Author Details

🌐 Live Application

You can view the live application here: Fetch Connects Live Demo

This project is a React + TypeScript application built with Vite, implementing a receipt processing system for Fetch Rewards. The application allows users to upload receipts, process them, and view their points.

🚀 Quick Start

Prerequisites

  • Node.js (v18 or higher)
  • npm or yarn package manager

Installation

  1. Clone the repository:
git clone <repository-url>
cd fetch-rewards
  1. Install dependencies:
npm install
# or
yarn install
  1. Start the development server:
npm run dev
# or
yarn dev

The application will be available at http://localhost:5173

🛠️ Available Scripts

  • npm run dev - Start the development server
  • npm run build - Build the production-ready application
  • npm run preview - Preview the production build locally
  • npm run lint - Run ESLint to check code quality

🏗️ Tech Stack

  • React 18
  • TypeScript
  • Vite
  • TailwindCSS
  • React Router DOM
  • ESLint

📁 Project Structure

fetch-rewards/
├── src/
│   ├── components/     # Reusable UI components
│   ├── pages/         # Page components
│   ├── services/      # API and business logic services
│   ├── types/         # TypeScript type definitions
│   ├── utils/         # Utility functions
│   ├── App.tsx        # Main application component
│   └── main.tsx       # Application entry point
├── public/            # Static assets
├── index.html         # HTML template
├── package.json       # Project dependencies and scripts
├── tsconfig.json      # TypeScript configuration
├── vite.config.ts     # Vite configuration
└── tailwind.config.js # TailwindCSS configuration

📝 Code Style

This project uses ESLint for code linting and follows TypeScript best practices. The code style is enforced through the following configurations:

  • ESLint for code quality
  • TypeScript for type safety
  • Prettier for code formatting

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages