Skip to content

onepercman/reactjs-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ReactJS Template

A modern, production-ready React template with TypeScript, Tailwind CSS, and more.

Features

Prerequisites

  • Node.js >= 20
  • pnpm >= 8

Getting Started

  1. Clone the repository:

    git clone https://github.com/your-username/reactjs-template.git
    cd reactjs-template
  2. Install dependencies:

    pnpm install
  3. Start development server:

    pnpm dev
  4. Build for production:

    pnpm build

Available Scripts

  • pnpm dev - Start development server
  • pnpm build - Build for production
  • pnpm preview - Preview production build
  • pnpm test - Run tests
  • pnpm lint - Run linter
  • pnpm format - Format code with Prettier
  • pnpm tsc - Type check TypeScript files

Project Structure

src/
├── features/     # Feature-based components and logic
├── shared/       # Shared components and utilities
├── services/     # API and external service integrations
├── libs/         # Third-party library integrations
├── config/       # Configuration files
└── styles/       # Global styles and theme

Environment Variables

Create a .env file in the root directory based on .env.template:

VITE_API_URL=your_api_url
VITE_APP_NAME=your_app_name

Contributing

Please read CONTRIBUTING.md for details on our code of conduct and the process for submitting pull requests.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages