Capitex is a web application developed for the FBLA Coding and Programming event. Built using React, Supabase, and TSX, Capitex provides a secure and user-friendly platform for managing digital transactions and financial interactions. This project showcases modern web development practices, including responsive design, secure backend integration, and a seamless user experience.
- User Authentication: Secure sign-up, login, and logout functionality powered by Supabase Auth.
- Transaction Management: Create, view, and manage transactions with real-time updates.
- User Dashboard: Personalized dashboard for tracking account activity and balances.
- Responsive Design: Optimized for both desktop and mobile devices using Tailwind CSS.
- Type-Safe Development: Built with TypeScript for enhanced code reliability and maintainability.
- Frontend: React, TSX, Tailwind CSS
- Backend: Supabase (Authentication, Database, Realtime)
- Language: TypeScript
- Hosting: Deployed via [Vercel/Netlify/Other Platform] (replace with actual hosting platform)
To run Capitex locally, follow these steps:
-
Clone the Repository:
git clone https://github.com/your-username/projectname cd capitex -
Install Dependencies:
npm install
-
Set Up Environment Variables: Create a
.envfile in the root directory and add the following:VITE_SUPABASE_URL=your-supabase-project-url VITE_SUPABASE_ANON_KEY=your-supabase-anon-keyReplace
your-supabase-project-urlandyour-supabase-anon-keywith your Supabase project credentials. -
Run the Development Server:
npm run dev
The app will be available at
http://localhost:5173.
- Sign Up/Login: Create an account or log in using the authentication interface.
- Dashboard: View your account balance and recent transactions.
- Send/Receive Funds: Use the transaction form to send or request funds securely.
- Profile Management: Update user information and manage account settings.
capitex/
├── public/ # Static assets
├── src/
│ ├── components/ # Reusable React components
│ ├── pages/ # Page components (e.g., Home, Dashboard, Transactions)
│ ├── supabase/ # Supabase client configuration and queries
│ ├── styles/ # Tailwind CSS and custom styles
│ ├── types/ # TypeScript type definitions
│ ├── App.tsx # Main app component
│ ├── main.tsx # Entry point
├── .env # Environment variables
├── package.json # Project dependencies and scripts
├── README.md # This file
- Create a Supabase project at supabase.com.
- Set up the following tables in your Supabase database:
users: Stores user information (id, email, etc.).transactions: Stores transaction details (sender_id, receiver_id, amount, timestamp).
- Enable Realtime for the
transactionstable to support live updates. - Configure Supabase Authentication with email/password and/or OAuth providers.
This project was developed for the FBLA Coding and Programming event. Contributions are welcome for educational purposes! To contribute:
- Fork the repository.
- Create a feature branch (
git checkout -b feature-name). - Commit your changes (
git commit -m 'Add feature'). - Push to the branch (
git push origin feature-name). - Open a pull request.
This project is licensed under the MIT License. See the LICENSE file for details.
- Built for the FBLA Coding and Programming event.
- Thanks to the React, Supabase, and Tailwind CSS communities for their excellent documentation and tools.