Code Monkey home page Code Monkey logo

laravel-api-skeleton's Introduction

Laravel API Skeleton

Awesome Laravel boilerplate to create APIs using many cool features and technologies

I like to change the default architecture of Laravel when I work wit it, and some weeks ago I saw some videos in CodeCasts of a serie about Advanced Laravel using version 5.3 and I loved the architecture that they built. So this project is inspired by codecasts/laravel and all the credits must go to Diego Hernandes, Vinicius Reis and Fábio Vedovelli. I only made some personal changes to their architecture and I'm sharing it because I think that this repo can help when you need to start a new project.

Tecnhologies

How to use it

Checking your envirorment

To use this repository make sure you have Docker and Docker Compose installed. If you don't, you can use the links below to help you install them:

Using the boilerplate

  • Clone this repo
  • Install the dependencies
composer install
  • You can check the default routes with:
php artisan route:list
  • Rename the file .env.example to .env
  • You can customize the variables in .env and docker-compose.yml if you want to.
  • Run the migrations and seeders:
docker-compose run api bash
php artisan migrator --seed
exit
  • Run the application:
docker-compose up
  • Now you can use Postman or other app you like to test your API.

NOW YOU CAN START DEVELOPING YOUR NEW AWESOME PROJECT WITH THIS BOILERPLATE!!!

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/WendellAdriel/laravel-api-skeleton/. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

License

The project is available as open source under the terms of the MIT License.

laravel-api-skeleton's People

Contributors

jaonoctus avatar wendelladriel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.