{"id":19382722,"url":"https://github.com/danivek/json-api-express","last_synced_at":"2025-10-28T09:14:38.081Z","repository":{"id":148110489,"uuid":"53941918","full_name":"danivek/json-api-express","owner":"danivek","description":"Demo app built with Express, Mongoose to demonstrate a fully working JSON API (http://jsonapi.org/) implementation","archived":false,"fork":false,"pushed_at":"2016-07-21T08:06:50.000Z","size":29,"stargazers_count":13,"open_issues_count":1,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-02T20:11:16.605Z","etag":null,"topics":[],"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/danivek.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":"2016-03-15T12:17:33.000Z","updated_at":"2024-06-06T18:52:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"b7a95fc9-e02f-47b4-871f-642e6356849b","html_url":"https://github.com/danivek/json-api-express","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/danivek%2Fjson-api-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danivek%2Fjson-api-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danivek%2Fjson-api-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danivek%2Fjson-api-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danivek","download_url":"https://codeload.github.com/danivek/json-api-express/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250509845,"owners_count":21442508,"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":[],"created_at":"2024-11-10T09:22:57.191Z","updated_at":"2025-10-28T09:14:33.061Z","avatar_url":"https://github.com/danivek.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# json-api-express\nDemo app built with Express, Mongoose to demonstrate a fully working [JSON API](http://jsonapi.org/) implementation.\n\nIt is a work in progress. Some features need to be implement to have a complete working example API. Some missing features : Errors, Payload validation, etc...\n\nFeel free to contribute to build a fully working [JSON API](http://jsonapi.org/) example.\n\n## Installation\n\n1. `git clone https://github.com/danivek/json-api-express.git`\n2. `npm install`\n3. `npm start`\n4. Browse http://localhost:8080/docs\n\n## Usage\n\nThis is a sample app modeling a blog with articles, author, comments, tags, etc...\n\nTry some endpoints :\n * http://localhost:8080/articles\n * http://localhost:8080/articles?page[offset]=1\u0026page[limit]=1\n * http://localhost:8080/articles?page[number]=1\u0026page[size]=1\n * http://localhost:8080/articles?include=author,comments.author\u0026fields[article]=title,body\u0026fields[people]=name\n * http://localhost:8080/peoples\n * http://localhost:8080/comments\n * http://localhost:8080/tags\n * ...\n\nOr explore api endpoints with swagger-ui at : http://localhost:8080/docs\n\n## Features\n * [Sparse Fieldsets](http://jsonapi.org/format/#fetching-sparse-fieldsets)\n * [Sorting](http://jsonapi.org/format/#fetching-sorting)\n * [Pagination](http://jsonapi.org/format/#fetching-pagination)\n * [Inclusion](http://jsonapi.org/format/#fetching-includes)\n * [Links](http://jsonapi.org/format/#document-links)\n * And more...\n\n## Prerequisites\n * MongoDB - Download and Install [MongoDB](http://www.mongodb.org/downloads) - you'll need mongoDB to be installed and have the `mongod` process running.\n * Node.js 4+ or above\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanivek%2Fjson-api-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanivek%2Fjson-api-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanivek%2Fjson-api-express/lists"}