All Projects → svp1989 → Symfony Api Skeleton

svp1989 / Symfony Api Skeleton

Licence: mit
rest api skeleton based on symfony-flex, api-platform, fosuserbundle etc.

Projects that are alternatives of or similar to Symfony Api Skeleton

Jersey Jwt
Example of REST API with JWT authentication using Jersey, Jackson, Undertow, Weld, Hibernate and Arquillian.
Stars: ✭ 131 (+1090.91%)
Mutual labels:  rest-api, jwt
Codeigniter Jwt Sample
CodeIgniter JWT Sample
Stars: ✭ 144 (+1209.09%)
Mutual labels:  rest-api, jwt
Go Clean Architecture
👨‍💻 REST API example, built by following Uncle Bob’s clean architecture principles
Stars: ✭ 133 (+1109.09%)
Mutual labels:  rest-api, jwt
Ngx Api Utils
ngx-api-utils is a lean library of utilities and helpers to quickly integrate any HTTP API (REST, Ajax, and any other) with Angular.
Stars: ✭ 92 (+736.36%)
Mutual labels:  rest-api, jwt
Cerberus
A demonstration of a completely stateless and RESTful token-based authorization system using JSON Web Tokens (JWT) and Spring Security.
Stars: ✭ 482 (+4281.82%)
Mutual labels:  rest-api, jwt
Typescript Restful Starter
Node.js + ExpressJS + Joi + Typeorm + Typescript + JWT + ES2015 + Clustering + Tslint + Mocha + Chai
Stars: ✭ 97 (+781.82%)
Mutual labels:  rest-api, jwt
Ssm
👅基于RESTful风格的前后端分离的SSM框架,集成了shiro和swagger等框架
Stars: ✭ 141 (+1181.82%)
Mutual labels:  rest-api, jwt
Dashboard Server
A JSON file RESTful API with authorization based on json-server
Stars: ✭ 48 (+336.36%)
Mutual labels:  rest-api, jwt
Guns
Guns基于SpringBoot 2,致力于做更简洁的后台管理系统,完美整合springmvc + shiro + mybatis-plus + beetl!Guns项目代码简洁,注释丰富,上手容易,同时Guns包含许多基础模块(用户管理,角色管理,部门管理,字典管理等10个模块),可以直接作为一个后台管理系统的脚手架!
Stars: ✭ 3,327 (+30145.45%)
Mutual labels:  rest-api, jwt
Yii2 Angular Boilerplate
Yii2 REST API + Angular10 Boilerplate (Frontend/Backend)
Stars: ✭ 194 (+1663.64%)
Mutual labels:  rest-api, jwt
Laravel Api Starter
laravel5.5 + dingo/api + JWT
Stars: ✭ 85 (+672.73%)
Mutual labels:  rest-api, jwt
Node Typescript Koa Rest
REST API boilerplate using NodeJS and KOA2, typescript. Logging and JWT as middlewares. TypeORM with class-validator, SQL CRUD. Docker included. Swagger docs, actions CI and valuable README
Stars: ✭ 739 (+6618.18%)
Mutual labels:  rest-api, jwt
Train Ai With Django Swagger Jwt
Train AI (Keras + Tensorflow) to defend apps with Django REST Framework + Celery + Swagger + JWT - deploys to Kubernetes and OpenShift Container Platform
Stars: ✭ 66 (+500%)
Mutual labels:  rest-api, jwt
Koa Typeorm Starter
Starter project for using koa with TS and TypeORM
Stars: ✭ 23 (+109.09%)
Mutual labels:  rest-api, jwt
Flask Restful Authentication
An example for RESTful authentication using nginx, uWSGI, Flask, MongoDB and JSON Web Token(JWT).
Stars: ✭ 63 (+472.73%)
Mutual labels:  rest-api, jwt
Haskell Yesod Realworld Example App
Exemplary real world application built with Haskell + Yesod
Stars: ✭ 134 (+1118.18%)
Mutual labels:  rest-api, jwt
Laravel Realworld Example App
Exemplary real world backend API built with Laravel
Stars: ✭ 954 (+8572.73%)
Mutual labels:  rest-api, jwt
Node Express Mongoose Passport Jwt Rest Api Auth
Node, express, mongoose, passport and JWT REST API authentication example
Stars: ✭ 146 (+1227.27%)
Mutual labels:  rest-api, jwt
Dj Rest Auth
Authentication for Django Rest Framework
Stars: ✭ 491 (+4363.64%)
Mutual labels:  rest-api, jwt
Go Book Store Api
Go Sample project to understand Mysql CRUD operation with best practises Includes logging, JWT, Swagger and Transactions
Stars: ✭ 18 (+63.64%)
Mutual labels:  rest-api, jwt

symfony-api-skeleton

JSON REST API simple skeleton based on symfony-flex, JWT, api-platform, fosuserbundle etc.

Installation

1. Clone repository

Create project :

composer create-project svp1989/symfony-api-skeleton:@dev

Or clone repository from GitHub:

git clone https://github.com/svp1989/symfony-api-skeleton.git

2. Dependencies installation

Install all needed dependencies:

composer install

3. Create JWT auth keys

Create JWT auth keys and configure .env:

ssh-keygen -t rsa -b 4096 -f private.pem
openssl rsa -in private.pem -pubout -outform PEM -out public.pem

4. Configuration

Create .env file, which contains all the necessary environment variables that application needs:

cp .env.dist .env

5. Create database

Create database and upload fixtures:

bin/console doctrine:database:create 
bin/console doctrine:schema:create
bin/console doctrine:fixtures:load

6. Start server

Start server and open in the browser http://127.0.0.1:8000/api/doc:

bin/console server:start

Authorisation

Go to route /api/login:
ROLE_USER:
--username:user
--password:user

ROLE_ADMIN
--username:admin
--password:admin

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].