{"id":20562372,"url":"https://github.com/miavai649/lvl2-assignment-3","last_synced_at":"2026-04-12T05:32:56.142Z","repository":{"id":244445095,"uuid":"815164369","full_name":"miavai649/lvl2-assignment-3","owner":"miavai649","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-05T16:07:00.000Z","size":122,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-03T21:20:33.292Z","etag":null,"topics":["axios","bcryptjs","cookie-parser","cors","dotenv","expressjs","http-status","jsonwebtoken","mongodb","mongoose","typescript","zod-validation"],"latest_commit_sha":null,"homepage":"https://lvl-2-assignment-3-nine.vercel.app/","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/miavai649.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":"2024-06-14T13:43:09.000Z","updated_at":"2024-11-05T16:07:04.000Z","dependencies_parsed_at":"2024-08-29T11:14:23.477Z","dependency_job_id":"07fc4cc9-7fda-4cc6-93eb-352d6b818a9b","html_url":"https://github.com/miavai649/lvl2-assignment-3","commit_stats":null,"previous_names":["miavai649/lvl2-assignment-3"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/miavai649/lvl2-assignment-3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miavai649%2Flvl2-assignment-3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miavai649%2Flvl2-assignment-3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miavai649%2Flvl2-assignment-3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miavai649%2Flvl2-assignment-3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/miavai649","download_url":"https://codeload.github.com/miavai649/lvl2-assignment-3/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/miavai649%2Flvl2-assignment-3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31705574,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T05:11:36.334Z","status":"ssl_error","status_checked_at":"2026-04-12T05:11:27.332Z","response_time":58,"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":["axios","bcryptjs","cookie-parser","cors","dotenv","expressjs","http-status","jsonwebtoken","mongodb","mongoose","typescript","zod-validation"],"created_at":"2024-11-16T04:10:53.094Z","updated_at":"2026-04-12T05:32:56.124Z","avatar_url":"https://github.com/miavai649.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Car Wash Booking System\n## Live URL\n[Click here](https://lvl-2-assignment-3-nine.vercel.app/)\n\n## Important Information\n1. adminEmail: noor@gmail.com\n2. password: admin123\n\n## Technologies\n\n* **Programming Language:** TypeScript\n* **Web Framework:** Express.js\n* **Database** MongoDB\n* **ODM Library:**  Mongoose\n* **Validation:** Zod Validation\n* **Others NPM Package:** bcryptjs, cors, dotenv, http-status, jsonwebtoken\n\n## Features\n\n* **Authentication \u0026 Authorization:** By using jwt access token we make sure to secure authentication and authorization. We have two different roll in our system. We make sure that each role accesses only their authorized route.\n* **Service:** We can create, get, update and delete services. but only accessible by the admin.\n* **Slot** Only the admin can create slots. Admin and users can both get all available slots\n* **Booking:**  Only user can create booking. admin can get all the bookings and user can only get their booking.\n\n\n## How to run this application locally.\n\n\n **Step-1:** Clone the following github repository into the local folder.\n \n\n```   \nhttps://github.com/miavai649/lvl-2-assignment-2.git\n```\n **Step-2:** We need to install the node_modules and also the others essential packages .\n ```   \nnpm i\n```\n **Step-3:** Then we need to set our environment variables, for this we need to create a file `.env` in the root directory.\n\n ```   \nDB_URL=your_db_url\nPORT=5000\nBCRYPT_SALT_ROUNDS=12\nJWT_ACCESS_TOKEN=your_jwt_access_token\nJWT_ACCESS_TOKEN_EXPIRES_IN=7d\n```\n\n **Step-4:** We are ready to run this application locally, just run the below command and the application will start running.\n ```   \nnpm run start:dev\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiavai649%2Flvl2-assignment-3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmiavai649%2Flvl2-assignment-3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmiavai649%2Flvl2-assignment-3/lists"}