Honua is a modern social platform built to connect environmentally conscious individuals and communities. The platform enables users to share environmental initiatives, discuss sustainability practices, and collaborate on green projects.
For inquiries, feedback, or support, connect with us through:
- React with TypeScript
- Vite for build tooling
- Supabase Client for authentication and real-time features
- Modern UI components and styling
- Node.js with TypeScript
- Supabase for database and authentication
- RESTful API architecture
- PostgreSQL (via Supabase)
- Structured tables for:
- User profiles
- Communities
- Posts
- Comments
- Social interactions
- Followers
- Link previews
- User authentication (email and Google OAuth)
- Profile management
- Social interactions (posts, comments, likes)
- Community creation and management
- Real-time updates
- Media sharing
- Explore feed
- Node.js (v16 or higher)
- npm or yarn
- Supabase account and project
-
Navigate to the frontend directory:
cd frontend
-
Install dependencies:
npm install
-
Create a
.env
file with your Supabase credentials:VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key
-
Start the development server:
npm run dev
-
Navigate to the backend directory:
cd backend
-
Install dependencies:
npm install
-
Set up environment variables:
cp .env.example .env
Then edit
.env
with your configuration. -
Start the development server:
npm run dev
The project uses Supabase migrations for database schema management. Migrations are located in the supabase/migrations
directory.
To apply migrations:
- Install Supabase CLI
- Run migrations:
supabase migration up
├── frontend/ # React frontend application
│ ├── src/
│ │ ├── api/ # API integration
│ │ ├── components/ # Reusable components
│ │ ├── contexts/ # React contexts
│ │ ├── lib/ # Utilities and configurations
│ │ ├── pages/ # Page components
│ │ └── services/ # Business logic services
├── backend/ # Node.js backend application
│ ├── src/
│ │ ├── routes/ # API routes
│ │ ├── types/ # TypeScript types
│ │ └── utils/ # Utility functions
└── supabase/ # Database migrations and configurations
└── migrations/ # SQL migration files
We welcome contributions! Please read our contributing guidelines before submitting pull requests.
This project is licensed under the MIT License - see the LICENSE file for details.