How himanshu-tech-pro/expance-tracker works
Project type and purpose
• This is a full-stack web application (“Expense Tracker”) that lets users record, edit, delete, and view income and expense transactions in real time.
• Frontend is built in React.js, backend in Node.js/Express, data stored in MongoDB via Mongoose.
File structure
• Top-level folders:
• backend/ – Express server, controllers, models, routes, MongoDB connection code
• frontend/ – React application: public assets, src with components, context, utils, styling
• Configuration and entry points:
• backend/app.js (Express setup, route mounting)
• backend/db/db.js (Mongoose connection)
• frontend/src/index.js (React DOM render)
• Follows a classic MVC pattern on backend (routes → controllers → models) and a component-based architecture on frontend (UI components + global context for state).
README for additional insights
• Lists tech stack, key features, deployment targets (Vercel/Netlify for frontend, Render for backend).
• Mentions MongoDB database, Axios for API calls, Tailwind or CSS Modules for styling.