The Chores Application is a full-stack web application that allows users to manage their chores. Whether you're a meticulous organizer or a last-minute task-tackler, this app has you covered! 🌟
- Query Chores: Retrieve a list of all chores from the SQL database. 📋
- Add Chore: Add a new chore to the database. 🆕
- Remove Chore: Delete a chore by its ID. 🗑️
- HTML: Provides the structure for the user interface.
- CSS: Styles the application for a visually appealing experience.
- JavaScript: Adds interactivity and dynamic behavior to the frontend.
-
Node.js (Port 8000) 🌐:
- Dependencies:
mysql2
: A MySQL client for Node.js.dotenv
: Loads environment variables from a.env
file.MYSQL_HOST=HOSTNAME MYSQL_USER=ROOTUSER MYSQL_PASSWORD=PASSWORD MYSQL_DATABASE=DATABASE_NAME
nodemon
: Automatically restarts the server during development.
- Database: MySQL 🗄️
- Dependencies:
-
Spring Boot (Port 8080) 🌱:
- Dependencies:
- Spring Boot Starter Pack with MongoDB (Version 3.0.6)
spring.data.mongodb.database=database_name spring.data.mongodb.uri=database_url
- Spring Boot Starter Pack with MongoDB (Version 3.0.6)
- Dependencies:
spring.data.mongodb.uri=url
- Database: MongoDB 🍃
-
Node.js Endpoints:
/
: Query all chores./add
: Add a new chore./remove/:id
: Remove a chore by its ID.
-
Spring Boot Endpoints:
/
: Query all chores./add
: Add a new chore./remove/:id
: Remove a chore by its ID.
- Clone the repository.
- Set up your database (MySQL for Node.js, MongoDB for Spring Boot).
- Install dependencies (
npm install
for Node.js, Spring Boot dependencies for MongoDB). - Configure environment variables (e.g., database credentials) using
.env
files. - Run the application:
- For Node.js:
npm start
🏃 - For Spring Boot:
./mvnw spring-boot:run
🏃♂️
- For Node.js:
Contributions are welcome! You can add more functionality and complexity to this project, and make it your own.
This project is licensed under the MIT License. 📄
Now, go conquer those chores! 🎉🧼🧹