This is the backend for the AutoTestingHub project, developed using Spring Boot. The backend serves as the foundation for the autotestinghub.org platform, a knowledge-sharing hub for software testing professionals.
- Basic CRUD Resources:
- Post: Manage blog posts with categories and comments.
- Comment: Associate and manage comments for specific blog posts.
- Account: Handle user accounts and authentication.
- Category: Organize posts into categories.
- Automation Testing:
- Backend APIs are tested with RestAssured.
- Automation framework repository: Automation Framework
- Programming Language: Java
- Framework: Spring Boot
- Spring Security 6: For authentication and authorization, implementing JWT for secure access.
- Spring Data JPA: For seamless integration with database operations.
- Database: MySQL
- ORM: Hibernate, for object-relational mapping and efficient database interactions.
- API Design: RESTful APIs, following standard best practices for resource-based architecture.
- Authentication: JWT (JSON Web Token) for stateless and secure authentication.
Swagger UI, this will take a while to load because of free hosting
- Post APIs:
- Get all posts:
GET /api/posts
- Create a post:
POST /api/posts
- Get all posts:
- Comment APIs:
- Get all comments for a post:
GET /api/posts/{postId}/comments
- Add a comment to a post:
POST /api/posts/{postId}/comments
- Get all comments for a post:
- Category APIs:
- Get all categories:
GET /api/categories
- Create a category:
POST /api/categories
- Get all categories:
- Account APIs:
- Register:
POST /api/auth/register
- Login:
POST /api/auth/login
- Register:
- Clone the repository:
git clone https://github.com/your-repo-link/backend.git