InnovateHub is a platform for discovering and sharing new digital products. Users can submit their own products, browse and search for products, upvote their favorites, and engage with the community through comments. The platform includes features for product categorization, technology tagging, and user profiles.
This project is built with modern web technologies:
-
Frontend:
- React - JavaScript library for building user interfaces
- TypeScript - Typed superset of JavaScript
- Vite - Next-generation frontend tooling
- Tailwind CSS - Utility-first CSS framework
- shadcn/ui - Reusable UI components built with Radix UI and Tailwind CSS
- React Router - Declarative routing for React
- Tanstack React Query - Data fetching and state management
-
Backend:
- Supabase - Open-source Firebase alternative
- PostgreSQL - Advanced open-source relational database
- Row Level Security (RLS) - Database-level security policies
-
Clone the repository:
git clone <repository-url> cd innovatehub
-
Install dependencies:
npm install # or with bun bun install -
Start the development server:
npm run dev # or with bun bun run dev -
Open your browser and navigate to
http://localhost:8080
-
Create a new Supabase project at https://supabase.com
-
Configure your Supabase project:
- Set up authentication providers as needed
- Run the database migrations found in the
supabase/migrationsdirectory - Set up storage buckets if needed
-
Update the Supabase client configuration:
- Create a
.env.localfile in the project root (it's git-ignored) - Add your Supabase URL and anon key:
VITE_SUPABASE_URL=https://your-project-id.supabase.co VITE_SUPABASE_ANON_KEY=your-anon-key
- Create a
-
Alternatively, you can directly update the
src/integrations/supabase/client.tsfile with your project details.
- Push your repository to GitHub, GitLab, or Bitbucket
- Sign up for Netlify
- Create a new site from Git
- Select your repository and configure build settings:
- Build command:
npm run buildorbun run build - Publish directory:
dist
- Build command:
- Configure environment variables for Supabase in the Netlify dashboard
- Push your repository to GitHub, GitLab, or Bitbucket
- Sign up for Vercel
- Import your repository
- Configure build settings:
- Framework preset: Vite
- Build command:
npm run buildorbun run build - Output directory:
dist
- Configure environment variables for Supabase in the Vercel dashboard
This project is licensed under the MIT License - see the LICENSE file for details.
Contributions are welcome! Please feel free to submit a Pull Request.