{"id":16601588,"url":"https://github.com/amankumarsinhagithub/blog-post","last_synced_at":"2025-12-05T01:08:13.526Z","repository":{"id":238310640,"uuid":"796232159","full_name":"AmanKumarSinhaGitHub/Blog-Post","owner":"AmanKumarSinhaGitHub","description":"Simple BLOG APP to Learn CRUD using EJS, NodeJs, ExpressJs, MongoDB","archived":false,"fork":false,"pushed_at":"2024-05-20T09:13:28.000Z","size":68,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-17T07:44:13.996Z","etag":null,"topics":["blog","blogwebsite","ejs","mongodb","nodejs"],"latest_commit_sha":null,"homepage":"","language":"EJS","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/AmanKumarSinhaGitHub.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":"2024-05-05T10:45:28.000Z","updated_at":"2024-05-20T09:13:32.000Z","dependencies_parsed_at":"2024-11-16T15:04:19.481Z","dependency_job_id":"90b9a8bb-2b96-4285-b88e-ad95c86406d0","html_url":"https://github.com/AmanKumarSinhaGitHub/Blog-Post","commit_stats":null,"previous_names":["amankumarsinhagithub/blog-post"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FBlog-Post","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FBlog-Post/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FBlog-Post/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AmanKumarSinhaGitHub%2FBlog-Post/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AmanKumarSinhaGitHub","download_url":"https://codeload.github.com/AmanKumarSinhaGitHub/Blog-Post/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242650955,"owners_count":20163611,"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":["blog","blogwebsite","ejs","mongodb","nodejs"],"created_at":"2024-10-12T00:18:36.023Z","updated_at":"2025-12-05T01:08:08.471Z","avatar_url":"https://github.com/AmanKumarSinhaGitHub.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple Blog Application\n\nThis is a simple blog application built with Node.js, Express.js, EJS, and MongoDB.\n\n## Features\n\n- User authentication (registration and login)\n- Create, edit, and delete posts\n- View all posts by a user\n- Upload and update profile images\n- Like and unlike posts\n\n## Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/AmanKumarSinhaGitHub/Blog-Post\n   ```\n\n2. Navigate to the project directory:\n\n   ```bash\n   cd Blog-Post\n   ```\n\n3. Install dependencies:\n\n   ```bash\n   npm install\n   ```\n\n4. Start the application:\n\n   ```bash\n   nodemon .\\app.js\n   ```\n\n5. Open your web browser and go to `http://localhost:3000` to access the application.\n\n## Dependencies\n\n- Express.js: Web framework for Node.js\n- EJS: Templating engine for rendering views\n- Mongoose: MongoDB object modeling tool\n- Bcrypt: Password hashing library\n- Jsonwebtoken: Library for generating and verifying JSON web tokens\n- Cookie-parser: Middleware for parsing cookies\n- Multer: Middleware for handling file uploads\n\n## Configuration\n\nBefore running the application, make sure to configure the MongoDB connection string in `app.js`:\n\n```javascript\nmongoose.connect(\"mongodb://localhost:27017/blog\");\n```\n\n## Usage\n\n- Register a new user account by providing username, name, email, password, and age.\n- Log in with your credentials to access your profile.\n- Create new blog posts, edit or delete existing posts.\n- Like or unlike posts.\n- Upload or update your profile image.\n- Log out from your account when done.\n\n## Folder Structure\n\n- `config`: Configuration files (multer configuration).\n- `models`: Database models (user and blog post).\n- `public`: Static assets (stylesheets, images).\n- `routes`: Route handlers for different endpoints.\n- `views`: EJS view templates.\n- `app.js`: Main application file.\n\n## Thanks\n\nFeel free to reach out with any questions or feedback!","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankumarsinhagithub%2Fblog-post","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Famankumarsinhagithub%2Fblog-post","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Famankumarsinhagithub%2Fblog-post/lists"}