{"id":23302134,"url":"https://github.com/pujansrt/restfulnode","last_synced_at":"2026-04-10T04:44:59.673Z","repository":{"id":127199362,"uuid":"108400959","full_name":"pujansrt/RESTfulNode","owner":"pujansrt","description":"RESTful Project using Express and Mongodb","archived":false,"fork":false,"pushed_at":"2019-07-05T17:27:41.000Z","size":2721,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T04:31:27.634Z","etag":null,"topics":["angular","chai","express","karma","mocha","mongodb","mongoose","nodejs","postman"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/pujansrt.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":"2017-10-26T11:12:54.000Z","updated_at":"2019-07-05T17:27:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"c8943799-bc6c-4185-b8b2-d79b5da68f7c","html_url":"https://github.com/pujansrt/RESTfulNode","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/pujansrt%2FRESTfulNode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pujansrt%2FRESTfulNode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pujansrt%2FRESTfulNode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pujansrt%2FRESTfulNode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pujansrt","download_url":"https://codeload.github.com/pujansrt/RESTfulNode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247558427,"owners_count":20958154,"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":["angular","chai","express","karma","mocha","mongodb","mongoose","nodejs","postman"],"created_at":"2024-12-20T10:18:48.964Z","updated_at":"2025-12-30T19:58:32.151Z","avatar_url":"https://github.com/pujansrt.png","language":"TypeScript","readme":"## RESTfulNode\n\n\u003cimg src=\"snapshot.gif\" width=\"500\"\u003e\n\n\n## TOC\n\n* [RESTfulNode](#restfulnode)\n* [Project Development](#project-development)\n    * [APIs](#apis)\n    * [Search Student](#search-student)\n    * [Running Server](#running-server)\n    * [Dev Testing](#dev-testing)\n    * [Using via Postman](#using-via-postman)\n    * [RESTfulNode](#restfulnode-1)\n* [Development server](#development-server)\n* [Code scaffolding](#code-scaffolding)\n* [Build](#build)\n* [Running unit tests](#running-unit-tests)\n\n\n## Project Development\n\n```js\nng new RESTfulNode\ncd RESTfulNode \u0026\u0026 ng serve //then stop\nnpm install express cors mongoose -S //similarly for others see package.json dependencies\nnpm install chai chai-http -D //similarly for other see package.json devDependencies\n```\n\nNote: You do not want Angular (just API server) then remove src/**, .angular-cli.json, karma.conf.js, protractor.conf.js. And comment out following two lines from server.js\n\n```\napp.set('views', path.join(__dirname, 'dist'));\napp.use(express.static(path.join(__dirname, 'dist')));\n```\nProject should work\n\n### APIs\n\n```\nGET /students\n\nPOST /students\n\nPUT /students\n\nDELETE /students\n```\n\n\n### Search Student\n\n```\nGET /api/student/search?q=term\n```\n\n### Running Server\nFirst run `npm init` to install dependencies then run the following command:\n\n\n```py\nnode server\n```\nYou may also run `nodemon server` if you are developing.\n\n### Dev Testing\n\n```\nnpm test\n```\n\n### Using via Postman\nDownload app.postman_collection_vX.json file and import into postman app.\n\n## RESTfulNode\n\nThis project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 1.4.7.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. Use the `-prod` flag for a production build.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpujansrt%2Frestfulnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpujansrt%2Frestfulnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpujansrt%2Frestfulnode/lists"}