A revamped website for the Richmond Poverty Reduction Coalition built with Next.js and Supabase.
This is a modern web application that provides:
- Member Portal: Sign in/log in and dashboard for members
- Admin Dashboard: Administrative interface for managing the organization
- News Feed: Latest updates and announcements
- Events Calendar: Upcoming events and activities
The project uses:
- Next.js 16 - React framework
- Supabase - Backend as a Service (database, auth, storage)
- TypeScript - Type-safe development
- Tailwind CSS - Styling
- Node.js LTS - Install via nvm windows on Windows
- Docker Desktop - Required for local Supabase instance (must be running)
- Git - Version control
- Make - For running development commands
-
Clone the repository
git clone <repository-url> cd RPRC
-
Install dependencies
npm install
-
Start Docker Desktop (ensure it's running)
-
Start the development environment
make dev
-
Open your browser
- Frontend App: http://localhost:3000
- Supabase Studio: http://127.0.0.1:54323 (visual database management UI)
- View/edit tables and data
- Run SQL queries
- Manage authentication
- View API documentation
| Command | Description |
|---|---|
make dev |
Start local Supabase + Next.js dev server |
npm run dev |
Start Next.js dev server only |
npm run build |
Build for production |
npm run lint |
Run ESLint |
npm run format |
Format code with Prettier |
npm run test |
Run tests |
npx supabase status |
Check Supabase services status |
npx supabase stop |
Stop local Supabase services |
Supabase Studio (Visual Database UI):
- URL: http://127.0.0.1:54323
- Features:
- Browse and edit tables/data
- Run SQL queries
- View database schema
- Manage authentication users
- Test API endpoints
- View logs
Database Connection (for external tools):
- Host:
127.0.0.1 - Port:
54322 - Database:
postgres - Username:
postgres - Password:
postgres
For detailed development workflows, database migrations, and best practices, see:
📖 DEVELOPMENT.md - Complete development guide
This includes:
- Daily development workflow
- Making database schema changes
- Syncing with remote databases
- Common scenarios and troubleshooting
- Command reference
RPRC/
├── app/ # Next.js app directory
├── supabase/ # Supabase configuration and migrations
│ └── migrations/ # Database migration files
├── .github/ # GitHub Actions workflows
└── scripts/ # Utility scripts
npm run lint # Check for linting errors
npm run format # Format code with PrettierVS Code extensions (recommended):
Auto-formatting is configured to run on file save.
npm run test # Run test suite- Read the Development Guide
- Follow the workflow for database changes
- Ensure all checks pass before opening a PR
- Refer to the RPRC Development Guideline for team standards