A modern full-stack application for analyzing investments, tracking portfolios, and visualizing financial data.
- User authentication and authorization
- Investment portfolio tracking
- Financial data visualization with interactive charts
- Real-time market data analysis
- Responsive and modern UI design
- Database-backed persistence
- RESTful API architecture
- Node.js with Express
- TypeScript
- Prisma ORM with PostgreSQL
- JWT Authentication
- Express Validator
- React with TypeScript
- Vite build tool
- Material UI & Radix UI components
- ApexCharts for data visualization
- React Query for state management
- Framer Motion for animations
- Tailwind CSS for styling
- Node.js (v16 or higher)
- pnpm package manager
- PostgreSQL database
- Modern web browser
Investment-Analyzer/
├── apps/
│ ├── backend/
│ │ ├── src/
│ │ ├── prisma/
│ │ └── package.json
│ └── frontend/
│ ├── src/
│ ├── public/
│ └── package.json
└── README.md
-
Clone the repository:
git clone https://github.com/MwangangiBrian/Investment-Analyzer.git cd Investment-Analyzer
-
Install dependencies for both backend and frontend:
# Install backend dependencies cd apps/backend pnpm install # Install frontend dependencies cd ../frontend pnpm install
-
Set up environment variables:
- Create
.env
file in the backend directory - Create
.env
file in the frontend directory - Add necessary environment variables (database connection, API keys, etc.)
- Create
-
Set up the database:
cd ../backend pnpm migrate
-
Start the backend server:
cd apps/backend pnpm dev
-
Start the frontend development server:
cd apps/frontend pnpm dev
The application will be available at http://localhost:5173
-
Build the frontend:
cd apps/frontend pnpm build
-
Build the backend:
cd apps/backend pnpm build
Run tests for the backend:
cd apps/backend
pnpm test
- 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
Brian Mwangi - @MwangangiBrian
Project Link: https://github.com/MwangangiBrian/Investment-Analyzer