- 📍 Overview
- 📦 Features
- 📂 Structure
- 💻 Installation
- 🏗️ Usage
- 🌐 Hosting
- 📄 License
- 👏 Authors
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.
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. |
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
- Node.js (LTS version recommended)
- npm or yarn
- A code editor (VS Code recommended)
- Clone the repository:
git clone https://github.com/coslynx/plantation-vegetation-web-app.git
- Navigate to the project directory:
cd plantation-vegetation-web-app
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and navigate to http://localhost:3000.
- Build the application:
npm run build
- Deploy the built application to your preferred hosting platform.
NEXT_PUBLIC_API_URL
: The base URL of your backend API.
/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.
- 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.
This project is licensed under the MIT License.
- Author Name - Spectra.codes
- Creator Name - DRIX10
Why only generate Code? When you can generate the whole Repository!