LIVE DEMO HERE => APP
A web-based application to track and manage personal expenses. This app allows users to securely log in, add, edit, and categorize expenses, and view their spending habits.
- Track Expenses: Add and categorize expenses (e.g., groceries, rent, entertainment).
- Authentication: Secure login/logout with Passport.js and local strategy.
- Responsive Design: Use the app on mobile, tablet, or desktop devices.
- Data Storage: All expenses are saved in MongoDB for persistent storage.
- Frontend: EJS (Embedded JavaScript) for templating
- Backend: Node.js with Express
- Database: MongoDB (using Mongoose)
- Authentication: Passport.js for secure authentication
- Session Management: Express-session for handling user sessions
- Security: bcrypt for password hashing
Before you begin, ensure you have the following installed:

-
Clone the repository:
git clone https://github.com/Sxnny-s/Personal-auth-expense cd personal-auth-expence
-
Install dependencies:
npm install
-
Set up environment variables:
3a. Create a .env file in the root directory of the project.
3b. Add your MongoDB connection string and other environment variables:
url=your_mongodb_connection_string SECRET_KEY=your_secret_key
-
To run the app locally::
npm start