{"id":25995129,"url":"https://github.com/bhuvantenguria/movie_api","last_synced_at":"2026-04-20T01:03:20.120Z","repository":{"id":279810274,"uuid":"939997045","full_name":"Bhuvantenguria/Movie_API","owner":"Bhuvantenguria","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-27T16:40:22.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-27T20:55:43.424Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bhuvantenguria.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2025-02-27T12:58:22.000Z","updated_at":"2025-02-27T16:40:25.000Z","dependencies_parsed_at":"2025-02-27T20:59:52.938Z","dependency_job_id":"b1eb20f8-9a4c-4d5c-ac5b-2dc1b496cc6b","html_url":"https://github.com/Bhuvantenguria/Movie_API","commit_stats":null,"previous_names":["bhuvantenguria/movie_api"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FMovie_API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FMovie_API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FMovie_API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bhuvantenguria%2FMovie_API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bhuvantenguria","download_url":"https://codeload.github.com/Bhuvantenguria/Movie_API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242048556,"owners_count":20063404,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-03-05T15:18:50.263Z","updated_at":"2026-04-20T01:03:20.071Z","avatar_url":"https://github.com/Bhuvantenguria.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 **Spring Boot MovieAPI Backend**\n\n---\n\nThe Spring Boot MovieAPI Backend is a robust Java 17 application designed to manage movie data efficiently. It incorporates a well-structured database schema backed by MySQL, along with essential REST APIs for CRUD operations, search, filtering, sorting, and pagination. The application also prioritizes security using JWT-based authentication. 🎥🍿\n\n## 🚀 **Technology Stack**\n---\n- ☕ Java 17\n- 🍃 Spring Boot\n- 🌐 Spring MVC\n- 🛢️ Spring Data JPA\n- 📑 Pagination and Sorting\n- 🔐 JWT Authentication\n- 🐬 MySQL Database\n\n## 🌟 **Key Features**\n---\n\n### **CRUD Operations:**\n- Create, Read, Update, and Delete (CRUD) operations for movies.\n- Ensures data integrity with efficient database interactions.\n\n### **Search and Filtering:**\n- 🔍 Search movies by **name**.\n- 🎭 Filter movies by **director, cast, release year, and genre**.\n- 📅 Sort movies by **release date or name**.\n\n### **Pagination and Sorting:**\n- 📑 Efficient pagination for large datasets.\n- 📊 Sorting support for better data retrieval and organization.\n\n### **JWT Authentication:**\n- 🔐 Secure access to APIs using JSON Web Token (JWT) authentication.\n- 🛡️ Ensures only authorized users can perform sensitive operations.\n\n### **Three-Layered Architecture:**\n- 🏗️ Separation of concerns with presentation, business logic, and data access layers.\n- 📂 Enhances maintainability, scalability, and testing.\n\n## 📌 **MovieAPI Endpoints**\n---\n\n### **Movie Management:**\n- 🔗 **Add Movie:**\n  - `POST http://localhost:8080/api/v1/movie/add-movie`\n\n- 🔍 **Get All Movies:**\n  - `GET http://localhost:8080/api/v1/movie/all`\n\n- 🔍 **Get Movie by ID:**\n  - `GET http://localhost:8080/api/v1/movie/{id}`\n\n- 🔄 **Update Movie by ID:**\n  - `PUT http://localhost:8080/api/v1/movie/update/{id}`\n\n- ❌ **Delete Movie by ID:**\n  - `DELETE http://localhost:8080/api/v1/movie/delete/{id}`\n\n### **Search, Filter, and Sort:**\n- 🔍 **Search Movies by Name:**\n  - `GET http://localhost:8080/api/v1/movie/search?name={movieName}`\n\n- 🎭 **Filter by Director, Cast, Year, or Genre:**\n  - `GET http://localhost:8080/api/v1/movie/search?director={directorName}`\n  - `GET http://localhost:8080/api/v1/movie/search?cast={castName}`\n  - `GET http://localhost:8080/api/v1/movie/search?year={releaseYear}`\n  - `GET http://localhost:8080/api/v1/movie/search?genre={genre}`\n\n- 📊 **Sort by Release Date or Name:**\n  - `GET http://localhost:8080/api/v1/movie/allMoviesPageSort?sortBy=releaseDate`\n  - `GET http://localhost:8080/api/v1/movie/allMoviesPageSort?sortBy=name`\n\n- 📑 **Get Movies with Pagination:**\n  - `GET http://localhost:8080/api/v1/movie/allMoviesPage?pageNumber=0\u0026pageSize=2`\n\n### **User Authentication:**\n- 📝 **User Registration:**\n  - `POST http://localhost:8080/api/v1/auth/register`\n\n- 🔒 **User Login:**\n  - `POST http://localhost:8080/api/v1/auth/login`\n\n## 🚀 **Cloning and Running the Project**\n---\nTo get started with the MovieAPI project, follow these steps:\n\n### **1. Clone the Repository:**\n```bash\ngit clone https://github.com/Bhuvantenguria/Movie_Api_Backend.git\n```\n\n### **2. Navigate to the Project Directory:**\n```bash\ncd Movie_Api_Backend\n```\n\n### **3. Configure Application Properties:**\n- Open `src/main/resources/application.properties`.\n- Modify the database connection details to match your MySQL setup.\n\n### **4. Create MySQL Database:**\n- Execute the SQL script provided in `src/main/resources/sql-scripts` to set up the necessary database tables.\n```bash\nmysql -u your_username -p \u003c create_database.sql\n```\n\n### **5. Build and Run the Application:**\n- Using Maven:\n```bash\n./mvnw clean install\n./mvnw spring-boot:run\n```\n\n### **6. Access API Endpoints:**\n- Once the application is running, explore the MovieAPI by accessing the defined endpoints.\n\n---\n\n### 📢 **Contributions \u0026 Feedback:**\nFeel free to contribute, suggest improvements, or report issues via GitHub!\n\n---\n\nHappy Coding! 🚀🎬\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuvantenguria%2Fmovie_api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbhuvantenguria%2Fmovie_api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbhuvantenguria%2Fmovie_api/lists"}