[
{
"id": "1",
"name": "Colombia SAS",
"country": "Colombia",
"continent": "South America",
"coordinates": "1,1"
},
{...}
]
# Example response above endpoint Embarcaciones
API Rest developed with PHP Vanilla, MySQL and Docker, it has authentication and authorization with JWT it's API about Ships(Embarcaciones), Sales(Ventas) and Users(Usuarios).
If you want to know more about the API, please visit the API Documentation. You feel free to collaborate with me, I'm open to any suggestions or ideas.
To clone and run this application, you'll need Git and PHP (which comes with composer) installed on your computer, of course it can be NGINX or XAMP. From your command line:
# Clone this repository
$ git clone https://github.com/your-user-name/your-project-name
$ docker-compose build
$ docker-compose up -d
$ docker exec -it
$ docker exec -it php-apache bash
# Add this line
<Directory "/var/www/html/mysite.com">
AllowOverride All
</Directory>
$ a2enmod rewrite
# Install dependencies
$ cd /var/www/html/APIRest-Back && composer install
# Run the app, you can use nginx or apache
- GitHub @SebasttianDaza
- Twitter @SebasttianDaza