A modern React frontend project showcasing best practices and clean architecture.
- Modern React with Hooks
- TypeScript for type safety
- Vite for fast development and building
- Styled Components for styling
- React Router for navigation
- State management with React Context or Redux Toolkit
- ESLint and Prettier for code quality
- Jest and React Testing Library for testing
- Responsive design and mobile-first approach
- Node.js (v18.0.0 or higher)
- npm or yarn
- Clone the repository:
git clone https://github.com/afonsomartingo/react-frontend-project.git
cd react-frontend-project- Install dependencies:
npm install
# or
yarn install- Start the development server:
npm run dev
# or
yarn devsrc/
βββ assets/ # Static assets (images, fonts, etc.)
βββ components/ # Reusable UI components
βββ hooks/ # Custom React hooks
βββ layouts/ # Layout components
βββ pages/ # Page components
βββ services/ # API services and external integrations
βββ store/ # State management
βββ styles/ # Global styles and theme
βββ types/ # TypeScript type definitions
βββ utils/ # Utility functions
Run tests with:
npm run test
# or
yarn testBuild the project with:
npm run build
# or
yarn buildThis project is licensed under the MIT License - see the LICENSE file for details.
- Fork the repository
- Create your feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add some amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
Your Name - @afonsomartingo
Project Link: https://github.com/afonsomartingo/react-frontend-project