A modern React TypeScript application for Metro services, built with Vite and styled with Tailwind CSS.
- Modern React 18 with TypeScript
- Responsive design with Tailwind CSS
- Authentication system with context management
- API integration with Axios
- React Query for efficient data fetching
- React Router for navigation
- Swiper.js for carousel components
- ESLint for code quality
- Frontend Framework: React 18 with TypeScript
- Build Tool: Vite
- Styling: Tailwind CSS
- State Management: React Query (TanStack Query)
- Routing: React Router DOM
- HTTP Client: Axios
- UI Components: Swiper.js
- Development: ESLint, TypeScript
- Deployment: Vercel
- Node.js (version 16 or higher)
- npm or yarn package manager
- Clone the repository:
git clone https://github.com/hcmurs/metro-fe.git
cd metro-fe/metro-app-fe- Install dependencies:
npm install- Set up environment variables:
cp .env.sample .env- Start development server:
npm run devmetro-app-fe/
├── public/
├── src/
│ ├── apis/
│ ├── components/
│ ├── constants/
│ ├── contexts/
│ ├── hooks/
│ ├── layouts/
│ ├── pages/
│ ├── queries/
│ ├── routes/
│ ├── types/
│ ├── utils/
│ ├── App.tsx
│ ├── App.css
│ ├── main.tsx
│ └── index.css
├── index.html
├── vite.config.ts
├── tailwind.config.js
├── eslint.config.js
├── package.json
└── .env.sample
npm run dev- Start development servernpm run build- Build for productionnpm run preview- Preview production buildnpm run lint- Run ESLint
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
Built with ❤️ by the HCMURS team