{"id":25194027,"url":"https://github.com/rolbester/webapp-communication-and-assignment-sharing-platform","last_synced_at":"2026-05-07T17:36:43.437Z","repository":{"id":273755740,"uuid":"920770050","full_name":"RoLBester/webapp-Communication-and-Assignment-Sharing-platform","owner":"RoLBester","description":"A full-stack web application to chat, share and receive various assignments with a secure user authentication system","archived":false,"fork":false,"pushed_at":"2025-01-22T19:32:21.000Z","size":629,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-06T13:06:33.540Z","etag":null,"topics":["javascript","php","typescript","webapp"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/RoLBester.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-01-22T18:36:10.000Z","updated_at":"2025-01-22T19:33:02.000Z","dependencies_parsed_at":"2025-01-22T19:52:38.765Z","dependency_job_id":null,"html_url":"https://github.com/RoLBester/webapp-Communication-and-Assignment-Sharing-platform","commit_stats":null,"previous_names":["rolbester/webapp-communication-and-assignment-sharing-platform"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RoLBester/webapp-Communication-and-Assignment-Sharing-platform","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoLBester%2Fwebapp-Communication-and-Assignment-Sharing-platform","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoLBester%2Fwebapp-Communication-and-Assignment-Sharing-platform/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoLBester%2Fwebapp-Communication-and-Assignment-Sharing-platform/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoLBester%2Fwebapp-Communication-and-Assignment-Sharing-platform/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RoLBester","download_url":"https://codeload.github.com/RoLBester/webapp-Communication-and-Assignment-Sharing-platform/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RoLBester%2Fwebapp-Communication-and-Assignment-Sharing-platform/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32749016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["javascript","php","typescript","webapp"],"created_at":"2025-02-09T23:41:27.059Z","updated_at":"2026-05-07T17:36:43.430Z","avatar_url":"https://github.com/RoLBester.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Communication and Assignment Sharing Platform\n\n\u003e **TL;DR:** A full-stack web app for students to chat, share assignments and upload files, built with a **React/TypeScript** frontend and a **PHP + MySQL** backend. Includes **JWT-based authentication**, **REST APIs**, and basic role-based access for users.\n\u003e\n\u003e This project shows experience with **frontend development**, **backend APIs**, **authentication**, and **database design**.\n\nThe COM3102-Project is a full-stack web application that allows students to efficiently manage academic resources such as assignments, chat with peers, share references, and receive friend suggestions. Below is a meticulous breakdown of its key components, technologies, and file purposes:\n\nConcepts and Features:\n--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\nAuthentication (JWT):\nPurpose: Securely authenticate users by issuing a JSON Web Token (JWT) upon login. Tokens are stored in the client (browser’s local storage) and verified on the server for protected routes.\nFiles Involved:\nBackend: auth.php handles login, verifying credentials against the database, and generating JWT.\nFrontend: Login.tsx captures user credentials and communicates with the backend to receive the token.\nFrameworks and Tools: PHP (for backend logic), JWT (for token generation), and React (for client-side token storage).\nRESTful APIs:\n\nPurpose: Enable communication between the frontend and backend for operations like user registration, fetching data, and updating resources.\nFiles Involved:\nBackend:\ngetMessages.php, sendMessage.php (Chat operations).\ngetAssignments.php, addAssignment.php (Assignment management).\nregister.php, getUserProfile.php, updateUserProfile.php (User operations).\nFrontend:\napi.ts abstracts API calls for modular and reusable communication.\nLanguages: PHP (server-side scripting), TypeScript (frontend requests).\nFrontend Development:\n\nPurpose: Create an intuitive and responsive user interface for user interactions.\nFiles Involved:\nCore: App.tsx defines application routes for components like Home, Login, and Profile.\nComponents:\nNavbar.tsx: Handles navigation links and authentication state.\nAssignmentForm.tsx, References.tsx: Enable assignment and reference management.\nChat.tsx: Displays user-to-user chat functionality.\nFrameworks and Tools: React (for component-based architecture), TailwindCSS (for styling), TypeScript (for type safety).\nDatabase (MySQL):\n\nPurpose: Store user data, assignments, messages, and references persistently.\nFiles Involved:\nschema.sql: Defines the database schema, including tables for users, assignments, messages, and references.\nconnect.php: Establishes a database connection.\nTools: MySQL (database engine), XAMPP (local server for MySQL and Apache).\nFile Uploads:\n\nPurpose: Allow users to upload and retrieve academic references.\nFiles Involved:\nUploadReference.tsx: Implements the frontend form for file uploads.\nuploadReference.php: Processes and stores files on the backend.\nTools: PHP (handles file uploads), MySQL (stores file metadata).\nTesting (Postman):\n\nPurpose: Validate API endpoints for reliability and correctness during development.\nProcess:\nUsed Postman to send requests to backend endpoints like addAssignment.php and getUserProfile.php and check the responses.\nStyling (TailwindCSS):\n\nPurpose: Ensure a visually appealing and consistent UI.\nFiles Involved:\nglobals.css, components.css: Define global and component-specific styles using Tailwind utility classes.\nConfigured via tailwind.config.js.\"\n\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n##Important Links and Instructions\n\n1) Place the extracted project zip file in XAMPP  htdocs folder - C:\\xampp\\htdocs\n\n2) Run Apache and MySql in Xampp \n\n3) Checking the database and the tables: http://localhost/phpmyadmin/index.php\n\n4) Please create a database com3102_project and then import our file “schema.sql” to get our entire database and the tables in it.\n\n5) Place the extracted zip file in Xampp htdocs-  C:\\xampp\\htdocs\n\n6) Running the app path:  cd   C:\\xampp\\htdocs\\COM3102-Project\\frontend\\app\n\n7) Now Command to run the app: npm start\n\n8) To check the uploaded file, the uploads path: C:\\xampp\\htdocs\\COM3102-Project\\public\\uploads\n\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n\n\nVersions\n\nXAMPP - 8.2.12 / PHP 8.2.12\n\nDownload XAMPP\n\n\nTechnologies Used\nBackend: PHP, MySQL (via XAMPP for local hosting), JWT (for secure authentication), Dotenv (for environment management).\nFrontend: React, TypeScript, Tailwind CSS (for UI styling).\nAPI Testing: Postman.\nDatabase: MySQL, with schema defined in schema.sql.\n\n## My Role \u0026 Contributions\n\nThis was a team project. My main contributions included:\n\n- Implementing key features on the **React/TypeScript frontend** for chat, assignment management and file uploads.\n- Building **PHP** backend endpoints for user authentication, messages and assignment CRUD operations.\n- Setting up **JWT-based authentication** and protecting routes/endpoints.\n- Designing or helping design the **MySQL** database schema for users, messages and assignments.\n- Testing APIs with tools like **Postman** and fixing integration issues between frontend and backend.\n\n---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolbester%2Fwebapp-communication-and-assignment-sharing-platform","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frolbester%2Fwebapp-communication-and-assignment-sharing-platform","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frolbester%2Fwebapp-communication-and-assignment-sharing-platform/lists"}