{"id":28211154,"url":"https://github.com/darinm223/bookcycle","last_synced_at":"2025-10-09T08:08:04.516Z","repository":{"id":32879379,"uuid":"36473687","full_name":"DarinM223/bookcycle","owner":"DarinM223","description":"Real time UCLA peer-to-peer textbook selling web application","archived":false,"fork":false,"pushed_at":"2016-06-17T22:43:16.000Z","size":12835,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2025-06-11T03:35:48.338Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://gentle-chamber-2680.herokuapp.com/","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/DarinM223.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}},"created_at":"2015-05-29T00:22:35.000Z","updated_at":"2016-06-17T03:37:29.000Z","dependencies_parsed_at":"2022-09-02T22:23:17.925Z","dependency_job_id":null,"html_url":"https://github.com/DarinM223/bookcycle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/DarinM223/bookcycle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fbookcycle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fbookcycle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fbookcycle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fbookcycle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DarinM223","download_url":"https://codeload.github.com/DarinM223/bookcycle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DarinM223%2Fbookcycle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001097,"owners_count":26082990,"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","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"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":[],"created_at":"2025-05-17T17:11:08.106Z","updated_at":"2025-10-09T08:08:04.511Z","avatar_url":"https://github.com/DarinM223.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookcycle\n\n[![Build Status](https://travis-ci.org/DarinM223/bookcycle.svg)](https://travis-ci.org/DarinM223/bookcycle)\n\n![Main Image](http://i.imgur.com/lgGEjsT.png)\n\nDevelopment setup\n=================\n\nFirst you have to install Go. You can do so by using Homebrew or downloading the distribution off of the Golang home page. Be sure to set the GOPATH environment variable to the root path of Go (most of the time it is in ~/go). Also the version of Go must support vendored dependencies (1.5+).\n\nThen run:\n```\ngo get github.com/DarinM223/bookcycle\n```\nWhich should put the project inside $GOPATH/src/github.com/DarinM223/bookcycle. That is the folder where all of the development is done. \n\nBefore pushing code to master, make sure that the code is formatted with gofmt (a formatting tool that comes with go). Plugins for many text editors like GoSublime for Sublime Text or vim-go for vim automatically do this whenever you save a Go file.\n\nBuilding\n=================\nTo get the latest version of the dependencies, first run \n```\ngo get\n```\n\nThen to build the project, first type\n```\ngo install\n```\nto cache all non-main dependencies.\n\nThen type\n```\ngo build\n```\nto build the application into the bookcycle executable.\n\nRunning\n=======\nEnter\n```\n./bookcycle\n```\ninto the terminal at the project path to run the application. Navigate to [http://localhost:8080](http://localhost:8080) and it should display the home page.\n\nYou might run into an error named something like this when logging in:\n```\ngob: type not registered for interface *main.User\n```\nIf this happens, you have to clear out your cookies by going into the chrome development tools and clicking Resource and the dropdown arrow under Cookies. There should be a localhost option. Right click that and click Clear to c lear the cookies. After that login should work\n\nDocumentation\n=============\nDocumentation for all methods used for the backend is in https://godoc.org/github.com/DarinM223/bookcycle/server\n\nScreenshots\n===========\n\n![New Book](http://i.imgur.com/jOqxuKI.png)\n\n![Recent Books](http://i.imgur.com/ykuqznz.png)\n\n![Book detail](http://i.imgur.com/XLeD4lu.png)\n\n![Messaging](http://i.imgur.com/BIdsRdX.png)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarinm223%2Fbookcycle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdarinm223%2Fbookcycle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdarinm223%2Fbookcycle/lists"}