This Full-Stack MVC application is designed for managing and tracking expenses. It utilizes a Model-View-Controller (MVC) architecture, incorporating Node.js and Express for the backend, and React for the frontend.
- Track and manage expenses
- Perform Create, Read, Update, and Delete (CRUD) operations on expense data
- User-friendly interface for seamless interaction
- Frontend: React
- Backend: Node.js, Express
- Database: PostgreSQL
The application employs a PostgreSQL database with the following schema:
expense_id
: SERIAL PRIMARY KEYtitle
: VARCHAR(30) NOT NULLprice
: DECIMAL(10, 2) NOT NULLcategory
: VARCHAR(30) NOT NULLessential
: BOOLEAN NOT NULLcreated_at
: TIMESTAMPTZ NOT NULL
-
Clone the repository: git clone https://github.com/CaioASM/Full-Stack-MVC.git
-
Navigate to the project directory: cd Full-Stack-MVC
-
Install dependencies: npm install
-
Set up the environment variables in a
.env
file based on your database configuration. -
Start the server: npm run server
-
Navigate to the
view
directory and start the React application: cd view npm start -
The application should now be running on
http://localhost:3000
.
- Add, view, update, and delete expenses through the web interface.
- Filter and sort expenses based on categories and dates.
Contributions are welcome. Please adhere to the standard fork-and-pull request workflow for contributions.
This project is licensed under the MIT License.