Skip to content
This repository has been archived by the owner on Sep 17, 2022. It is now read-only.

edilsoncichon/api-right-way

Repository files navigation

API in the right way

This project is a small example of a API, built on good development practices.

Features

Installation

Use the package manager composer to install it.

# At the root of the project.
composer install

Usage

You can run this project easily on your machine with Docker, you will also need the Docker Compose.

# At the root of the project.
./bin up -d # Ready! The API is already available at http://localhost :)
./bin down  # Drop containers.
./bin composer update # Use the composer package manager.
./bin artisan # Use the Laravel command line.
./bin phpunit # PHPUnit tests
# OR
./bin ls -l # Run any command inside the container.

All this was very easy thanks to the beautiful work done in this project codecasts/ambientum

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change. Please make sure to update tests as appropriate.

Authors

License

MIT