Skip to content

hey-kuldeep/xtrac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Xtrac Expense Tracker Xtrac is a web application built with React that helps users track their expenses efficiently. It allows users to manage their financial records by adding, viewing, updating, and deleting expenses categorized by type, amount, date, and description.

Table of Contents Introduction Features Technologies Used Installation Folder Structure Usage Contributing License Introduction Xtrac Expense Tracker is designed to simplify financial management by providing users with a straightforward interface to manage their expenses. Users can sign up, log in, and perform CRUD (Create, Read, Update, Delete) operations on their expense records. The application offers a responsive design to ensure usability across devices.

Features User Authentication: Sign up and login using email and password. Passwords are securely hashed using bcryptjs. Expense Management: Add Expense: Enter details such as category, amount, date, and description. View Expense List: Filter and view expenses based on user email. Update Expense: Modify existing expense details. Delete Expense: Remove expenses from the database. Responsive Design: Ensures usability on desktop, tablet, and mobile devices. Navigation: Navigate seamlessly between different sections of the application using React Router. Technologies Used Frontend: React: JavaScript library for building user interfaces. React Router: Declarative routing for React applications. Axios: Promise-based HTTP client for making API requests. CSS Modules: CSS files in which all class and animation names are scoped locally by default. Backend: Node.js: JavaScript runtime environment. Express.js: Web application framework for Node.js. MongoDB: NoSQL database for storing user and expense data. Mongoose: MongoDB object modeling tool designed to work in an asynchronous environment. Security: bcryptjs: Library for hashing passwords before storing them in the database. Deployment: Environment variables management using dotenv. CORS (Cross-Origin Resource Sharing) configuration for secure data transfer.

Folder Structure The project folder structure is organized as follows: Copy code xtrac-expense-tracker/ ├── public/ ├── src/ │ ├── assets/ │ ├── components/ │ ├── controllers/ │ ├── models/ │ ├── pages/ │ ├── routes/ │ ├── services/ │ ├── signup pages/ │ └── App.js ├── .env ├── package.json └── README.md public/: Contains static assets like images and favicon. src/: Source code directory containing React components, pages, routes, services, and other related files. .env: Environment variables configuration file. package.json: Configuration file for npm dependencies. README.md: Project documentation file (this file). Usage Sign Up and Log In:

Navigate to /signup to create a new account. Use the created credentials to log in at /login. Add Expense:

Navigate to /addData to add a new expense record. View and Manage Expenses:

/viewlist: View a list of all expenses. /ManageData: Manage existing expenses (update or delete). Update Expense:

Click "Update" on any expense entry to modify its details. Delete Expense:

Click "Delete" on any expense entry to remove it from the list. Contributing Contributions are welcome! If you'd like to contribute to this project, please follow these steps:

Fork the repository. Create a new branch (git checkout -b feature-improvement). Make your changes. Commit your changes (git commit -am 'Add feature improvement'). Push to the branch (git push origin feature-improvement). Create a new Pull Request. License This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published