Giter VIP home page Giter VIP logo

symfony4-restful's Introduction

Build Status Docker Stars Docker Pulls Docker Automated Docker Build Gitter chat

Symfony4-RESTful development template

RESTfull API development template based on Symfony 4 for development purpose

Stack includes

  • PHP-fpm 7.4
  • Rest API
  • MySQL 5.7
  • Redis latest
  • Elasticsearch 5.4.3
  • Kibana 5.4.3
  • Logstash 5.4.0
  • XDebug 2.9.5
  • Nginx
  • Supervisord
  • Alpine latest

Note

Before installing this project, please, make sure you have installed docker and docker-compose

To install docker execute:

$ curl -fsSL https://get.docker.com -o get-docker.sh
$ sh get-docker.sh
$ pip install docker-compose

Installation

Clone this project into your work directory:

$ git clone https://github.com/trydirect/symfony4-restful.git

Then build it via docker-compose:

$ cd symfony4-restful
$ docker-compose up -d

Configuration

docker exec web composer install

Now, let's check the result

$ curl http://localhost/

url -i localhost
HTTP/1.1 200 OK
Server: nginx/1.14.2
Content-Type: application/json
Transfer-Encoding: chunked
Connection: keep-alive
X-Powered-By: PHP/7.2.11
Cache-Control: no-cache, private
Date: Fri, 24 May 2019 16:45:55 GMT

{"id":"s","name":"Test","description":"Description"}

Quick deployment to cloud

Amazon AWS, Digital Ocean, Hetzner and others

Contributing

  1. Fork it (https://github.com/trydirect/symfony4-restful/fork)
  2. Create your feature branch (git checkout -b feature/fooBar)
  3. Commit your changes (git commit -am 'Add some fooBar')
  4. Push to the branch (git push origin feature/fooBar)
  5. Create a new Pull Request

Support Development

Donate

symfony4-restful's People

Contributors

annaopt avatar dependabot[bot] avatar marcuv avatar ovruchsky avatar vsilent avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

symfony4-restful's Issues

Depfu Error: Depfu is stuck and needs your help

Hello,

⚠️ We're getting errors with this repo and have given up after trying several times.

In most cases that means something is wrong with your current Composer setup and we can't fix it automatically:

• Error details:
Composer Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes)
• Error details:
Composer Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes)
• Error details:
Composer Error: Allowed memory size of 536870912 bytes exhausted (tried to allocate 33554440 bytes)

After you've fixed the problem, please activate this project again in the Depfu Dashboard.

👉 We will not send you further PRs until this is fixed and the repo is activated again.

If you need help or this looks like an error on our side, please send us an email.

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.