You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
open sh inside docker container docker-compose exec php sh
4.1. run composer install
4.2. then run sh start.sh
4.3. then exit
then run docker-compose up -d
Oh! you can find out the application in http://localhost:8888/articles
And you can access the database from here http://localhost:8899 username: root pass: sqlpass
What I finished
GET http://localhost:8888/articles
Response
[
{
"id": 1,
"title": "Aspernatur.",
"description": "Rerum et est molestiae dolores. Sequi quos rerum mollitia iusto.",
"published_at": "2020-01-09T19:17:09+03:00",
"comments": [
{
"id": 1,
"name": "Britney Greenholt",
"email": "[email protected]",
"comment": "Natus ab sit quis suscipit aut. Dignissimos sequi minima animi modi. Sit qui et in beatae rerum."
}
]
}
]
GET http://localhost:8888/articles/1
Response
{
"id": 1,
"title": "Aspernatur.",
"description": "Rerum et est molestiae dolores. Sequi quos rerum mollitia iusto.",
"published_at": "2020-01-09T19:17:09+03:00",
"comments": [
{
"id": 1,
"name": "Britney Greenholt",
"email": "[email protected]",
"comment": "Natus ab sit quis suscipit aut. Dignissimos sequi minima animi modi. Sit qui et in beatae rerum."
}
]
}