Skip to content

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Repository files navigation

React App Store

A small, responsive single-page React application that showcases mobile apps, their details, ratings, and installation management — built with Vite, React and TailwindCSS.

Table of contents

About

This repository contains a small App Store UI built for demonstration or assignment purposes. It includes a home/landing page, a list of apps, app details pages, an installation management area, charts for stats, a theme toggle, and basic client-side data utilities.

The UI uses TailwindCSS (and DaisyUI utilities), and the project is scaffolded with Vite for fast development and builds.

Features

  • Browse trending and latest apps
  • App detail pages with description, ratings and statistics
  • Install / Uninstall apps (client-side, helper in src/Utility/addToDB.js)
  • Theme (light/dark) toggle
  • Charts/visual stats using recharts
  • React Router for navigation
  • Toast notifications using react-toastify

Tech stack

  • Runtime: React 19
  • Bundler / dev server: Vite
  • Styling: Tailwind CSS (with DaisyUI helper styles)
  • Routing: react-router
  • Notifications: react-toastify
  • Charts: recharts

Dependencies (from package.json):

@tailwindcss/vite
react 19.x
react-dom 19.x
react-router 7.x
react-toastify
recharts
tailwindcss

Dev dependencies include Vite, eslint, @vitejs/plugin-react and related tooling.

Quick start

Prerequisites: Node.js (14+ recommended, but use Node 16+ for best compatibility) and npm (or yarn/pnpm).

Open a terminal (PowerShell) in the project root and run:

# install dependencies
npm install

# start dev server
npm run dev

By default Vite will run at http://localhost:5173 (or another free port). Open that URL in your browser.

To create a production build:

npm run build

# to preview the production build locally
npm run preview

To run the project's linter:

npm run lint

Available scripts

  • npm run dev — start the Vite dev server
  • npm run build — build the production bundle
  • npm run preview — locally preview the production build
  • npm run lint — run ESLint across the project

Project structure (important files)

public/
	└─ appsData.json       # sample apps data used by the UI
src/
	├─ assets/             # images and icons used in the site
	├─ Components/         # shared UI components (Hero, Navbar, Footer, etc.)
	├─ Pages/              # page-level components (Home, Apps, App pages, Error pages)
	├─ Routes/Routes.jsx   # route definitions
	└─ Utility/
			├─ addToDB.js      # small client-side helpers for installing apps
			└─ numberFormat.js

Open src/Pages/Apps/Apps.jsx and src/Pages/App/AppDetails.jsx to find the main app-list and details implementations.

Data source

The app consumes static JSON data located at public/appsData.json (a simple array of app records). This means you can edit that file to add or modify the demo apps without running a backend.

If you want to connect a real API, replace the data access where appsData.json is fetched or imported and point it to your endpoint.

How to use

  • Visit the Home page to see highlights and trending apps.
  • Use the Apps list to browse categories and open details for each app.
  • On an app detail page you can view descriptions, ratings and a download/install action.
  • Use the My Installation page to see apps you’ve installed (client-side).
  • Toggle theme via the theme control in the header.

Troubleshooting

  • If you see styling not applied: ensure Tailwind CSS is built (Vite dev server handles this). Verify tailwind.config.js exists if you customize Tailwind.
  • If ports are in use, Vite will pick another port; check terminal output for the exact URL.

Contributing

Contributions are welcome. For small fixes or improvements:

  1. Fork the repo
  2. Create a branch for your change
  3. Open a pull request with a clear description

Please run linting before submitting changes: npm run lint.

License

This project does not contain a license file. Add a LICENSE if you plan to publish.

Contact

If you want help or need me to expand the README (screenshots, deploy examples, tests), tell me what you'd like added and I’ll update it.

About

No description, website, or topics provided.

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages