Clone this repository. It is a fresh Apiato install with 4 entities:
- users
- posts
- categories
- comments
You can find their migrations in their respective Containers (eg. app/AppSection/Containers/User/Data/Migrations) and also their relations in the dataschema.png file.
Make this project run locally on your machine (Installation). Compile the docs and have a look at the three endpoints documented there:
- Post -> Create Post
- Comment -> Create Comment
- Post -> Get all Comments for specific Post
Create a repository in your GitHub account.
Implement these API endpoints and push your solutions to your repository. Then give @yalsicor access to your repository so your solution can be checked.
Hints for implementation
Create the following classes for each endpoint (generator commands help a lot):
- Model (with relations)
- Repository
- Request
- Controller
- Action
- Task
- Transformer
- cover the endpoints with automated tests
Apiato is built using the new architectural pattern Porto.
Find the Apiato documentation here and their repository here.
Join apiato's Discord server, by clicking on the icon below.