{"id":21953981,"url":"https://github.com/eyupfidan/node-blog","last_synced_at":"2026-04-11T19:05:47.039Z","repository":{"id":157215688,"uuid":"539004335","full_name":"eyupfidan/node-blog","owner":"eyupfidan","description":"This project is a blog application developed using Node.js, Express, Handlebars, and MongoDB. ","archived":false,"fork":false,"pushed_at":"2023-07-24T14:03:07.000Z","size":21832,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T22:48:02.147Z","etag":null,"topics":["authentication","express","handlebars","session"],"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/eyupfidan.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":"2022-09-20T13:30:47.000Z","updated_at":"2023-04-27T10:14:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"261e623b-b85f-4257-9865-e43ceaa4e7b1","html_url":"https://github.com/eyupfidan/node-blog","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/eyupfidan%2Fnode-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyupfidan%2Fnode-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyupfidan%2Fnode-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eyupfidan%2Fnode-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eyupfidan","download_url":"https://codeload.github.com/eyupfidan/node-blog/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245001700,"owners_count":20545302,"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":["authentication","express","handlebars","session"],"created_at":"2024-11-29T07:14:47.976Z","updated_at":"2025-12-30T20:42:24.681Z","avatar_url":"https://github.com/eyupfidan.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"﻿\u003ch1\u003eNode.js Blog Application\u003c/h1\u003e\r\n\u003cp\u003eThis application is a blog app developed using Node.js, Express, Handlebars, and MongoDB. The app allows users to add new blog posts, view and update existing posts, and also includes login and session functionality.\u003c/p\u003e\r\n\u003ch2\u003eInstallation\u003c/h2\u003e\r\n\u003col\u003e\r\n  \u003cli\u003eDownload or clone the project to your computer.\u003c/li\u003e\r\n  \u003cli\u003eIf Node.js is not already installed, download and install it from \u003ca href=\"https://nodejs.org/en/download/\" target=\"_new\"\u003ehere\u003c/a\u003e. \u003c/li\u003e\r\n  \u003cli\u003eNavigate to the project's root directory in your terminal or command prompt.\u003c/li\u003e\r\n  \u003cli\u003eRun the command \u003ccode\u003enpm install\u003c/code\u003e in your terminal or command prompt. \u003c/li\u003e\r\n  \u003cli\u003eCreate a MongoDB account or log in to an existing one.\u003c/li\u003e\r\n  \u003cli\u003eCreate a \u003ccode\u003e.env\u003c/code\u003e file and set the variables containing your MongoDB connection string and session secret key: \u003c/li\u003e\r\n\u003c/ol\u003e\r\n\r\n```bash\r\nMONGOOSE_CONNECT_URL=\r\n```\r\n\u003col start=\"7\"\u003e\r\n  \u003cli\u003eRun the command \u003ccode\u003enpm start\u003c/code\u003e in your terminal or command prompt. \u003c/li\u003e\r\n\u003c/ol\u003e\r\n\u003ch2\u003eUsage\u003c/h2\u003e\r\n\u003cp\u003eThe app runs at \u003ccode\u003ehttp://localhost:3000\u003c/code\u003e. \u003c/p\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003e/\u003c/code\u003e: Home page where you can view the blog posts.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003e/posts\u003c/code\u003e: List of blog posts, form to add a new post, and page to edit an existing post.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003e/users\u003c/code\u003e: Login page and registration page for users.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003e/users/logout\u003c/code\u003e: Logs out the user.\r\n  \u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003ch2\u003eDevelopment\u003c/h2\u003e\r\n\u003cp\u003eThe app is developed using Node.js, Express, Handlebars, and MongoDB. The main files are:\u003c/p\u003e\r\n\u003cul\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003eapp.js\u003c/code\u003e: The main application file.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003eroutes/main.js\u003c/code\u003e: The routers for the home page route.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003eroutes/posts.js\u003c/code\u003e: The routers for the blog post routes.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003eroutes/users.js\u003c/code\u003e: The routers for the user routes.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003eviews/\u003c/code\u003e: Handlebars templates.\r\n  \u003c/li\u003e\r\n  \u003cli\u003e\r\n    \u003ccode\u003epublic/\u003c/code\u003e: Static files used to serve content.\r\n  \u003c/li\u003e\r\n\u003c/ul\u003e\r\n\u003ch2\u003eContributing\u003c/h2\u003e\r\n\u003cp\u003eBefore contributing, please check the \u003ccode\u003eissues\u003c/code\u003e tab and discuss any suggestions or issues related to the development of the project. \u003c/p\u003e\r\n\u003col\u003e\r\n  \u003cli\u003eFork the repository.\u003c/li\u003e\r\n  \u003cli\u003eCreate a branch: \u003ccode\u003egit checkout -b feature/xyz\u003c/code\u003e. \u003c/li\u003e\r\n  \u003cli\u003eCommit your changes: \u003ccode\u003egit commit -am 'Add some feature'\u003c/code\u003e. \u003c/li\u003e\r\n  \u003cli\u003ePush to the branch: \u003ccode\u003egit push origin feature/xyz\u003c/code\u003e. \u003c/li\u003e\r\n  \u003cli\u003eSubmit a pull request.\u003c/li\u003e\r\n\u003c/ol\u003e\r\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyupfidan%2Fnode-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feyupfidan%2Fnode-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feyupfidan%2Fnode-blog/lists"}