{"id":19720866,"url":"https://github.com/grindjs/example-api","last_synced_at":"2026-05-06T14:39:07.973Z","repository":{"id":90505023,"uuid":"55369924","full_name":"grindjs/example-api","owner":"grindjs","description":"Example API built on Grind/ExpressJS","archived":false,"fork":false,"pushed_at":"2021-05-22T21:11:24.000Z","size":87,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-23T18:09:14.734Z","etag":null,"topics":["express","expressjs","grind-example","grind-framework","grindjs","node","nodejs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/grindjs.png","metadata":{"files":{"readme":"README.markdown","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE","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-04-03T21:26:40.000Z","updated_at":"2021-04-17T21:21:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"97950acd-d6d9-4ac5-940c-4ec6882c1ce2","html_url":"https://github.com/grindjs/example-api","commit_stats":null,"previous_names":[],"tags_count":19,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grindjs%2Fexample-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grindjs%2Fexample-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grindjs%2Fexample-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/grindjs%2Fexample-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/grindjs","download_url":"https://codeload.github.com/grindjs/example-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241043837,"owners_count":19899424,"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":["express","expressjs","grind-example","grind-framework","grindjs","node","nodejs"],"created_at":"2024-11-11T23:12:45.918Z","updated_at":"2026-05-06T14:39:02.953Z","avatar_url":"https://github.com/grindjs.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cp align=\"center\"\u003e\u003ca href=\"https://grind.rocks\"\u003e\u003cimg src=\"https://assets.grind.rocks/docs/img/grind-template-api.svg\" alt=\"Grind Template API\" /\u003e\u003c/a\u003e\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\u003ca href=\".https://github.com/grindjs/grindjs/tree/master/starters/api\"\u003e\u003cimg src=\"https://img.shields.io/github/tag/grindjs/example-api.svg\" alt=\"Latest Version\"\u003e\u003c/a\u003e\n\u003ca href=\"https://chat.grind.rocks\"\u003e\u003cimg src=\"https://chat.grind.rocks/badge.svg\" alt=\"Slack\"\u003e\u003c/a\u003e\n\u003ca href=\"https://github.com/grindjs/grindjs/tree/master/starters/api\"\u003e\u003cimg src=\"https://img.shields.io/badge/License-MIT-blue.svg\" alt=\"License\"\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n# Grind API Template\n\nThe Grind API Template is an example project for building API’s on [Grind](https://github.com/grindjs/grindjs). It’s also used as a template in [Grind Toolkit](https://github.com/grindjs/grindjs/tree/master/packages/toolkit) so you can quickly setup a new API project.\n\n## Installation\n\n```bash\ngit clone https://github.com/grindjs/example-api.git grind-example-api\ncd grind-example-api\nyarn install\nyarn cli migrate:latest\nyarn cli db:seed\n```\n\n## Running\n\n```bash\n# Use `watch` to automatically restart the server on file changes\n# Watch is recommended for development\nyarn cli watch\n\n# Use `serve --cluster` to launch a cluster of workers\n# Cluster is recommended for production\nyarn cli serve --cluster\n\n# Use `serve` to launch a single worker\nyarn cli serve\n```\n\nYou should now be able to visit [localhost:3000/states](http://localhost:3000/states).\n\nOther URLs:\n\n- Paged: [localhost:3000/states?limit=10](http://localhost:3000/states?limit=10)\n- Individual: [localhost:3000/states/ny](http://localhost:3000/states/ny)\n- Search: [localhost:3000/states/search?term=new](http://localhost:3000/states/search?term=new)\n- Swagger: [petstore.swagger.io/?url=http://localhost:3000/swagger.json](http://petstore.swagger.io/?url=http://localhost:3000/swagger.json)\n\n## Documentation\n\nFull documentation for Grind is available on the [Grind website](https://grind.rocks/).\n\n## License\n\nGrind was created by [Shaun Harrison](https://github.com/shnhrrsn) and is made available under the [MIT license](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrindjs%2Fexample-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgrindjs%2Fexample-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgrindjs%2Fexample-api/lists"}