Prerequisites
- Node.js (v14 or later)
- PostgreSQL
- Docker
- Docker Compose
- Plaid account (for bank integration)
- Stripe account (for payment processing)
Installation
-
Clone the repository:
git clone <repository-url> cd finance-app
-
Install dependencies for both frontend and backend:
cd client && npm install cd ../server && npm install
-
Set up environment variables:
- Create a
.env
file in theserver
directory based on the.env.example
file - Create a
.env
file in theclient
directory based on the.env.example
file
- Create a
-
Start the development servers:
# In the server directory npm run dev # In the client directory npm run dev
-
Build and start the application using Docker:
docker-compose up --build
-
Open your browser and navigate to
http://localhost:5173
to view the application.
Project Structure
-
client/
: React frontend application-
src/
: Source files for the React app-
components/
: Reusable React components -
pages/
: Main page components -
graphql/
: GraphQL queries and mutations -
context/
: React context providers -
styles/
: Global styles and theme configuration
-
-
-
server/
: Node.js backend application-
config/
: Configuration files -
graphql/
: GraphQL schema and resolvers -
models/
: Sequelize model definitions -
services/
: Business logic and external API integrations -
utils/
: Utility functions and helpers
-
0 commit comments