The Family Tree Project is a web-based application designed to visualize family relationships interactively. It features a React front end integrated with a Flask back end. The project leverages the family-chart library for rendering the family tree and is planned for future deployment on Vercel.
- React Front End: The front end fetches family tree data from the Flask back end.
- Flask Back End: Manages data retrieval and serves as the API layer.
- Family-Chart Library: Provides the core visualization of the family tree.
Family-Tree-Project-React/
📦backend
┣ 📜app.py
┗ 📜requirements.txt
Family-Tree-Project-React/
📦frontend
┣ 📂node_modules
┣ 📂public
┃ ┣ 📜favicon.ico
┃ ┣ 📜favicon.png
┃ ┣ 📜index.html
┃ ┣ 📜manifest.json
┃ ┗ 📜robots.txt
┣ 📂src
┃ ┣ 📂components
┃ ┃ ┣ 📂ContactPage
┃ ┃ ┃ ┗ 📜ContactPage.js
┃ ┃ ┣ 📂FamilyTree
┃ ┃ ┃ ┣ 📜FamilyTree.js
┃ ┃ ┃ ┣ 📜FamilyTreePage.js
┃ ┃ ┃ ┗ 📜FamilyTrees.css
┃ ┃ ┗ 📂HomePage
┃ ┃ ┃ ┣ 📜HomePage.css
┃ ┃ ┃ ┗ 📜HomePage.js
┃ ┣ 📂styles
┃ ┃ ┣ 📜App.css
┃ ┃ ┗ 📜index.css
┃ ┣ 📜App.js
┃ ┣ 📜App.test.js
┃ ┣ 📜index.js
┃ ┣ 📜logo.svg
┃ ┣ 📜reportWebVitals.js
┃ ┣ 📜theme.js
┃ ┗ 📜setupTests.js
┣ 📜.gitignore
┣ 📜package-lock.json
┣ 📜package.json
┗ 📜README.md
- Deploy the frontend, potentially using platforms like Heroku or Vercel.
- Integrate Google Cloud Storage or AWS S3 for reliable and persistent data storage, ensuring seamless data retrieval.
- Enhance the React front end with better interactivity and styling.
- Improve mobile responsiveness and user experience.
- Implement search function into the tree.
- Add analytics for members in the tree
- Node.js (for React front end)
- Python 3.x (for Flask back end)
-
Clone the Repository:
git clone https://github.com/your-username/family-tree-project.git cd family-tree-project-react
-
Install Flask Dependencies:
cd backend pip install -r requirements.txt
-
Run the Flask Server:
python app.py
-
Install React Dependencies:
cd frontend npm install npm start
-
Access the Application: Open your web browser and navigate to
http://localhost:3000
.