{"id":17335084,"url":"https://github.com/feroult/yawp","last_synced_at":"2026-03-02T22:12:41.436Z","repository":{"id":15108838,"uuid":"17835696","full_name":"feroult/yawp","owner":"feroult","description":"Kotlin/Java API framework for Google Appengine","archived":false,"fork":false,"pushed_at":"2023-07-21T16:58:49.000Z","size":5663,"stargazers_count":132,"open_issues_count":53,"forks_count":20,"subscribers_count":17,"default_branch":"master","last_synced_at":"2024-10-16T02:31:39.028Z","etag":null,"topics":["api","appengine","cloud","gcp","java","javascript","nodejs"],"latest_commit_sha":null,"homepage":"http://yawp.io","language":"Java","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/feroult.png","metadata":{"files":{"readme":"README.md","changelog":null,"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}},"created_at":"2014-03-17T16:53:00.000Z","updated_at":"2024-07-30T15:03:12.000Z","dependencies_parsed_at":"2022-08-02T14:45:06.513Z","dependency_job_id":null,"html_url":"https://github.com/feroult/yawp","commit_stats":{"total_commits":2063,"total_committers":19,"mean_commits":"108.57894736842105","dds":"0.10373242850218134","last_synced_commit":"a415710efce1aa25ad3bade754b8b57ed398f36e"},"previous_names":[],"tags_count":74,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feroult%2Fyawp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feroult%2Fyawp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feroult%2Fyawp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/feroult%2Fyawp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/feroult","download_url":"https://codeload.github.com/feroult/yawp/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248085711,"owners_count":21045197,"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":["api","appengine","cloud","gcp","java","javascript","nodejs"],"created_at":"2024-10-15T15:08:10.909Z","updated_at":"2026-03-02T22:12:41.388Z","avatar_url":"https://github.com/feroult.png","language":"Java","readme":"\u003cimg src=\"http://yawp.io/assets/img/boat.png\" width=\"200\"\u003e\n\n_A Kotlin/Java API framework for Google Appengine_ \n\nAny help is appreciated! Comments, suggestions, issues, PR's! Give us a star to help!\n\n[![Build Status](https://travis-ci.org/feroult/yawp.svg)](https://travis-ci.org/feroult/yawp)\n[![Maven Central](https://maven-badges.herokuapp.com/maven-central/io.yawp/yawp/badge.svg)](https://maven-badges.herokuapp.com/maven-central/io.yawp/yawp/)\n\n## Features\n\n__Server__\n\n* Scaffolding\n* Model centric\n* CRUD Routes\n* Query Routes\n* Custom Routes\n* Cache System\n* Transformers\n* Security Shields\n* Lifecycle Hooks\n* Asynchronous Pipes\n* Java or Kotlin\n* App Engine or Postgres\n\n__Client__\n\n* Fluent API\n* Node or Web\n* Promises\n* Class extension\n\n## Guides\n\nComplete [__YAWP!__ Guides](http://yawp.io/guides).\n\n## Getting Started\n\n1. At the command prompt, create a new __YAWP!__ Kotlin application:\n\n        $ mvn archetype:generate \\\n            -DarchetypeGroupId=io.yawp \\\n            -DarchetypeArtifactId=yawp \\\n            -DarchetypeVersion=LATEST \\\n            -DgroupId=yawpapp \\\n            -DartifactId=yawpapp \\\n            -Dversion=1.0-SNAPSHOT \\\n            -Dlang=kotlin            \n\n2. Change directory to `yawpapp` and start the yawp development server:\n\n        $ cd yawpapp\n        $ mvn yawp:devserver\n\n3. Using a browser, go to `http://localhost:8080/api` to check if everything is OK.\n\n4. Using a scaffolder, create a simple endpoint model:\n\n        $ mvn yawp:endpoint -Dmodel=person\n\n    **Output:**\n\n    ``` kotlin\n    @Endpoint(path = \"/people\")\n    class Person(@Id\n                 var id: IdRef\u003cPerson\u003e)\n    ```\n    **Try it:**\n\n        $ curl http://localhost:8080/api/people\n        \n    **From Javascript:**\n    \n        $ npm install yawp --save\n    \n    ``` javascript\n    class Person extends yawp('/people') {\n        save() {\n            console.log('saving...');\n            return super.save();\n        }\n    }\n    const person = new Person({name: 'Janes'});\n    person.save()  \n    ```\n\n5. Follow the guidelines to start developing your API:\n    * [Your First API](http://yawp.io/guides/getting-started/your-first-api)\n    * [The Javascript Client](http://yawp.io/guides/tutorials/the-javascript-client)\n    * [Todo App List Tutorial](http://yawp.io/guides/tutorials/todo-list-app)\n    * [API Documentation](http://yawp.io/guides/api/models)    \n\n## Contributing\n\nEveryone willing to contribute with YAWP! is welcome. To start developing you\nwill need an environment with:\n\n* JDK 1.8+\n* Maven 3.3+\n* PostgreSQL 9.4+\n* phantomjs 2+\n\nFor postgres, you need to create a database/user with access from your Unix user (you need to be able to run psql with no args). A simple tutorial for Arch can be found [here](http://www.netarky.com/programming/arch_linux/Arch_Linux_PostgreSQL_database_setup.html).\n\nPhantomjs can be installed from [pacman](https://www.archlinux.org/packages/community/x86_64/phantomjs/) on Arch.\n\nThen follow the [travis-ci build script](../master/.travis.yml) to get your build working.\n\n## License\n\nYAWP! is released under the [MIT license](https://opensource.org/licenses/MIT).\n","funding_links":[],"categories":["Serverless"],"sub_categories":["Spring Cloud框架"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferoult%2Fyawp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferoult%2Fyawp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferoult%2Fyawp/lists"}