{"id":18375992,"url":"https://github.com/ndeta100/camhotelconnect","last_synced_at":"2026-04-30T07:42:33.629Z","repository":{"id":207983875,"uuid":"720560104","full_name":"Ndeta100/CamHotelConnect","owner":"Ndeta100","description":"This is an experimental project to create my own business at some point =)","archived":false,"fork":false,"pushed_at":"2024-09-05T09:34:43.000Z","size":133,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-15T22:24:49.762Z","etag":null,"topics":["fiber","go","jwt","mongodb"],"latest_commit_sha":null,"homepage":"","language":"Go","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/Ndeta100.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":"2023-11-18T21:16:56.000Z","updated_at":"2024-09-05T09:34:47.000Z","dependencies_parsed_at":"2023-11-18T22:26:50.358Z","dependency_job_id":"8909536c-8c71-4eb7-b94f-db362712fd38","html_url":"https://github.com/Ndeta100/CamHotelConnect","commit_stats":null,"previous_names":["ndeta100/camhotelconnect"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ndeta100%2FCamHotelConnect","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ndeta100%2FCamHotelConnect/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ndeta100%2FCamHotelConnect/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ndeta100%2FCamHotelConnect/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ndeta100","download_url":"https://codeload.github.com/Ndeta100/CamHotelConnect/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345274,"owners_count":21088241,"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":["fiber","go","jwt","mongodb"],"created_at":"2024-11-06T00:21:26.398Z","updated_at":"2026-04-30T07:42:33.600Z","avatar_url":"https://github.com/Ndeta100.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hotel Reservation API\n\n## Overview\n\nThis project is a backend JSON API for a hotel reservation system. It's built using Go (Golang) and utilizes MongoDB for data persistence. The API allows for room booking at a hotel, with features to support both user and administrative functionalities.\n\n## Features\n\n### For Users\n\n- **Room Booking**: Users can browse available rooms and make reservations.\n- **Account Management**: Users can create accounts, log in, and manage their bookings.\n\n### For Admins\n\n- **Booking Management**: Admins can view and manage all room bookings.\n- **Room Management**: Admins have the capabilities to add, remove, or modify room details.\n- **User Management**: Admins can manage user accounts and access rights.\n\n### Security\n\n- **Authentication**: The API supports secure user authentication.\n- **Authorization**: Different authorization levels are implemented, ensuring users have access only to appropriate functionalities.\n\n### Additional Utilities\n\n- **Database Seeding**: Scripts are provided to seed the database with initial data.\n- **Database Migrations**: The system supports database migrations for smooth transitions and upgrades.\n\n## Technologies Used\n\n- **Programming Language **: [Go (Fiber)](https://gofiber.io/)\n- **Database**: [MongoDB](https://www.mongodb.com/docs/drivers/go/current/)\n- **Authentication**: [JWT](https://jwt.io/) / [OAuth](https://oauth.net/2/) (TBD)\n\n## Getting Started\n\n### Prerequisites\n\n- [Go (latest version)](https://golang.org/dl/)\n- [MongoDB](https://www.mongodb.com/try/download/community)\n\n### Installation\n\n1. **Clone the repository**:\n   ```bash\n   git clone https://github.com/Ndeta100/CamHotelConnect.git\n   \n### project env variables\n```\n   HTTP_LISTEN_ADDRESS=:3000\n   JWT_SECRET=somthing_supersecret_No_bodyknows\n   MONGO_DB_URL=mongodb://localhost:27017\n   MONGO_DB_NAME=hotel-reservation\n   MONGO_DB_URL_TEST=mongodb://localhost:27017\n   CLOUDINARY_API_KEY=\n   CLOUDINARY_API_SECRET=\n   CLOUDINARY_CLOUD_NAME=\n   CLOUDINARY_UPLOAD_FOLDER=\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndeta100%2Fcamhotelconnect","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fndeta100%2Fcamhotelconnect","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fndeta100%2Fcamhotelconnect/lists"}