{"id":19641859,"url":"https://github.com/iamdipankarpaul/post-api-with-expressjs","last_synced_at":"2026-04-20T05:34:07.189Z","repository":{"id":200271754,"uuid":"705161959","full_name":"iamdipankarpaul/post-api-with-expressjs","owner":"iamdipankarpaul","description":"It is a simple api that I built for practicing CURD operations. Fake post data is ceated by ChatGPT.","archived":false,"fork":false,"pushed_at":"2023-10-15T08:53:58.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-09T19:47:55.245Z","etag":null,"topics":["expressjs","javascript","nodejs","nodemon","pino","uuid"],"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/iamdipankarpaul.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}},"created_at":"2023-10-15T08:02:51.000Z","updated_at":"2023-10-15T08:05:18.000Z","dependencies_parsed_at":"2023-10-16T11:03:52.683Z","dependency_job_id":null,"html_url":"https://github.com/iamdipankarpaul/post-api-with-expressjs","commit_stats":null,"previous_names":["dipankarpaul2k/post-api-with-expressjs","iamdipankarpaul/post-api-with-expressjs"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdipankarpaul%2Fpost-api-with-expressjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdipankarpaul%2Fpost-api-with-expressjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdipankarpaul%2Fpost-api-with-expressjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iamdipankarpaul%2Fpost-api-with-expressjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iamdipankarpaul","download_url":"https://codeload.github.com/iamdipankarpaul/post-api-with-expressjs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240947659,"owners_count":19883031,"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":["expressjs","javascript","nodejs","nodemon","pino","uuid"],"created_at":"2024-11-11T14:10:44.521Z","updated_at":"2026-04-20T05:34:02.168Z","avatar_url":"https://github.com/iamdipankarpaul.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# A simple post api using NodeJS and ExpressJS\n\nIt is a simple api that I built for practicing CURD operations, but if you still want to try it out, then follow the steps mentioned below 👇\n\n---\n\n## Installation \u0026 Usage\n\n- Fork the repository in your account in Github.\n- Make project directory and go inside the directory.\n- Clone the repository.\n- Install dependencies.\n- Start or run your API on the local machine.\n\n```shell\n# Make a directory\nmkdir posts-api-expressjs\n\n# go inside the directory\ncd posts-api-expressjs\n\n# Clone the repo\ngit clone https://github.com/...(repo url)\n\n# Install dependencies\nnpm install\n\n# Start the API\nnpm start\n\n# Access the API in your web browser\nhttp://localhost:5000/\n```\n\n---\n\n## Endpoints\n\n### GET method\n\n```shell\n# Home page/route\nhttp://localhost:5000\n```\n\n```shell\n# Get all the posts\nhttp://localhost:5000/posts\n```\n\n```shell\n# Get a single post\nhttp://localhost:5000/posts/:postId\n```\n\n### POST method\n\n```shell\n# Add a new post\nhttp://localhost:5000/posts\n```\n\n### PATCH method\n\n```shell\n# Update a single post\nhttp://localhost:5000/posts/:postId\n```\n\n### DELETE method\n\n```shell\n# Uelete a single post\nhttp://localhost:5000/posts/:postId\n```\n\n---\n\n## Dependencies\n\nHere are some of the major dependencies I have used in this project:\n\n```json\n  \"dependencies\": {\n    \"express\": \"^4.18.2\",\n    \"pino-http\": \"^8.5.0\",\n    \"uuid\": \"^9.0.1\"\n  },\n  \"devDependencies\": {\n    \"nodemon\": \"^3.0.1\",\n    \"pino-pretty\": \"^10.2.3\"\n  }\n```\n---\n\n## Author\n\nDipankar Paul 😊 | Contact me 👉 dipankarpaul2k@gmail.com\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdipankarpaul%2Fpost-api-with-expressjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiamdipankarpaul%2Fpost-api-with-expressjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiamdipankarpaul%2Fpost-api-with-expressjs/lists"}