{"id":21937400,"url":"https://github.com/skx1322/blog-web","last_synced_at":"2026-04-17T15:05:56.828Z","repository":{"id":264284360,"uuid":"892932251","full_name":"skx1322/Blog-Web","owner":"skx1322","description":"URL OPENED","archived":false,"fork":false,"pushed_at":"2024-12-06T09:07:57.000Z","size":8673,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-27T13:48:18.316Z","etag":null,"topics":["ejs","nodejs","psotgresql"],"latest_commit_sha":null,"homepage":"https://blog-web-djid.onrender.com/","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/skx1322.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-11-23T04:43:39.000Z","updated_at":"2024-12-06T09:08:01.000Z","dependencies_parsed_at":null,"dependency_job_id":"3c949275-35e9-47f9-8594-5c30bf9936ae","html_url":"https://github.com/skx1322/Blog-Web","commit_stats":null,"previous_names":["skx1322/blog-web"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx1322%2FBlog-Web","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx1322%2FBlog-Web/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx1322%2FBlog-Web/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/skx1322%2FBlog-Web/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/skx1322","download_url":"https://codeload.github.com/skx1322/Blog-Web/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244967591,"owners_count":20539982,"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":["ejs","nodejs","psotgresql"],"created_at":"2024-11-29T01:19:31.990Z","updated_at":"2026-04-17T15:05:56.800Z","avatar_url":"https://github.com/skx1322.png","language":"EJS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# BlogEJS\nThis Project mainly utilize Node.js, Express and EJS and various Node Package Module libraries.\n\n# Issue\nRender doesn't provide me a disk or file system so Image that were uploaded to it are not saved\n\n# 1. Node.js and Terminal Install\n- Make sure you're using the Node.js version at least 20.18.0\n--\u003e https://nodejs.org/en\n- Make sure you also have Terminal environment such as Git Bash.\n--\u003e https://git-scm.com/downloads\n- Ensure you have Google Authentification Client ID setup in Google Cloud Project\n--\u003e https://developers.google.com/identity/sign-in/web/sign-in\n\n# 2. Set up NPM\n- This step is to install the Node.js 3rd party libraries.\n- For this Project, I used the following libraries:\n1. bcrypt\n2. body-parser\n3. dotenv \n4. ejs\n5. express\n6. express-session\n7. multer\n8. nodemon (Optional)\n9. passport\n10. passport-google-oauth2\n11. passport-local\n12. pg (PostgreSQL Database)\n\n```bash\nnpm install \n```\n\n```bash\n# If the package didn't install the libraries\nnpm i bcrypt body-paser dotenv ejs express express-session multer passport passport-google-oauth2 passport-local pg\nnpm i nodemon # Optional\n```\n\n- It'll automatically install all the libraries according to the JSON.\n\n\n# 3. Step up the an .env while and fill in the root.\n- Ensure you have PostgreSQL PG-ADMIN 4 opened in your local environment\n- And you can set up GOOGLE SECURITY in Google Cloud by starting a new project\n```bash\nGOOGLE_CLIENT_ID=your-google-client-id\nGOOGLE_CLIENT_SECRET=your-google-client-secret\nSESSION_SECRET=your-session-secret\nPG_USER=your-postgres-username\nPG_HOST=localhost\nPG_DATABASE=mydatabase\nPG_PASSWORD=your-postgres-password\nPG_PORT=5432\n```\n\n\n# 4. Once all the following step is done, do the following in terminal\n```bash\nnodemon index.js\n```\n(If 'nodemon index.js doesn't work, use the following)\n\n```bash\nnpx nodemon index.js\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskx1322%2Fblog-web","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fskx1322%2Fblog-web","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fskx1322%2Fblog-web/lists"}