{"id":19589032,"url":"https://github.com/shivankk26/restful-api","last_synced_at":"2026-04-10T00:03:33.488Z","repository":{"id":159193920,"uuid":"634498741","full_name":"ShivankK26/RESTful-API","owner":"ShivankK26","description":"In this Project, I've built a RESTful API which consists of ready made database, and has been mentioned below. With the help of Express.js Routes this project was made quite easily.","archived":false,"fork":false,"pushed_at":"2023-04-30T11:55:45.000Z","size":30,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-09T06:22:23.656Z","etag":null,"topics":["backend","ejs","expressjs","javascript","mongodb","mongoose","nodejs","rest-api"],"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/ShivankK26.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":"2023-04-30T10:23:34.000Z","updated_at":"2023-04-30T11:57:35.000Z","dependencies_parsed_at":null,"dependency_job_id":"93e7fb9d-283f-4399-a82f-8dde41b1a68a","html_url":"https://github.com/ShivankK26/RESTful-API","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/ShivankK26%2FRESTful-API","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivankK26%2FRESTful-API/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivankK26%2FRESTful-API/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ShivankK26%2FRESTful-API/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ShivankK26","download_url":"https://codeload.github.com/ShivankK26/RESTful-API/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240860054,"owners_count":19869265,"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":["backend","ejs","expressjs","javascript","mongodb","mongoose","nodejs","rest-api"],"created_at":"2024-11-11T08:16:55.025Z","updated_at":"2025-12-30T19:18:50.522Z","avatar_url":"https://github.com/ShivankK26.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003c!-- ABOUT THE PROJECT --\u003e\n# About The Project\n![Screenshot 2023-04-30 at 5 02 32 PM](https://user-images.githubusercontent.com/115289871/235350720-cbfa07ff-8cd1-4691-962c-bc17e87413b9.png)\n\n\n\n\n\nIn this Project, I've built a RESTful API which consists of ready made database, and has been mentioned below. With the help of Express.js Routes this project was made quite easily. \n\n\n\nUse the `README.md` to get started.\n\n\n\n\n# Built With\n\nThe Tech Stacks use are:\n\n\u003cdiv align=\"center\"\u003e\n\u003ca href=\"https://skillicons.dev\"\u003e\n    \u003cimg src=\"https://skillicons.dev/icons?i=mongodb,expressjs,nodejs,js,ejs\" /\u003e\n\u003c/a\u003e\n\u003c/div\u003e\n\n\n\n\n\u003c!-- GETTING STARTED --\u003e\n# Getting Started\n\nTo get started, create a file called app.js and import all the required modules in it. In app.js, we'll be targetting routes at two places firstly at all the articles and another at some specific articles. With the help of MongoDB, we'll create a mongoose Schema which will help in storing information to the database.\n\n\n* modules\n\n  ```sh\n  const express = require('express');\n  const mongoose = require('mongoose');\n  const ejs = require('ejs');\n  const bodyParser = require('body-parser');\n  ```\n\n* ejs connectivity\n\n  ```sh\n  app.set(\"view engine\",\"ejs\")\n  ```\n  \n* Using Body Parser\n\n  ```sh\n  app.use(bodyParser.urlencoded({extended: true}));\n  ```\n\n## Prerequisites\n\nTo begin with our Project, we'll need to install some npm packages like express, mongoose, body-parser, and ejs using the command given below. \n\n\n* npm\n\n  ```sh\n  npm install express mongoose ejs body-parser\n  ```\n  \n  \n* To ease the process of development, we'll install nodemon (Make sure you already have nodemon installed in your system, if not then [visit here](https://nodemon.io/)).\n\n  ```sh\n  npm i nodemon\n  ```\n\n\n* Re-Populate Database\n\n  ```sh\n    {\n        \"_id\" : \"5c18e1892998bdb3b3d355bf\",\n        \"title\" : \"REST\",\n        \"content\" : \"REST is short for REpresentational State Transfer. It's an architectural style for designing APIs.\"\n    }\n\n\n    {\n        \"_id\" : ObjectId(\"5c139771d79ac8eac11e754a\"),\n        \"title\" : \"API\",\n        \"content\" : \"API stands for Application Programming Interface. It is a set of subroutine definitions, communication protocols, and tools for building software. In general terms, it is a set of clearly defined methods of communication among various components. A good API makes it easier to develop a computer program by providing all the building blocks, which are then put together by the programmer.\"\n    }\n\n\n    {\n        \"_id\" : ObjectId(\"5c1398aad79ac8eac11e7561\"),\n        \"title\" : \"Bootstrap\",\n        \"content\" : \"This is a framework developed by Twitter that contains pre-made front-end templates for web design\"\n    }\n\n\n    {\n        \"_id\" : ObjectId(\"5c1398ecd79ac8eac11e7567\"),\n        \"title\" : \"DOM\",\n        \"content\" : \"The Document Object Model is like an API for interacting with our HTML\"\n    }\n\n\n    {\n        \"_id\" : \"5c18f35cde40ab6cc551cd60\",\n        \"title\" : \"Jack Bauer\",\n        \"content\" : \"Jack Bauer once stepped into quicksand. The quicksand couldn't escape and nearly drowned.\",\n        \"__v\" : 0\n    }\n  ```\n\n\u003c!-- CONTACT --\u003e\n# Contact\n\nYour Name - Shivank Kapur - shivankkapur2004@gmail.com\n\nProject Link: \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivankk26%2Frestful-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshivankk26%2Frestful-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshivankk26%2Frestful-api/lists"}