{"id":19829241,"url":"https://github.com/lohit-pro/pern-todo","last_synced_at":"2026-04-10T14:38:36.993Z","repository":{"id":244983936,"uuid":"816910298","full_name":"Lohit-pro/PERN-TODO","owner":"Lohit-pro","description":"A simple ToDo app done using PERN Stack!","archived":false,"fork":false,"pushed_at":"2024-06-19T13:34:48.000Z","size":182,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-28T21:07:55.536Z","etag":null,"topics":["expressjs","nodejs","postgresql","reactjs"],"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/Lohit-pro.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-06-18T16:22:23.000Z","updated_at":"2024-09-21T12:28:40.000Z","dependencies_parsed_at":"2024-06-18T21:02:45.304Z","dependency_job_id":"6b5bce57-8af6-451d-ba1c-c0a613fba8ab","html_url":"https://github.com/Lohit-pro/PERN-TODO","commit_stats":null,"previous_names":["lohit-pro/pern-todo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Lohit-pro/PERN-TODO","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lohit-pro%2FPERN-TODO","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lohit-pro%2FPERN-TODO/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lohit-pro%2FPERN-TODO/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lohit-pro%2FPERN-TODO/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lohit-pro","download_url":"https://codeload.github.com/Lohit-pro/PERN-TODO/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lohit-pro%2FPERN-TODO/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279003544,"owners_count":26083595,"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","status":"online","status_checked_at":"2025-10-10T02:00:06.843Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["expressjs","nodejs","postgresql","reactjs"],"created_at":"2024-11-12T11:18:08.822Z","updated_at":"2025-10-10T10:34:49.982Z","avatar_url":"https://github.com/Lohit-pro.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 📝 PERN Todo Application\n\nWelcome to the PERN Todo Application! This project is built using PostgreSQL, Express.js, React, and Node.js.\n\n## 🚀 Getting Started\n\nFollow these instructions to get a copy of the project up and running on your local machine.\n\n### 📦 Install Dependencies\n\nFirst, install the necessary dependencies for both the server and client:\n\n1. **Server**:\n    ```bash\n    cd server\n    npm install\n    ```\n\n2. **Client**:\n    ```bash\n    cd client\n    npm install\n    ```\n\n### 💻 Running the Application\n\nAfter installing the dependencies, you can run the server and the client. Follow the steps below:\n\n1. **Run the Server**:\n    ```bash\n    cd server\n    node index\n    ```\n    The server will start running on port 5000.\n\n2. **Run the Client**:\n    ```bash\n    cd client\n    npm start\n    ```\n    The client will start on port 3000 (default for Create React App).\n\n### 🛠️ Configuration\n\nMake sure your PostgreSQL database is set up correctly. You can use the following SQL commands to create the database and table:\n\n```sql\nCREATE DATABASE perntodo;\n\nCREATE TABLE todo (\n    todo_id SERIAL PRIMARY KEY,\n    description VARCHAR(255)\n);\n```\nUpdate the db.js file in the server directory with your PostgreSQL configuration:\n\n```const Pool = require(\"pg\").Pool;\n\nconst pool = new Pool({\n    user: \"postgres\",\n    password: \"your_password\",\n    host: \"localhost\",\n    port: 5432,\n    database: \"perntodo\"\n});\n\nmodule.exports = pool;\n```\n\nHappy coding! 😃\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohit-pro%2Fpern-todo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flohit-pro%2Fpern-todo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flohit-pro%2Fpern-todo/lists"}