π Public Review Management System
A web-based application that allows users to post, read, and manage reviews for organizations or services. This system helps maintain transparency by allowing the public to share feedback and enables organizations to monitor and respond to reviews.
π Features π₯ User
Register and login with secure authentication.
Submit reviews with ratings and comments.
View reviews from other users.
Edit or delete their own reviews.
π’ Organization
Login and view all reviews related to their profile.
Analyze overall ratings and performance metrics.
Respond to user reviews.
π§° Tech Stack Layer Technologies Used Frontend React.js / HTML / CSS / JavaScript Backend Spring Boot Database MySQL Authentication JWT Token-based Authentication Tools Postman, Git, Maven, VS Code ποΈ Project Structure public-review-system/ βββ backend/ β βββ src/main/java/... (Spring Boot code) β βββ resources/application.properties β βββ pom.xml βββ frontend/ β βββ src/ β βββ public/ β βββ package.json βββ README.md
βοΈ Installation & Setup Prerequisites
Java 17+
Node.js & npm
MySQL server
Maven
Steps
Clone the repository
git clone https://github.com/YourUsername/public-review-system.git
Backend Setup
cd backend mvn clean install mvn spring-boot:run
Frontend Setup
cd frontend npm install npm start
Access the app at http://localhost:3000
π§ How It Works User registration: creates an account with encrypted password.
JWT Authentication: backend issues a token on login.
Protected routes: users and organizations see pages based on their roles.
Reviews API: CRUD operations for reviews (Create, Read, Update, Delete).
π§© API Endpoints Method Endpoint Description POST /api/auth/register Register a new user POST /api/auth/login Login and get JWT token GET /api/user/{userId}/reviews Fetch userβs reviews POST /api/reviews Submit a new review DELETE /api/reviews/{reviewId} Delete a review