This is the frontend application for the CashFlow. It provides a user interface for managing accounts, performing transactions, and viewing user information. The frontend is built using React(vite) and Tailwind CSS.
Make sure you have the following installed:
- Node.js (v14 or later)
- npm (v6 or later)
-
Clone the repository:
git clone https://github.com/shyali/CashFlow/tree/main/frontend.git cd frontend
-
Install the dependencies:
npm install
Create a .env
file in the root directory and add the necessary environment variables:
VITE_BASE_URL=your_backend_api_url
To start the development server, use the following command:
npm run dev
The app will be running on `http://localhost:5173/`.
- Path: `/dashboard`
- Description: Displays the user's balance, user information, and allows access to other features of the app.
- Components Used:
- `Appbar`
- `Balance`
- `Users`
- Path: `/`
- Description: The landing page of the application, providing options to sign up or sign in.
- Components Used:
- `Home`
- Path: `/sendmoney`
- Description: Allows the user to send money to another user.
- Components Used:
- `Heading`
- `Appbar`
- Path: `/settings`
- Description: Allows the user to update their credentials.
- Components Used:
- `Heading`
- `SubHeading`
- `InputBox`
- `Button`
- `Appbar`
- Path: `/signin`
- Description: Allows the user to sign in to their account.
- Components Used:
- `Heading`
- `SubHeading`
- `InputBox`
- `Button`
- `BottomWarning`
- Path: `/signup`
- Description: Allows the user to create a new account.
- Components Used:
- `Heading`
- `SubHeading`
- `InputBox`
- `Button`
- `BottomWarning`
The frontend application uses a variety of reusable components, including:
- `Appbar`
- `Balance`
- `Users`
- `Heading`
- `SubHeading`
- `InputBox`
- `Button`
- `BottomWarning`
Feel free to open issues or submit pull requests if you have any suggestions or improvements.
This project is licensed under the MIT License.