A website for SAEIF (Skill Advancement and Entrepreneurship Innovation Foundation) built with React and Node.js.
This is a full-stack web application that helps address skill gaps and empower youth through communication, connection, and community building. The platform includes features for contact forms, donations, blog management, and member access to educational content.
- React app with Tailwind CSS for styling
- Responsive design that works on mobile and desktop
- Interactive sections like the 3C Model, contact form, and donation page
- Smooth animations and hover effects
- Admin panel for content management
- Member login system with access to YouTube videos
- Node.js server with Express
- MongoDB database with Mongoose
- API endpoints for contact forms, donations, blog posts, and user management
- Authentication system with JWT tokens
- File upload handling for media content
- Node.js (version 14 or higher)
- npm or yarn
- MongoDB (you can use MongoDB Atlas for free)
-
Clone the repository
git clone https://github.com/Astitva-Rajput/SAEIF.git cd SAEIF -
Install frontend dependencies
cd frontend npm install -
Install backend dependencies
cd ../backend npm install -
Set up environment variables Create a
.envfile in the backend folder:MONGODB_URI=your_mongodb_connection_string PORT=5050 JWT_SECRET=your_jwt_secret_key
-
Start the backend server
cd backend npm startThe server will run on http://localhost:5050
-
Start the frontend
cd frontend npm startThe website will open on http://localhost:3000
- Interactive cards that expand on hover
- Shows Communication, 1:1 Connect, and Community Connect
- Responsive layout that works on all devices
- Contact form with name, email, and message fields
- Google Maps integration showing our location
- Contact info cards with phone, email, and address
- Multiple payment options (QR code, bank transfer, online)
- Tax receipt form for donors
- Impact statistics and trust information
- Blog post management (create, edit, delete)
- YouTube video management for member content
- User management and authentication
- Login system for members
- Access to exclusive YouTube video content
- Membership plans and payment integration
- Navbar that changes transparency when scrolling
- Mobile-friendly menu
- Smooth transitions and animations
- Frontend: React, Tailwind CSS, React Router
- Backend: Node.js, Express, MongoDB, Mongoose
- Authentication: JWT tokens
- Icons: React Icons (FontAwesome)
- Maps: Google Maps Embed
SAEIF/
├── frontend/ # React app
│ ├── src/
│ │ ├── components/ # Reusable components
│ │ ├── pages/ # Page components
│ │ └── App.js # Main app
│ └── package.json
├── backend/ # Node.js server
│ ├── models/ # Database schemas
│ ├── routes/ # API routes
│ ├── middleware/ # Custom middleware
│ └── index.js # Server file
└── README.md
- POST /api/contact - Submit contact form
- GET /api/blog - Get blog posts
- POST /api/blog - Create blog post (admin only)
- POST /api/donation - Process donations
- GET /api/media - Get media content
- POST /api/auth/login - User login
- GET /api/membership - Get membership plans
- POST /api/youtube - Manage YouTube videos (admin only)
The project uses a custom color scheme defined in frontend/tailwind.config.js:
- Primary blue: #1e40af
- Accent orange: #f97316
- Dark blue: #1e3a8a
Feel free to submit issues and pull requests. For major changes, please open an issue first to discuss what you'd like to change.
This project is open source and available under the MIT License.
Built for SAEIF - Empowering youth through skill development and innovation