All Projects → tarlepp → Symfony Flex Backend

tarlepp / Symfony Flex Backend

Licence: mit
Symfony Flex REST API template project

Projects that are alternatives of or similar to Symfony Flex Backend

Mockoon
Mockoon is the easiest and quickest way to run mock APIs locally. No remote deployment, no account required, open source.
Stars: ✭ 3,448 (+1511.21%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Core
The server component of API Platform: hypermedia and GraphQL APIs in minutes
Stars: ✭ 2,004 (+836.45%)
Mutual labels:  api, rest, hacktoberfest, symfony
Bookmarks.dev
Bookmarks and Code Snippets Manager for Developers & Co
Stars: ✭ 218 (+1.87%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Vulcain
Fast and idiomatic client-driven REST APIs.
Stars: ✭ 3,190 (+1390.65%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Javacord
An easy to use multithreaded library for creating Discord bots in Java.
Stars: ✭ 368 (+71.96%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Githubapi
Swift implementation of Github REST API v3
Stars: ✭ 55 (-74.3%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Json Api Dart
JSON:API client for Dart/Flutter
Stars: ✭ 53 (-75.23%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Openapi Generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Stars: ✭ 10,634 (+4869.16%)
Mutual labels:  api, rest-api, rest, hacktoberfest
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (-31.78%)
Mutual labels:  api, rest-api, rest
Api Guidelines
adidas group API design guidelines
Stars: ✭ 147 (-31.31%)
Mutual labels:  api, rest-api, rest
Appkernel
API development made easy: a smart Python 3 API framework
Stars: ✭ 152 (-28.97%)
Mutual labels:  api, rest-api, rest
Grafanajsondatasource
Grafana datasource to load JSON data over your arbitrary HTTP backend
Stars: ✭ 146 (-31.78%)
Mutual labels:  api, rest-api, rest
Smoke
💨 Simple yet powerful file-based mock server with recording abilities
Stars: ✭ 142 (-33.64%)
Mutual labels:  api, rest, hacktoberfest
Proteus
Lean, mean, and incredibly fast JVM framework for web and microservice development.
Stars: ✭ 178 (-16.82%)
Mutual labels:  api, rest-api, rest
Poloniex Api Node
Poloniex API client for REST and WebSocket API
Stars: ✭ 138 (-35.51%)
Mutual labels:  api, rest-api, rest
Rest Api Slim Php
Example of REST API with Slim PHP Framework.
Stars: ✭ 165 (-22.9%)
Mutual labels:  api, rest-api, rest
Open Rest
Standard rest server, Base on restify and sequelize
Stars: ✭ 136 (-36.45%)
Mutual labels:  api, rest-api, rest
Jda
Java wrapper for the popular chat & VOIP service: Discord https://discord.com
Stars: ✭ 2,598 (+1114.02%)
Mutual labels:  api, rest-api, rest
Jikan Rest
The REST API for Jikan
Stars: ✭ 200 (-6.54%)
Mutual labels:  api, rest-api, rest
Lumen Microservice
Lumen on Docker - Skeleton project with Nginx, MySQL & PHP 7 | Aws ECS, Google Kubernates, Azure Container Engine
Stars: ✭ 183 (-14.49%)
Mutual labels:  api, rest-api, rest

What is this?

MIT licensed CI Coverage Status Psalm coverage Scrutinizer Code Quality Code Intelligence Status Maintainability Sonarcloud Quality Gate Sonarcloud Vulnerabilities Sonarcloud Vulnerabilities Sonarcloud Vulnerabilities SymfonyInsight

JSON REST API which is build on top of Symfony framework.

This application is mean to use as an API that some frontend application(s) or different backend application(s) uses as they like.

Table of Contents

Requirements

Recommendations

  • *nix platform - most likely you're going to host your application on *nix platform - so I would recommend to do development also on that platform.
  • Makefile support - if you don't have this you need to look Makefile file to see what each make command is doing.

Installation

This installation guide expects that you're using docker-compose.

1. Clone repository

Use your favorite IDE and get checkout from GitHub or just use following command

git clone https://github.com/tarlepp/symfony-flex-backend.git

2. Start containers

For this just run following command:

make start

This command will create three (3) containers to run this backend application. Those containers are following:

  • php (this is for actual application)
  • nginx (this will serve application)
  • mysql (MySQL 5.7 which will store all the data of application)

3. Using application

By default make start / docker-compose up command starts those three containers and exposes following ports on localhost:

  • 8000 (nginx + php-fpm)
  • 3310 (mysql)

And this application is usable within your browser on http://localhost:8000 address.

MySQL credentials:

user: root
password: password

4. Getting shell to container

After you've run make start / docker-compose up command you can list all running containers with docker ps command.

And to eg. get shell access inside one of those containers you can run following command:

make bash

Where that php is that actual container where this backend application is running.

5. Building containers

For time to time you probably need to build containers again. This is something that you should do everytime if you have some problems to get containers up and running. This you can do with following command:

make start-build

Frontend?

So this is an API backend what about frontend then? No worries I've made simple Angular NgRx powered template frontend which work with this backend just out of the box.

Angular NgRx powered frontend template for Symfony backend

With these two template applications it should be quite easy to start to build your own application - right?

Resources

External links / resources

Authors

License

The MIT License (MIT)

Copyright © 2020 Tarmo Leppänen

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].