Skip to content

KNandhakumar/Habit-Tracker-Application-Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

16 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Habit Tracker Backend API πŸš€

The backend of the Habit Tracker App, built using Spring Boot and MySQL, is designed to provide a robust API to handle habit tracking, user authentication will be added in next, and data persistence. This backend supports all basic CRUD operations and integrates seamlessly with the frontend.


🌐 Features

  • CRUD Operations for managing habits
  • Database Integration with MySQL
  • RESTful API with all necessary endpoints to manage habits
  • User Authentication will be add next (Signup, Login, JWT-based authorization)
  • Secure and efficient handling of user data
  • Optimized code for performance

πŸ› οΈ Tech Stack

  • Backend: Spring Boot (Java)
  • Database: MySQL
  • Authentication: JWT (JSON Web Tokens)
  • Build Tool: Maven

πŸ“‚ Folder Structure

habit-tracker-backend/
β”œβ”€β”€ src/
β”‚   └── main/
β”‚       β”œβ”€β”€ java/
β”‚       β”‚   └── com/
β”‚       β”‚       └── Nk/
β”‚       β”‚           └── habittracker/
β”‚       β”‚               β”œβ”€β”€ controller/
β”‚       β”‚               β”œβ”€β”€ model/
β”‚       β”‚               β”œβ”€β”€ repository/
β”‚       β”‚               β”œβ”€β”€ service/
β”‚       β”‚               └── security/
β”‚       └── resources/
β”‚           └── application.properties
β”œβ”€β”€ pom.xml 



- **controller/**: Contains REST controllers for handling API requests
- **model/**: Entity classes (representing database tables)
- **repository/**: Interfaces for database CRUD operations
- **service/**: Business logic layer
- **security/**: JWT authentication utilities

---

## πŸ”§ Setup and Installation

### Prerequisites

- **JDK 17 or later**
- **MySQL**
- **Maven**

## πŸ“ˆ Progress & Future Features
- Add more security features (role-based access control)

- Implement habit streak tracking

- Integrate email notifications for daily reminders

About

Backend for Habit-Tracker - A Spring Boot backend that supports CRUD operation. I will be user Authentication.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages