A modern financial management dashboard built with React, designed primarily for testing Mocksi - an AI-powered API mocking and testing platform.
This application demonstrates common financial management features including:
- Invoice management with status workflows
- Transaction tracking and categorization
- Financial reporting and analytics
- Team management and role-based access control
- Company profile and user settings
- Frontend: React with Tailwind CSS
- Backend: Node.js/Express
- Database: PostgreSQL
- Authentication: JWT-based auth
- Deployment: Render.com
- Node.js (v14 or higher)
- npm or yarn
- PostgreSQL database
-
Clone the repository:
git clone https://github.com/yourusername/finance-dashboard.git cd finance-dashboard
-
Install dependencies:
# Install frontend dependencies cd client npm install # Install backend dependencies cd ../server npm install
-
Set up environment variables:
# In server directory, create .env file DATABASE_URL=your_postgres_connection_string JWT_SECRET=your_jwt_secret NODE_ENV=development
-
Start the development servers:
# Start backend (from server directory) npm run dev # Start frontend (from client directory) npm start
This application is designed to work seamlessly with Mocksi for API testing. Key integration points include:
- RESTful API endpoints for financial operations
- JWT-based authentication flow
- Role-based access control
- Error handling and status codes
- Data validation and transformation
To use with Mocksi:
- Import the API collection
- Configure environment variables
- Run automated tests through the Mocksi platform
npm start
: Run development servernpm test
: Run test suitenpm run build
: Build for productionnpm run lint
: Run linter
npm run dev
: Run development server with nodemonnpm start
: Run production servernpm test
: Run test suite
- Fork the repository
- Create your feature branch (
git checkout -b feature/AmazingFeature
) - Commit your changes (
git commit -m 'Add some AmazingFeature'
) - Push to the branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.
- Built with Create React App
- Styled with Tailwind CSS
- Icons by Lucide