Api developed based on a final work of the Database discipline of the Computer Science Course at the Federal University of Tocantins. This storage contains the PHP code for connecting and manipulating the Postgres database.
Create a folder on your computer where you want to clone the repository.
- Clone this repository to your machine using git commands.
$ git clone https://github.com/EdJunior0/concessionaria-api.git
You need to install the software below.
PHP Cli
Command lines to run PHP commands.
Composer.
Composer is a dependency manager for PHP.
composer update
Command to load vendor folder.
- Follow the steps to run project locally.
- Set enviroment variables;
- Open your terminal;
- Enter: composer update;
- Enter: php -S localhost:8080
- Now the application is running on: localhost:8080