{"id":15960827,"url":"https://github.com/emilyjspencer/bookmarks","last_synced_at":"2026-01-16T01:40:47.963Z","repository":{"id":40131635,"uuid":"260684799","full_name":"emilyjspencer/Bookmarks","owner":"emilyjspencer","description":"A bookmark manager that stores a collection of bookmarks as urls. A Makers project (post-Makers). ","archived":false,"fork":false,"pushed_at":"2023-04-12T05:21:49.000Z","size":244,"stargazers_count":0,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T22:30:31.141Z","etag":null,"topics":["crud","database","postgresql","ruby","sinatra","sql"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/emilyjspencer.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":"2020-05-02T12:42:48.000Z","updated_at":"2020-05-08T11:36:00.000Z","dependencies_parsed_at":"2025-02-07T22:28:37.411Z","dependency_job_id":"ee084e25-761a-4915-8dc3-e4e8db777c62","html_url":"https://github.com/emilyjspencer/Bookmarks","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilyjspencer%2FBookmarks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilyjspencer%2FBookmarks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilyjspencer%2FBookmarks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/emilyjspencer%2FBookmarks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/emilyjspencer","download_url":"https://codeload.github.com/emilyjspencer/Bookmarks/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771897,"owners_count":20831120,"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":["crud","database","postgresql","ruby","sinatra","sql"],"created_at":"2024-10-07T15:21:53.538Z","updated_at":"2026-01-16T01:40:47.936Z","avatar_url":"https://github.com/emilyjspencer.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Bookmark Manager\n\n\nBuild a bookmark manager that stores a collection of bookmarks as\nURLs.\n\n\n \n## User Stories\n\n ```\n As a user,\n So I can view my most-used websites,\n I want to view a list of bookmarks\n\n As a user,\n So I can retrieve my most-used websites at a later date,\n I want to to be able to store these websites \n\n As a user,\n So I can remove my bookmark from the Bookmark Manager,\n I want to delete a bookmark\n\n As a user,\n So I can change a bookmark in Bookmark Manager,\n I want to update a bookmark\n\n As a user,\n So that the bookmarks I save are useful,\n I want to only save a valid URL\n\n As a user,\n So that I can describe what the bookmarks are\n I want to be able to add a comment or comments to a bookmark\n\n As a user,\n So that I can categorize my bookmarks,\n I want to add a tag to a bookmark\n\n As a user,\n So that I can find relevant bookmarks,\n I want to filter my bookmarks by a tag\n\n As a user,\n So that I can have a personalised bookmark list,\n I want to be able to sign up\n\n As a user,\n So that I can keep my account secure,\n I want to be able to sign in\n ```\n \n\n\n\n ## Databases Setup\n\n * **Connect to psql:**\n\n ```\n brew install postgresql\n\n brew services start postgresql\n\n psql postgres\n ```\n\n * **Create the database and test database:**\n\ndevelopment database:\n\n```html\nCREATE DATABASE bookmark_manager_new;\n```\n\ntest database:\n\n```html\nCREATE DATABASE bookmark_manager_new_test;\n```\n\nConnect to the database\n\n```html\n\\c bookmark_manager_new;\n```\n\nRun the following migrations. which can be found in the db/migrations subfolder: \n\n```html\n CREATE TABLE bookmarks(id SERIAL PRIMARY KEY, url VARCHAR(60));\n```\n```html\n CREATE TABLE bookmarks(id SERIAL PRIMARY KEY, url VARCHAR(60));\n```\n```html\n ALTER TABLE bookmarks ADD COLUMN title VARCHAR(30);\n```\n```html\n CREATE TABLE comments(id SERIAL PRIMARY KEY, text VARCHAR(240), bookmark_id INTEGER REFERENCES bookmarks (id));\n```\n```html\n ALTER TABLE comments ADD description text;\n```\n```html\n ALTER TABLE comments DROP COLUMN text;\n```\n```html\n CREATE TABLE tags(id SERIAL PRIMARY KEY, content VARCHAR(60));\n```\n```html\n CREATE TABLE bookmarks_tags(tag_id INTEGER REFERENCES tags (id), bookmark_id INTEGER REFERENCES bookmarks (id));\n``` \n\nRepeat for the test database\n\n### How to use:\n\n**Clone this repository:**\n\n```html\ngit clone https://github.com/emilyjspencer/Bookmarks.git\n```\n\n**cd into the repo**\n\n**Run**\n\n```html\nbundle install\n```\n\n**Start the server:**\n\n```html\nrackup\n```\n\n**Go to localhost:9292**\n\n### How to run the tests:\n\n```html\nrspec\n```\n\n### Built with:\n\n* Ruby\n* Sinatra\n* HTML/CSS\n* SQL\n\n### Tested with:\n\n* RSpec\n* Capybara\n\n### What it looks like:\n![homepage](homepage.png)\n![bookmarks](bookmarks.png)\n![edit](edit.png)\n![add](addbookmark.png)\n\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilyjspencer%2Fbookmarks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Femilyjspencer%2Fbookmarks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Femilyjspencer%2Fbookmarks/lists"}