Skip to content

reynaldomarchell/greenrise

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

55 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

GreenRise ๐ŸŒฑ

GreenRise Logo

GreenRise is a web application dedicated to facilitating donations for environmental causes. We connect users with impactful events and provide a secure platform for contributing to a greener future.

Live Website

GreenRise Live


Tech Stack

Laravel Inertia JS React TailwindCSS MySQL Midtrans

  1. Laravel as the backend framework.
  2. Inertia.js for a seamless server-side rendered single-page application experience.
  3. React for building user interfaces.
  4. Tailwind CSS for styling.
  5. MySQL as the database.
  6. Midtrans for payment processing.

Table of Contents

  1. Installation
  2. Environment Setup
  3. Usage
  4. Features
  5. Contributors

Installation

Prerequisites

  • PHP and Composer installed on your machine.
  • Node.js and npm (or bun, yarn, pnpm, etc.) installed.

Steps

  1. Clone Repository:
git clone https://github.com/reynaldomarchell/greenrise.git
  1. Install PHP Dependencies:
composer install
  1. Install JavaScript Dependencies:
npm install
  1. Setup Database:

Create a MySQL database and configure the connection in your .env file. Then run migrations + seeder:

php artisan migrate --seed
  1. Generate Key:
php artisan key:generate
  1. Link Storage:
php artisan storage:link
  1. Start Development Server:

Start both the Laravel and frontend development servers:

php artisan serve
npm run dev
  1. Access Application:

Open http://localhost:8000/ or your configured development URL in your browser. You can use the following default account or create your own account.

#Admin
Email: [email protected]
Password: admin

#User
Email: [email protected]
Password: user

Environment Setup

Ensure you have a valid .env file with the following variables (replace placeholders with your actual values):

APP_NAME=GreenRise
APP_ENV=local
APP_KEY=YOUR_APP_KEY
APP_DEBUG=true
APP_URL=http://localhost

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=your_database_name
DB_USERNAME=your_database_user
DB_PASSWORD=your_database_password

MIDTRANS_SERVER_KEY=YOUR_MIDTRANS_SERVER_KEY
MIDTRANS_CLIENT_KEY=YOUR_MIDTRANS_CLIENT_KEY
MIDTRANS_IS_PRODUCTION=false

MAIL_MAILER=smtp
MAIL_HOST=YOUR_MAIL_HOST
MAIL_PORT=YOUR_MAIL_PORT
MAIL_USERNAME=YOUR_MAIL_USERNAME
MAIL_PASSWORD=YOUR_MAIL_PASSWORD
MAIL_ENCRYPTION=tls
MAIL_FROM_ADDRESS=YOUR_FROM_EMAIL
MAIL_FROM_NAME="${APP_NAME}"

Usage

  1. Landing Page (/): Browse featured and upcoming events.
  2. Login/Register: Create an account or log in to donate.
  3. Events (/events): View all events and filter by participation.
  4. Event Details (/events/id): View event details and make a donation.
  5. Dashboard (/dashboard): View donation history and statistics.
  6. Admin Dashboard (/admin): (For administrators) Manage events.

Features

  • Browse Events: Discover various environmental initiatives.
  • Secure Donations: Make secure donations via Midtrans.
  • Donation History: Track your contributions.
  • Event Management: (For administrators) Create, edit, and delete events.
  • User Authentication: Secure user accounts and login.

Contributors

About

๐Ÿ“˜ Final Project for Web Programming (COMP6821001)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages