initial commit
This commit is contained in:
parent
c467271927
commit
4ba4ce1e1b
9
.gitignore
vendored
9
.gitignore
vendored
@ -22,3 +22,12 @@ dist-ssr
|
||||
*.njsproj
|
||||
*.sln
|
||||
*.sw?
|
||||
|
||||
# Environment variables
|
||||
.env
|
||||
.env.local
|
||||
.env.*.local
|
||||
|
||||
# Build artifacts
|
||||
dist.zip
|
||||
|
||||
|
||||
62
README.md
62
README.md
@ -1,16 +1,60 @@
|
||||
# React + Vite
|
||||
# Thirukalyanam Web Application
|
||||
|
||||
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
|
||||
A modern matrimonial web application built with React, Vite, and Tailwind CSS.
|
||||
|
||||
Currently, two official plugins are available:
|
||||
## Live Application
|
||||
- [Live Site](https://www.thirukalyanam.amrithaa.net/)
|
||||
|
||||
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react) uses [Babel](https://babeljs.io/) (or [oxc](https://oxc.rs) when used in [rolldown-vite](https://vite.dev/guide/rolldown)) for Fast Refresh
|
||||
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
|
||||
## Features
|
||||
- Multi-step Registration Form (Personal, Educational, Family, Lifestyle, Partner Preferences)
|
||||
- User Dashboard
|
||||
- Real-time Chat (WebSocket)
|
||||
- Profile Filtering and Matching
|
||||
- Notification System
|
||||
|
||||
## React Compiler
|
||||
## Tech Stack
|
||||
- **Frontend**: React 19, Vite
|
||||
- **Styling**: Tailwind CSS v4, Material UI
|
||||
- **State Management**: Redux Toolkit, Redux Persist
|
||||
- **Data Fetching**: React Query (TanStack Query)
|
||||
- **Icons**: Lucide React, Material Icons
|
||||
- **Notifications**: Firebase Cloud Messaging
|
||||
|
||||
The React Compiler is not enabled on this template because of its impact on dev & build performances. To add it, see [this documentation](https://react.dev/learn/react-compiler/installation).
|
||||
## Getting Started
|
||||
|
||||
## Expanding the ESLint configuration
|
||||
### Prerequisites
|
||||
- Node.js (v18 or higher)
|
||||
- npm or yarn
|
||||
|
||||
If you are developing a production application, we recommend using TypeScript with type-aware lint rules enabled. Check out the [TS template](https://github.com/vitejs/vite/tree/main/packages/create-vite/template-react-ts) for information on how to integrate TypeScript and [`typescript-eslint`](https://typescript-eslint.io) in your project.
|
||||
### Installation
|
||||
1. Clone the repository:
|
||||
```bash
|
||||
git clone https://gitpro.amrithaa.com/mageshwaran/thirukalyanamweb.git
|
||||
```
|
||||
2. Install dependencies:
|
||||
```bash
|
||||
npm install
|
||||
```
|
||||
3. Create a `.env` file and add the API base URL:
|
||||
```env
|
||||
VITE_THIRUKALYANAM_API_BASE_URL=https://www.thirukalyanam.amrithaa.net/backend/api/
|
||||
```
|
||||
|
||||
### Development
|
||||
Run the development server:
|
||||
```bash
|
||||
npm run dev
|
||||
```
|
||||
|
||||
### Production Build
|
||||
Generate a production-ready build:
|
||||
```bash
|
||||
npm run build
|
||||
```
|
||||
Preview the build locally:
|
||||
```bash
|
||||
npm run preview
|
||||
```
|
||||
|
||||
## License
|
||||
Proprietary. All rights reserved.
|
||||
|
||||
@ -53,7 +53,7 @@ class ErrorBoundary extends Component {
|
||||
</p>
|
||||
|
||||
{/* Show error details in development */}
|
||||
{process.env.NODE_ENV === "development" && this.state.error && (
|
||||
{import.meta.env.DEV && this.state.error && (
|
||||
<details className="mb-4 text-sm text-gray-500">
|
||||
<summary className="cursor-pointer font-medium">
|
||||
Error Details (Development)
|
||||
|
||||
@ -1,7 +1,12 @@
|
||||
import { defineConfig } from 'vite'
|
||||
import react from '@vitejs/plugin-react'
|
||||
import path from "path"
|
||||
import { fileURLToPath } from "url"
|
||||
import tailwindcss from '@tailwindcss/vite'
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url)
|
||||
const __dirname = path.dirname(__filename)
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
plugins: [react(), tailwindcss(),],
|
||||
@ -11,3 +16,4 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user