{"id":18457290,"url":"https://github.com/fakorede/gobnb","last_synced_at":"2026-04-27T11:31:53.120Z","repository":{"id":96855174,"uuid":"396115016","full_name":"Fakorede/gobnb","owner":"Fakorede","description":"A web application built with Golang","archived":false,"fork":false,"pushed_at":"2021-12-27T17:22:40.000Z","size":6442,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-23T10:51:23.552Z","etag":null,"topics":["caddyserver","go","golang","linode","postgres","ubuntu"],"latest_commit_sha":null,"homepage":"http://178.79.133.220","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/Fakorede.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":"2021-08-14T19:58:02.000Z","updated_at":"2021-12-27T17:22:43.000Z","dependencies_parsed_at":"2023-04-12T13:46:25.731Z","dependency_job_id":null,"html_url":"https://github.com/Fakorede/gobnb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Fakorede/gobnb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fakorede%2Fgobnb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fakorede%2Fgobnb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fakorede%2Fgobnb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fakorede%2Fgobnb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Fakorede","download_url":"https://codeload.github.com/Fakorede/gobnb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Fakorede%2Fgobnb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32335296,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-26T23:26:28.701Z","status":"online","status_checked_at":"2026-04-27T02:00:06.769Z","response_time":128,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["caddyserver","go","golang","linode","postgres","ubuntu"],"created_at":"2024-11-06T08:13:55.706Z","updated_at":"2026-04-27T11:31:53.104Z","avatar_url":"https://github.com/Fakorede.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GoBnB (wip)\n\n\u003e A fully featured bookings and reservation system for a Bed \u0026 Breakfast.\n\nVisitors to the site will be able to search for accommodations by date and make an online reservation, and the site owner will be able to manage reservations from a secure back end.\n\n### Key Functionalities\n\n- Showcase Properties\n- Allow bookings for one or more nights\n- Check availability\n- Book property\n- Notifications to guests, and property owner\n\n## Getting Started\n\n### Clone Application\n\n```\ngit clone https://github.com/Fakorede/gobnb.git\n```\n\n### Run Tests\n\n\u003e To run tests on a package level, `cd` from the project root to the directory of each package and run the commands:\n\n\n|  **Package** |  **Directory** |\n|---|---|\n|  main |  /cmd/web |\n|  handlers | /internal/handlers  |\n|  render |  /internal/render |\n|  forms |  /internal/forms |\n\n```\n$ go test -v\n$ go test -cover\n$ go test -coverprofile=coverage.out \u0026\u0026 go tool cover -html=coverage.out\n```\n\n\u003e To run all tests from the project root\n\n```\n$ go test -v ./...\n$ go test -cover ./...\n$ go test -coverprofile=coverage.out \u0026\u0026 go tool cover -html=coverage.out ./...\n```\n\n### Database Setup\n\n```\ncp database.yml.example database.yml\n```\n\ncreate db in your database client and add `database`, `user`, and `password` to database.yml file\n```\ndatabase: gobnb\nuser:\npassword:\n```\n\n### Run Migrations\n\n\u003e To run migrations, you must have Soda nstalled\n\n```\n$ go get github.com/gobuffalo/pop/...\n\n// add path to .zprofile\n$ cd ~\n$ nano .zprofile\nexport PATH=\"$HOME/go/bin:$PATH\"\n\n// confirm path has been added\n$ which soda\n\n// run migrations\n$ soda migrate\n```\n\n### Run Application\n\n```\n$ cd gobnb\n$ go mod download\n\n$ go run cmd/web/main.go cmd/web/middlewares.go cmd/web/routes.go\n\nalternatively,\n\n// On Mac\n$ chmod +x run.sh\n$ ./run.sh\n\n// On Windows\n$ run.bat\n```\n\n### Tech Used\n\n- Bootstrap\n- JavaScript\n- Golang (using the in-built net/http package for handling requests, chi for routing, html/template for serving the pages, soda for database migrations)\n- SQL\n\n### Deployed On\n\n- VPS: Linode\n- OS: Ubuntu 20.04\n- Server: Caddy\n- Database: PostgreSQL\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffakorede%2Fgobnb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffakorede%2Fgobnb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffakorede%2Fgobnb/lists"}