{"id":19035519,"url":"https://github.com/prasanth2817/mybarber-app-backend","last_synced_at":"2026-04-29T16:02:00.988Z","repository":{"id":247955238,"uuid":"826823461","full_name":"prasanth2817/MyBarber-App-Backend","owner":"prasanth2817","description":"MyBarber Application is an application built for users to book and manage appointments at salons. Users can select stylists, services, and specific dates and times. Business users have a separate dashboard for managing appointments and services.","archived":false,"fork":false,"pushed_at":"2025-05-17T08:59:42.000Z","size":5912,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-17T09:33:13.352Z","etag":null,"topics":["bcryptjs","cors","dotenv","express","jsonwebtoken","jwt-authentication","mongoose","multer"],"latest_commit_sha":null,"homepage":"https://mybarber-app-backend.onrender.com","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/prasanth2817.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-07-10T12:55:49.000Z","updated_at":"2025-05-17T08:59:45.000Z","dependencies_parsed_at":"2024-11-08T22:03:02.224Z","dependency_job_id":null,"html_url":"https://github.com/prasanth2817/MyBarber-App-Backend","commit_stats":null,"previous_names":["prasanth2817/mybarber-app-backend"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/prasanth2817/MyBarber-App-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth2817%2FMyBarber-App-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth2817%2FMyBarber-App-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth2817%2FMyBarber-App-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth2817%2FMyBarber-App-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prasanth2817","download_url":"https://codeload.github.com/prasanth2817/MyBarber-App-Backend/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prasanth2817%2FMyBarber-App-Backend/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32432917,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T13:34:34.882Z","status":"ssl_error","status_checked_at":"2026-04-29T13:34:29.830Z","response_time":110,"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":["bcryptjs","cors","dotenv","express","jsonwebtoken","jwt-authentication","mongoose","multer"],"created_at":"2024-11-08T21:51:06.990Z","updated_at":"2026-04-29T16:02:00.941Z","avatar_url":"https://github.com/prasanth2817.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# MyBarber Application Backend\n\nMyBarber Application is an application built for users to book and manage appointments at salons. Users can select stylists, services, and specific dates and times. Business users have a separate dashboard for managing appointments and services.\n\n## Features\n\n- User authentication and authorization\n- Booking and managing salon appointments\n- Selecting stylists and services\n- Specifying appointment dates and times\n- Business dashboard for managing appointments and services\n- Integration with MongoDB for data storage\n\n## Technology Stack\n\n- **Backend Framework:** Node.js, Express.js\n- **Database:** MongoDB, Mongoose\n- **Authentication:** JWT (JSON Web Token)\n- **Other Tools:** Git, Postman for API testing\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js\n- MongoDB\n- Git\n\n### Installation\n\n1. **Clone the repository:**\n   \n  - git clone https://github.com/prasanth2817/MyBarber-App-Backend.git\n  - cd MyBarber-App-Backend\n   \n3. **Install Dependies**\n   \n   - npm install\n\n5. **Set Up Environment Variable**\n   \n   - MONGODB_URI=your_mongodb_uri\n   - JWT_SECRET=your_jwt_secret\n   - PORT=8000\n   \n7. **Start the Server**\n\n   - npm strat\n\n\n### API Endpoints\n\n1. **User Routes**:\n\n- POST /api/users/register - Register a new user\n- POST /api/users/login - Login a user\n- PUT /api/users/reset-password - reset a user password \n\n2. **Store Routes**:\n\n- POST /api/stores - Create a new store\n- GET /api/stores/:storeId - Get a store by ID\n- PUT /api/stores/:storeId - Update a store by ID\n- DELETE /api/stores/:storeId - Delete a store by ID\n\n3. **Service Routes**:\n\n- POST /api/services - Create a new service\n- GET /api/services/store/:storeId - Get all services by store ID\n- PUT /api/services/:serviceId - Update a service by ID\n- DELETE /api/services/:serviceId - Delete a service by ID\n\n4. **Appointment Routes**:\n\n- POST /api/appointments/create - Create a new appointment\n- GET /api/appointments/store/:appointmentId - Get an appointment by storeID\n- GET /api/appointments/user/:appointmentId - Get an appointment by userID\n- PUT /api/appointments/:appointmentId - Update an appointment by ID\n- DELETE /api/appointments/:appointmentId - Delete an appointment by ID\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasanth2817%2Fmybarber-app-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprasanth2817%2Fmybarber-app-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprasanth2817%2Fmybarber-app-backend/lists"}