Skip to content

smit153/Sandbox-FE

Repository files navigation

React Scaffold Project

Overview

This React scaffold project is designed to help you quickly set up a modern React application. It leverages Vite for fast development and optimized builds. Below is an overview of key features and tools used in this project.

Getting Started

  1. Clone this repository.
  2. Run npm install to install dependencies.
  3. Use the provided scripts for development, building, linting, and previewing.

Scripts

  • Development: npm run dev - Uses Vite for fast development with hot module replacement.
  • Build: npm run build - Transpiles TypeScript code and builds the project using Vite.
  • Lint: npm run lint - Runs ESLint for static code analysis, ensuring code quality.
  • Preview: npm run preview - Uses Vite to preview the production build.

Major Packages

Dependencies

  • React: react and react-dom for building user interfaces.
  • Apollo Client: @apollo/client for integrating GraphQL with React.
  • Radix UI: @radix-ui/colors and @radix-ui/react-toast for UI components and toast notifications.
  • GraphQL: graphql for querying APIs using the GraphQL syntax.
  • React Router: react-router-dom for declarative navigation.

Development Dependencies

  • TypeScript: typescript and related dependencies for type-safe JavaScript development.
  • Vite: vite for a fast and efficient development experience.
  • ESLint: eslint and related packages for static code analysis and maintaining coding standards.
  • Tailwind CSS: tailwindcss for utility-first CSS framework.
  • Autoprefixer: autoprefixer for adding vendor prefixes to CSS.
  • PostCSS: postcss for transforming styles with JavaScript plugins.
  • React TypeScript Plugin: @vitejs/plugin-react for React support in Vite.
  • React Icons: react-icons for popular icon libraries.

Project Structure

  • Source Code: TypeScript and React files are typically located in the src directory.
  • Build Output: The final build is generated in the dist directory.

Feel free to customize and extend this scaffold to suit the specific needs of your React project. Happy coding!

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors