A modern React-based frontend for the Contact Pipeline Haven application, featuring a beautiful UI built with shadcn-ui and Tailwind CSS.
- Modern, responsive UI with dark mode support
- Real-time activity feed
- Task management and tracking
- Team collaboration features
- Contact management
- Email integration
- Settings and user preferences
-
Core:
- Vite
- TypeScript
- React
- React Router
- React Query
-
UI/UX:
- shadcn-ui
- Tailwind CSS
- Lucide Icons
- React Hot Toast
- Node.js (v16 or higher)
- npm (v7 or higher)
- Navigate to the frontend directory:
cd frontend
- Install dependencies:
npm install
- Set up environment variables:
Create a
.env
file in the frontend directory:
VITE_API_URL=http://localhost:3000/api
- Start the development server:
npm run dev
The application will be available at http://localhost:5173
- Development server runs on port 5173
- Hot module replacement (HMR) enabled
- TypeScript for type safety
- ESLint and Prettier for code formatting
npm run dev
- Start development servernpm run build
- Build for productionnpm run preview
- Preview production buildnpm run lint
- Run ESLintnpm run format
- Format code with Prettier
frontend/
├── src/
│ ├── components/ # Reusable UI components
│ ├── contexts/ # React contexts
│ ├── hooks/ # Custom React hooks
│ ├── pages/ # Page components
│ ├── services/ # API services
│ ├── styles/ # Global styles
│ ├── types/ # TypeScript types
│ └── utils/ # Utility functions
├── public/ # Static assets
└── index.html # Entry HTML file
The project uses shadcn-ui components, which are built on top of Radix UI and styled with Tailwind CSS. Key components include:
- Cards
- Buttons
- Forms
- Modals
- Toast notifications
- Dropdowns
- Tables
- 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
This project is licensed under the MIT License - see the LICENSE file for details.