This is a simplified version of a React project, bootstrapped with Vite and using TypeScript, Tailwind CSS, and Supabase for authentication.
To get a local copy up and running, follow these simple steps.
You need to have Node.js and npm installed on your machine. You can use nvm to manage your Node.js versions.
- Clone the repo
git clone <YOUR_GIT_URL>
- Navigate to the project directory
cd <YOUR_PROJECT_NAME>
- Install NPM packages
npm install
- Set up Supabase
- This project uses Supabase for authentication. You will need to create a
VITE_SUPABASE_URLandVITE_SUPABASE_ANON_KEYin a.envfile in the root of the project. - You can get these keys from your Supabase project dashboard.
VITE_SUPABASE_URL=your_supabase_url VITE_SUPABASE_ANON_KEY=your_supabase_anon_key - This project uses Supabase for authentication. You will need to create a
To run the app in development mode, use the following command:
npm run devThis will start the development server and you can view the application in your browser at http://localhost:5173 (the port may vary).
The project has been simplified to its core components:
src/: Contains all the source code.pages/: Contains the main pages of the application (Index,Login,MySpace,NotFound,ResetPassword).components/: Contains the reusable UI components.hooks/: Contains custom React hooks.integrations/: Contains the Supabase client configuration.
public/: Contains public assets.README.md: This file.
This project has been simplified from a much larger application. The following features have been removed:
- Admin dashboard
- Articles and news section
- Community features (members, events, projects)
- Payment integration
- Complex user profiles
The goal of this simplification is to provide a clean and simple starting point for a new project.