{"id":28583762,"url":"https://github.com/push4ck/popx","last_synced_at":"2026-05-03T22:31:47.558Z","repository":{"id":295116353,"uuid":"988926523","full_name":"Push4ck/PopX","owner":"Push4ck","description":"A responsive React.js web application for user registration, login, and dashboard management, featuring client-side data storage and admin capabilities.","archived":false,"fork":false,"pushed_at":"2025-05-23T17:27:10.000Z","size":94,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-09T06:05:06.829Z","etag":null,"topics":["localstorage","react","tailwindcss"],"latest_commit_sha":null,"homepage":"http://popx-push4ck.netlify.app/","language":"JavaScript","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/Push4ck.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,"zenodo":null}},"created_at":"2025-05-23T09:35:31.000Z","updated_at":"2025-05-23T17:30:50.000Z","dependencies_parsed_at":"2025-05-23T18:37:57.016Z","dependency_job_id":null,"html_url":"https://github.com/Push4ck/PopX","commit_stats":null,"previous_names":["push4ck/popx"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Push4ck/PopX","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Push4ck%2FPopX","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Push4ck%2FPopX/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Push4ck%2FPopX/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Push4ck%2FPopX/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Push4ck","download_url":"https://codeload.github.com/Push4ck/PopX/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Push4ck%2FPopX/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32587816,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-03T22:12:39.696Z","status":"ssl_error","status_checked_at":"2026-05-03T22:09:10.534Z","response_time":103,"last_error":"SSL_read: 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":["localstorage","react","tailwindcss"],"created_at":"2025-06-11T05:39:04.446Z","updated_at":"2026-05-03T22:31:47.543Z","avatar_url":"https://github.com/Push4ck.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PopX\n\n## Project Overview\n\nThis project is a modern, responsive web application built with React and Tailwind CSS, demonstrating a complete user management system. It features user registration, secure login (simulated with client-side storage), a personalized user dashboard, and a dedicated administrator dashboard for managing all registered users. The application prioritizes a clean, intuitive user interface and a smooth user experience. This project was developed as part of my internship.\n\n---\n\n## Features\n\n- **User Registration:** Allows new users to create an account with details like full name, phone number, email, password, and company information.\n- **User Login:** Authenticates existing users against stored credentials.\n- **Personalized User Dashboard:** Displays the logged-in user's profile information and allows them to update their profile picture.\n- **Admin Dashboard:** Provides an overview of all registered users, accessible only to users with administrative privileges.\n- **Client-Side Data Storage:** User data is persisted locally using `localStorage` for demonstration purposes.\n- **Responsive UI:** Designed with Tailwind CSS to ensure optimal viewing and interaction across various devices (mobile, tablet, desktop).\n- **Toast Notifications:** Uses `react-toastify` for non-intrusive success, error, and informational messages.\n- **Form Validation:** Implements client-side validation for registration fields to provide immediate feedback to the user.\n\n---\n\n## Technologies Used\n\n- **React.js:** A JavaScript library for building user interfaces.\n- **Tailwind CSS:** A utility-first CSS framework for rapidly building custom designs.\n- **React Router DOM:** For declarative routing within the application.\n- **React Toastify:** A library for adding toast notifications.\n- **`localStorage`:** Browser API for client-side data persistence (for demonstration purposes).\n\n---\n\n## Setup and Installation\n\nFollow these steps to get the project up and running on your local machine.\n\n### Prerequisites\n\n- Node.js (LTS version recommended)\n- npm (Node Package Manager) or Yarn\n\n### Steps\n\n1. **Clone the repository:**\n\n   ```bash\n   git clone https://github.com/Push4ck/PopX\n   cd PopX\n   ```\n\n2. **Install dependencies:**\n\n   ```bash\n   npm install\n   # OR\n   yarn install\n   ```\n\n3. **Start the development server:**\n\n   ```bash\n   npm start\n   # OR\n   yarn start\n   ```\n\n   The application will open in your default web browser at `http://localhost:3000`.\n\n---\n\n## Usage\n\n### 1. Welcome Page (`/`)\n\n- Upon launching the application, you'll land on the Welcome page.\n- Click \"Create Account\" to navigate to the registration form.\n- Click \"Already Registered? Login\" to go to the login page.\n\n### 2. Register Account (`/register`)\n\n- Fill in all required fields (Full Name, Phone Number, Email Address, Password).\n- **Admin Account:** To create an admin user for testing, use `admin@popx.com` as the email address during registration. All other email addresses will create regular user accounts.\n- Phone number input is restricted to 10 digits and numbers only.\n- Password must be at least 8 characters long.\n- Validation errors will appear below the respective input fields.\n- Upon successful registration, you will be redirected to the Login page.\n\n### 3. Login (`/login`)\n\n- Enter your registered email address and password.\n- Upon successful login:\n  - Regular users will be redirected to the **User Dashboard (`/dashboard`)**.\n  - The admin user (`admin@popx.com`) will be redirected to the **Admin Dashboard (`/admin-dashboard`)**.\n\n### 4. User Dashboard (`/dashboard`)\n\n- Displays your profile information (Name, Email, Phone, Company, Agency Status).\n- **Change Profile Picture:** Click the camera icon overlaid on your profile picture to upload a new image. The new picture will be saved locally and displayed.\n- Click \"Logout\" to end your session and return to the Login page.\n\n### 5. Admin Dashboard (`/admin-dashboard`)\n\n- This page is only accessible to users logged in with the `admin@popx.com` account.\n- It lists all registered users with their details.\n- Click \"Logout\" to end your session.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpush4ck%2Fpopx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpush4ck%2Fpopx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpush4ck%2Fpopx/lists"}