Skip to content

Project: React Web App for Plantation and Vegetation Management. Created at https://spectra.codes, which is owned by @Drix10

Notifications You must be signed in to change notification settings

coslynx/plantation-vegetation-web-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

75 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


plantation-vegetation-web-app

A React web application for promoting plantation and vegetation initiatives globally.

Developed with the software and tools below.

Framework: React Frontend: Javascript, Html, Css Backend: Node.js LLMs: Custom, Gemini, OpenAI

git-last-commit GitHub commit activity GitHub top language

πŸ“‘ Table of Contents

  • πŸ“ Overview
  • πŸ“¦ Features
  • πŸ“‚ Structure
  • πŸ’» Installation
  • πŸ—οΈ Usage
  • 🌐 Hosting
  • πŸ“„ License
  • πŸ‘ Authors

πŸ“ Overview

This repository contains the source code for "A Greener Future", a web application designed to empower individuals, communities, and organizations to actively participate in plantation and vegetation efforts globally. The application provides tools for:

  • Plantation Planning: Planning, scheduling, and tracking plantation projects.
  • Resource Management: Connecting users with funding opportunities, seed suppliers, and expert consultants.
  • Community Engagement: Fostering collaboration through forums, project-specific groups, and expert networks.
  • Knowledge Sharing: Providing comprehensive information on plant species, planting techniques, and environmental benefits.
  • Environmental Awareness: Raising awareness about the importance of vegetation for sustainability.

πŸ“¦ Features

Feature Description
🌱 Plant Database A searchable database featuring a wide range of plant species, categorized by climate, region, and ecological benefits.
🌳 Plant Profiles Detailed profiles for each species, including planting techniques, care requirements, and environmental benefits.
πŸ—ΊοΈ Interactive Maps Real-time maps showcasing ongoing plantation projects worldwide, highlighting project locations and progress.
πŸ‘₯ User Profiles Users can create profiles, personalize their interests, and connect with other members based on location and expertise.
πŸ’¬ Forums & Groups Interactive forums and project-specific groups for knowledge sharing, discussions, and collaborations.
πŸ”¨ Project Management Tools for planning, tracking, and collaborating on plantation projects, including task management and progress monitoring.
πŸ’° Funding Opportunities A curated list of government schemes, NGO grants, and corporate social responsibility programs supporting plantation initiatives.
πŸŽ“ Educational Content Engaging educational modules on the importance of trees, deforestation, and reforestation, including videos, quizzes, and case studies.
πŸ€– AI Plant Identification An image recognition feature using AI to help users identify plant species in the field.
🌍 Global Impact The platform aims to make a significant contribution to global environmental efforts by promoting sustainable practices and increasing environmental awareness.

πŸ“‚ Structure

plantation-vegetation-web-app/
β”œβ”€β”€ public
β”‚   β”œβ”€β”€ favicon.ico
β”‚   └── logo.png
β”œβ”€β”€ .env
β”œβ”€β”€ src
β”‚   β”œβ”€β”€ components
β”‚   β”‚   β”œβ”€β”€ PlantCard.js
β”‚   β”‚   β”œβ”€β”€ PlantInfo.js
β”‚   β”‚   β”œβ”€β”€ ProjectCard.js
β”‚   β”‚   β”œβ”€β”€ ProjectDetails.js
β”‚   β”‚   β”œβ”€β”€ ProjectList.js
β”‚   β”‚   β”œβ”€β”€ UserCard.js
β”‚   β”‚   β”œβ”€β”€ UserList.js
β”‚   β”‚   β”œβ”€β”€ UserProfile.js
β”‚   β”‚   β”œβ”€β”€ Forum.js
β”‚   β”‚   β”œβ”€β”€ Map.js
β”‚   β”‚   β”œβ”€β”€ Navigation.js
β”‚   β”‚   β”œβ”€β”€ Footer.js
β”‚   β”‚   β”œβ”€β”€ Header.js
β”‚   β”‚   β”œβ”€β”€ LandingPage.js
β”‚   β”‚   β”œβ”€β”€ ProjectForm.js
β”‚   β”‚   β”œβ”€β”€ ProjectManagement.js
β”‚   β”‚   β”œβ”€β”€ ResourceDirectory.js
β”‚   β”‚   β”œβ”€β”€ FundingOpportunities.js
β”‚   β”‚   β”œβ”€β”€ EducationalContent.js
β”‚   β”‚   β”œβ”€β”€ AboutUs.js
β”‚   β”‚   β”œβ”€β”€ ContactUs.js
β”‚   β”‚   └── ErrorPage.js
β”‚   β”œβ”€β”€ pages
β”‚   β”‚   β”œβ”€β”€ index.js
β”‚   β”‚   β”œβ”€β”€ plant-database.js
β”‚   β”‚   β”œβ”€β”€ project.js
β”‚   β”‚   β”œβ”€β”€ projects.js
β”‚   β”‚   β”œβ”€β”€ user.js
β”‚   β”‚   β”œβ”€β”€ users.js
β”‚   β”‚   β”œβ”€β”€ forum.js
β”‚   β”‚   β”œβ”€β”€ map.js
β”‚   β”‚   β”œβ”€β”€ [projectId].js
β”‚   β”‚   β”œβ”€β”€ [userId].js
β”‚   β”‚   β”œβ”€β”€ login.js
β”‚   β”‚   β”œβ”€β”€ signup.js
β”‚   β”‚   β”œβ”€β”€ resources.js
β”‚   β”‚   β”œβ”€β”€ funding.js
β”‚   β”‚   β”œβ”€β”€ education.js
β”‚   β”‚   β”œβ”€β”€ about.js
β”‚   β”‚   β”œβ”€β”€ contact.js
β”‚   β”‚   └── api
β”‚   β”‚       β”œβ”€β”€ species.js
β”‚   β”‚       β”œβ”€β”€ projects.js
β”‚   β”‚       β”œβ”€β”€ users.js
β”‚   β”‚       β”œβ”€β”€ forum.js
β”‚   β”‚       β”œβ”€β”€ resources.js
β”‚   β”‚       └── funding.js
β”‚   β”œβ”€β”€ services
β”‚   β”‚   β”œβ”€β”€ plantService.js
β”‚   β”‚   β”œβ”€β”€ projectService.js
β”‚   β”‚   β”œβ”€β”€ userService.js
β”‚   β”‚   β”œβ”€β”€ forumService.js
β”‚   β”‚   β”œβ”€β”€ resourceService.js
β”‚   β”‚   β”œβ”€β”€ fundingService.js
β”‚   β”‚   β”œβ”€β”€ mapService.js
β”‚   β”‚   └── authService.js
β”‚   β”œβ”€β”€ utils
β”‚   β”‚   β”œβ”€β”€ constants.js
β”‚   β”‚   β”œβ”€β”€ helperFunctions.js
β”‚   β”‚   β”œβ”€β”€ validation.js
β”‚   β”‚   β”œβ”€β”€ errorHandling.js
β”‚   β”‚   └── api.js
β”‚   β”œβ”€β”€ styles
β”‚   β”‚   β”œβ”€β”€ global.css
β”‚   β”‚   β”œβ”€β”€ components.css
β”‚   β”‚   β”œβ”€β”€ pages.css
β”‚   β”‚   β”œβ”€β”€ theme.js
β”‚   β”‚   └── index.js
β”‚   └── data
β”‚       β”œβ”€β”€ plantData.json
β”‚       β”œβ”€β”€ projectData.json
β”‚       β”œβ”€β”€ userData.json
β”‚       β”œβ”€β”€ forumData.json
β”‚       β”œβ”€β”€ resourceData.json
β”‚       └── fundingData.json
β”œβ”€β”€ package.json
└── README.md

πŸ’» Installation

πŸ”§ Prerequisites

  • Node.js (LTS version recommended)
  • npm or yarn
  • A code editor (VS Code recommended)

πŸš€ Setup Instructions

  1. Clone the repository:
    git clone https://github.com/coslynx/plantation-vegetation-web-app.git
  2. Navigate to the project directory:
    cd plantation-vegetation-web-app
  3. Install dependencies:
    npm install

πŸ—οΈ Usage

πŸƒβ€β™‚οΈ Running the Project

  1. Start the development server:
    npm run dev
  2. Open your browser and navigate to http://localhost:3000.

🌐 Hosting

πŸš€ Deployment Instructions

  1. Build the application:
    npm run build
  2. Deploy the built application to your preferred hosting platform.

πŸ”‘ Environment Variables

  • NEXT_PUBLIC_API_URL: The base URL of your backend API.

πŸ“œ API Documentation

πŸ” Endpoints

  • /api/plants: Retrieves a list of plants.
  • /api/plants/:id: Retrieves a specific plant by ID.
  • /api/projects: Retrieves a list of projects.
  • /api/projects/:id: Retrieves a specific project by ID.
  • /api/users: Retrieves a list of users.
  • /api/users/:id: Retrieves a specific user by ID.
  • /api/forums: Retrieves a list of forums.
  • /api/forums/:id: Retrieves a specific forum by ID.

πŸ”’ Authentication

  • The application uses Auth0 for user authentication and authorization.
  • You will need to configure Auth0 with your application and set up the appropriate API permissions.

πŸ“œ License

This project is licensed under the MIT License.

πŸ‘₯ Authors

🌐 Spectra.Codes

Why only generate Code? When you can generate the whole Repository!