A modern, full-stack expense management application built to explore the integration of PERN Stack (PostgreSQL, Express, React, Node.js) with AWS Cloud Infrastructure.
The goal of this project was to move beyond localhost and learn how to architect, deploy, and secure a web application in a professional cloud environment using Amazon Web Services.
- Frontend: React.js (Vite), Tailwind CSS, Axios
- Backend: Node.js, Express.js
- Database: PostgreSQL (with JSONB support for flexible metadata)
- Cloud (In Progress): AWS EC2 (Compute), AWS RDS (Managed Database), VPC, Security Groups
expense_tracker_aws/
├── frontend/ # React + Vite UI with Tailwind styling
├── backend/ # Node.js API & PostgreSQL connection logic
└── database/ # SQL schema blueprints and seed data
-
Database: Create a Postgres database named expense_tracker and run the script in database/schema.sql.
-
Backend:
-
cd backend
-
npm install
-
Create a .env file with your DB credentials.
-
npm run dev
-
-
Frontend:
-
cd frontend
-
npm install
-
npm run dev
-
-
Configure VPC and Security Groups for secure traffic.
-
Launch and configure an EC2 instance for the Node.js server.
-
Deploy a managed RDS (PostgreSQL) instance.
-
Set up Environment Variables in the cloud.
-
(Optional) Host React frontend via S3 & CloudFront.