{"id":25289060,"url":"https://github.com/lamba01/airbox-asessment","last_synced_at":"2025-04-06T17:46:47.504Z","repository":{"id":276566169,"uuid":"929427356","full_name":"lamba01/Airbox-Asessment","owner":"lamba01","description":null,"archived":false,"fork":false,"pushed_at":"2025-02-09T04:01:40.000Z","size":63,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-09T04:25:42.620Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/lamba01.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-08T14:28:43.000Z","updated_at":"2025-02-09T04:01:43.000Z","dependencies_parsed_at":"2025-02-09T04:35:52.479Z","dependency_job_id":null,"html_url":"https://github.com/lamba01/Airbox-Asessment","commit_stats":null,"previous_names":["lamba01/airbox-asessment"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamba01%2FAirbox-Asessment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamba01%2FAirbox-Asessment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamba01%2FAirbox-Asessment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lamba01%2FAirbox-Asessment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lamba01","download_url":"https://codeload.github.com/lamba01/Airbox-Asessment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247526677,"owners_count":20953141,"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-02-12T23:49:59.222Z","updated_at":"2025-04-06T17:46:47.485Z","avatar_url":"https://github.com/lamba01.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Airbox Scheduling System\n\nThis is an MVP scheduling interface and admin dashboard for Airbox. The project consists of a **frontend** built with React and a **backend** using Node.js, Express, and MongoDB.\n\n## **Project Structure**\n\n/Airbox-Asessment\n│── frontend/ # React frontend (Vite + Tailwind)\n│── backend/ # Node.js + Express + MongoDB backend\n│── README.md\n|── docker-compose.yml\n\n## **Technologies Used**\n\n### **Frontend**\n\n- React (Vite)\n- Tailwind CSS\n- React Router\n- Axios\n\n### **Backend**\n\n- Node.js\n- Express.js\n- MongoDB (Mongoose)\n- JWT Authentication\n- dotenv (for environment variables)\n\n## **Getting Started**\n\n### **1. Clone the Repository**\n\n```sh\ngit clone https://github.com/lamba01/Airbox-Asessment.git\ncd Airbox-Asessment\n\ncd backend\nnpm install\ncp .env.example .env\nnpm run dev  # Starts the backend server\n\n\ncd ../frontend\nnpm install\nnpm run dev  # Starts the React frontend\n\n\nRunning with Docker (Optional)\ndocker-compose up --build\n\n```\n\nArchitecture Overview\n\n- Frontend (React + Tailwind): Handles UI, user interactions, and API communication.\n- Backend (Express + MongoDB): Manages data, authentication, and business logic.\n- Database (MongoDB): Stores user bookings and schedules.\n\nAssumptions \u0026 Limitations\n\nAssumptions\n\n- Users can only book available time slots.\n- Admins have full access to modify schedules.\n- Authentication is required for booking features.\n\nLimitations\n\n- No real-time updates (WebSockets not implemented).\n- No payment integration.\n\n## Admin Access\n\nTo access the admin dashboard, use the following credentials:\n\n**URL:** [[Live Project Admin Page Path](https://airbox-asessment.vercel.app/admin)]  \n**Email:** admin@example.com  \n**Password:** admins\n\nBrief Security Measures Implemented\n\n- JWT Authentication → Ensures secure access to protected routes.\n- Environment Variables (.env) → Hides sensitive credentials (DB connection, JWT secret).\n- CORS Configuration → Restricts API access to specific origins.\n- Input Validation (Mongoose Schema \u0026 Middleware) → Prevents invalid or malicious data.\n- Error Handling with Proper Status Codes → Prevents information leaks.\n- Password Hashing (bcrypt) → If storing user passwords, they are encrypted.\n- MongoDB Indexing → Prevents slow queries that could be exploited via DoS attacks.\n\nDeployment\nThe live project is deployed at:\n🔗 https://airbox-asessment.vercel.app/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamba01%2Fairbox-asessment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flamba01%2Fairbox-asessment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flamba01%2Fairbox-asessment/lists"}