SebasttianDaza / Ships-Rest

API Rest about Ships, their sales and users with PHP

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ships Rest API Backend

Table of Contents

Overview

[
  {
    "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.

Built With

How To Use

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

Contact

About

API Rest about Ships, their sales and users with PHP


Languages

Language:PHP 97.6%Language:Dockerfile 2.4%