Skip to content

A platform to support tree planting initiatives through donations. Features include a donation landing page, user dashboards, project pages, secure payment integration, donor engagement tools, transparency, an admin panel, impact measurement, and a mobile-friendly design.

Notifications You must be signed in to change notification settings

StudentTechHub/PlantForFuture

Repository files navigation

Getting Started

  1. Installation

    • Clone the repository:

      git clone <repository-url>
      cd <project-folder>
    • Install dependencies:

      npm install
  2. Development

    • Start the development server:

      npm run dev
    • Open http://localhost:3000 in your browser to view the application.

  3. Build

    • Build the production-ready files:

      npm run build
    • The optimized build will be available in the dist directory.

Configuration

  1. Create a .env file in the root directory.

  2. Add your MongoDB Atlas connection URI to the .env file:

    MONGODB_URI=mongodb+srv://<username>:<password>@<cluster-url>/mydatabase?retryWrites=true&w=majority

Testing

  • Use tools like Postman to test your API endpoints.

  • Example API endpoint for creating a user:

    • POST http://localhost:3001/users
    • Request body (JSON):
      {
        "name": "some user",
        "email": "someuser@example.com"
      }
  • Verify data in your MongoDB Atlas cluster using MongoDB Compass or CLI tools.

About

A platform to support tree planting initiatives through donations. Features include a donation landing page, user dashboards, project pages, secure payment integration, donor engagement tools, transparency, an admin panel, impact measurement, and a mobile-friendly design.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •