https://github.com/younus-always/fundvista
Welcome to FundVista, a modern, user-friendly, and secure donation platform designed to connect compassionate donors with impactful causes. Our mission is to make the process of giving simple, transparent, and empowering for everyone involved.
https://github.com/younus-always/fundvista
daisyui expressjs firebase mongodb nodejs reactjs tailwindcss
Last synced: 3 months ago
JSON representation
Welcome to FundVista, a modern, user-friendly, and secure donation platform designed to connect compassionate donors with impactful causes. Our mission is to make the process of giving simple, transparent, and empowering for everyone involved.
- Host: GitHub
- URL: https://github.com/younus-always/fundvista
- Owner: younus-always
- Created: 2024-12-29T14:04:45.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-06T18:03:51.000Z (over 1 year ago)
- Last Synced: 2025-05-17T17:39:49.737Z (about 1 year ago)
- Topics: daisyui, expressjs, firebase, mongodb, nodejs, reactjs, tailwindcss
- Language: JavaScript
- Homepage: https://fundvista.netlify.app
- Size: 3.26 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ποΈ FundVista β Empowering Giving, Transforming Lives
## π Project Overview
Welcome to **FundVista**, a modern, user-friendly, and secure donation platform designed to connect compassionate donors with impactful causes.
Our mission is to make the process of giving **simple, transparent, and empowering** for everyone involved.
We aim to create a seamless experience where users can:
β
Explore various donation campaigns
β
Contribute with confidence
β
Track their impactβall with just a few clicks
Whether you're supporting **local initiatives, global causes, or personal efforts**, FundVista ensures every step of your donation journey is **easy, intuitive, and secure**.
---
## π Live Demo
π **Frontend:** [FundVista UI](https://fundvista.netlify.app)
π **Backend:** [FundVista Server](https://fund-vista-server.vercel.app)
---
## π Installation
Follow these steps to set up the project on your local machine:
## πΉ Frontend Setup
1οΈβ£ **Clone the repository**
```sh
git clone https://github.com/yourusername/fundvista-frontend.git
cd fundvista-frontend
```
2οΈβ£ **Install dependencies**
```sh
npm install
```
3οΈβ£ **Configure environment variables**
Create a `.env` file in the frontend root directory and add:
```ini
VITE_FIREBASE_APIKEY=your_api_key
VITE_FIREBASE_AUTHDOMAIN=your_auth_domain
VITE_FIREBASE_PROJECTID=your_project_id
VITE_FIREBASE_STORAGEBUCKET=your_storage_bucket
VITE_FIREBASE_MESSAGINGSENDERID=your_messaging_sender_id
VITE_FIREBASE_APPID=your_app_id
```
4οΈβ£ **Start the frontend server**
```sh
npm run dev
```
Then, open your browser and navigate to `http://localhost:5173/`
## πΉ Backend Setup
1οΈβ£ **Clone the repository**
```sh
git clone https://github.com/yourusername/fundvista-backend.git
cd fundvista-backend
```
2οΈβ£ **Install dependencies**
```sh
npm install
```
3οΈβ£ **Configure environment variables**
Create a `.env` file in the backend root directory and add:
```ini
DB_USER=your_database_user
DB_PASS=your_database_password
```
4οΈβ£ **Start the backend server**
```sh
npm start
```
By default, the backend runs on `http://localhost:4000/`
---
## β¨ Features
### π₯οΈ **Frontend**
β
Beautiful and responsive UI using **TailwindCSS** & **DaisyUI**
β
Secure authentication and data storage with **Firebase**
β
Interactive UI elements with **React Tooltip, SweetAlert2, & AOS**
β
Smooth animations & date picker for campaign management
β
Modular and reusable components for scalability
### βοΈ **Backend**
β
**Express.js** for server-side logic
β
**MongoDB** as a secure and scalable NoSQL database
β
**dotenv** for managing environment variables
β
**CORS** setup for seamless frontend-backend communication
β
**Vercel hosting** for easy deployment and scalability
---
## π¦ Dependencies
### πΉ Frontend
**Main Dependencies:**
- [`react`](https://react.dev/) β Modern frontend framework
- [`react-dom`](https://react.dev/) β DOM rendering for React
- [`react-router-dom`](https://reactrouter.com/) β Routing solution
- [`firebase`](https://firebase.google.com/) β Backend and database services
- [`react-icons`](https://react-icons.github.io/react-icons/) β Icon library
- [`react-hot-toast`](https://react-hot-toast.com/) β Stylish notifications
- [`react-tooltip`](https://react-tooltip.com/) β Tooltip integration
- [`sweetalert2`](https://sweetalert2.github.io/) β Beautiful alert popups
- [`aos`](https://michalsnik.github.io/aos/) β Scroll animations
- [`tailwindcss`](https://tailwindcss.com/) β Utility-first CSS framework
- [`daisyui`](https://daisyui.com/) β UI component library
**Development Dependencies:**
- [`vite`](https://vitejs.dev/) β Lightning-fast development build tool
- [`eslint`](https://eslint.org/) β JavaScript linter for clean code
- [`@vitejs/plugin-react`](https://www.npmjs.com/package/@vitejs/plugin-react) β React plugin for Vite
### πΉ Backend
- [`express`](https://expressjs.com/) β Minimalist web framework for Node.js
- [`mongodb`](https://www.mongodb.com/) β NoSQL database for data storage
- [`dotenv`](https://www.npmjs.com/package/dotenv) β Environment variable management
- [`cors`](https://www.npmjs.com/package/cors) β Enable CORS for frontend-backend communication
---
## π Deployment
### πΉ **Frontend (Netlify/Vercel)**
1. Push your code to GitHub
2. Deploy the repository to **Netlify** or **Vercel**
3. Add your `.env` variables in the hosting platform
### πΉ **Backend (Vercel)**
1. Push your code to GitHub
2. Deploy using **Vercel**
3. Ensure your `vercel.json` file is configured properly:
```json
{
"version": 2,
"builds": [
{
"src": "index.js",
"use": "@vercel/node"
}
],
"routes": [
{
"src": "/(.*)",
"dest": "/",
"methods": ["GET", "POST", "PUT", "PATCH", "DELETE", "OPTIONS"]
}
]
}
```
---
## π Configuration
### πΉ Firebase Setup
1. Go to **[Firebase Console](https://console.firebase.google.com/)**
2. Create a new project or select an existing one
3. Navigate to **Project Settings** β **General**
4. Copy the **Firebase SDK Config** and paste it into the `.env` file
### πΉ MongoDB Setup
1. Create a database in **MongoDB Atlas**
2. Get your **database user** and **password**
3. Update the `.env` file in the backend
---
## π Troubleshooting
**β Firebase Errors:** Check API key configuration and Firebase setup.
**β TailwindCSS Not Working:** Ensure `postcss` and `autoprefixer` are installed.
**β Backend Not Running:** Verify MongoDB connection and `.env` variables.
---
## π₯ Contributors
π‘ **Md. Younus Islam** β [GitHub Profile](https://github.com/younus-always)
π Contributions are welcome! Feel free to fork the repo, open issues, and submit pull requests.
---
## π Final Thoughts
π **FundVista is more than just a platformβitβs a movement!**
We believe in the **power of giving** and the **impact of collective action**. Whether you're a donor or a campaign organizer, your contributions **make a difference**.
π Thank you for being a part of this journey. Letβs make the world a better place, one donation at a time!
**Happy coding & happy giving!** ππ