{"id":19797624,"url":"https://github.com/samantha-ruth/tech-blog","last_synced_at":"2026-04-13T16:34:23.058Z","repository":{"id":45497824,"uuid":"513166987","full_name":"Samantha-Ruth/Tech-Blog","owner":"Samantha-Ruth","description":"A blog where tech enthusiasts can get together and share thoughts.  Built using Nodejs, Express, SQL, MySQL2, Sequelize, handlebars, and bcript.","archived":false,"fork":false,"pushed_at":"2022-07-19T19:13:46.000Z","size":300,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-06-10T20:25:17.441Z","etag":null,"topics":["bcrypt","express","expressjs","handlebars","javascript","mvc","mysql2","nodejs","sequelize","sql"],"latest_commit_sha":null,"homepage":"","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/Samantha-Ruth.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":"2022-07-12T14:05:39.000Z","updated_at":"2023-06-14T15:46:25.000Z","dependencies_parsed_at":"2022-07-15T07:01:01.852Z","dependency_job_id":null,"html_url":"https://github.com/Samantha-Ruth/Tech-Blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Samantha-Ruth/Tech-Blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samantha-Ruth%2FTech-Blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samantha-Ruth%2FTech-Blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samantha-Ruth%2FTech-Blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samantha-Ruth%2FTech-Blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Samantha-Ruth","download_url":"https://codeload.github.com/Samantha-Ruth/Tech-Blog/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Samantha-Ruth%2FTech-Blog/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31761984,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-13T15:25:13.801Z","status":"ssl_error","status_checked_at":"2026-04-13T15:25:09.162Z","response_time":93,"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":["bcrypt","express","expressjs","handlebars","javascript","mvc","mysql2","nodejs","sequelize","sql"],"created_at":"2024-11-12T07:26:06.409Z","updated_at":"2026-04-13T16:34:23.041Z","avatar_url":"https://github.com/Samantha-Ruth.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tech-Blog\n\n## Description\n\nThis project brought together a combination of express.js, SQL, mysql2, Sequelize, and Handlbars in the MVC paradigm.  I learned about using Handlebars to create the front end of the website, use authentication, and conditionally show/hide pages of the website based on authentication. \n\n\n![Tech Blog Post List](https://user-images.githubusercontent.com/64170123/179441374-338acce6-434c-4fc1-a0ae-7303b383f719.jpg)\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [Links](#links)\n* [Questions](#questions)\n\n## Installation\n\nIf the user already has node installed on their device, they can download this project and run \"npm init\" and then \"npm install express bcrypt sequelize express-handlebars dotenv --save mysql2 express-session connect-session-sequelize jest --save-dev\" to download the required dependencies (express.js, bcrypt, Sequelize, Express-Handlebars, dotenv, MySql2, Session-sequelize, and Jest respectively).  In order to access the mysql2 shell,  they would need to create a .env file with the following, replacing \u003cusername\u003e and \u003cuser password\u003e with the users own username and password: \n  \nDB_NAME=ecommerce_db\n\nDB_USER= \u003c username \u003e\n\nDB_PASSWORD= \u003c user password \u003e\n\n\nTo ensure the user is connected to the correct database, navigate to the root folder of the project, and then open the mysql2 shell and enter \"source db/schema.sql\".  Then enter \"USE ecommerce_db\" to use the database file. Exit the mysql2 shell by entering \"exit\" into the command line.\n\nNext, seed the database with data by entering \"npm run seed\" into the command line.  The database and required tables are now created, selected, and contain data.  \n\nFinally, connect the server by entering \"npm start\" into the command line.\n\n\n## Usage\n\nWhen the user gets to the homepage, they will be presented with a list of existing blog posts and comments.  At the top of the webpage, the user has an option to login.  Once they click on the login link, the user has the option to log in or create a new login account. Once the user logs in, they are taken to a dashboard of the posts they have created.  They are given the option to add a new post, change the title of the post, or delete the post.  They also have the option to comment on other posts. \n\n\n![Tech Blog Log In](https://user-images.githubusercontent.com/64170123/179441799-0d6f2db5-1a57-41df-ac36-bf336cf7b9e9.jpg)\n\n![Tech Blog Create New Post](https://user-images.githubusercontent.com/64170123/179441794-3f5964d9-6982-4ad9-ab9f-e5c958fb4543.jpg)\n\n![Tech Blog Post List 2](https://user-images.githubusercontent.com/64170123/179441804-94162241-a53c-4508-9359-79e1f3dadc27.jpg)\n\n## Links\n\n\nThe link to the project is here: https://limitless-hollows-96215.herokuapp.com\n\nThe url of the Git repository is here: https://github.com/Samantha-Ruth/Tech-Blog\n\n\n## Questions\n\nIf you have any questions about the repo, open an issue or you can find more of my work at (https://gitHub.com/Samantha-Ruth).\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamantha-ruth%2Ftech-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamantha-ruth%2Ftech-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamantha-ruth%2Ftech-blog/lists"}