Skip to content

zim32/symfony-skeleton-rest-only

Repository files navigation

Description

This is a template application for creating REST API's based on Symfony framework

  • Symfony 5.4
  • SwaggerUI

Installation

Create project

composer create-project zim32/symfony-skeleton-rest-only folder_name '5.4.*'
composer update

Generate JWT keys

See official bundle docs: https://github.com/lexik/LexikJWTAuthenticationBundle

Add this to your .env.local file (change for your needs)

APP_ENV=dev
DATABASE_URL=YOUT_DB_DSN
API_SCHEMA_URL=http://your-domain/api/v1/doc/schema
API_ENDPOINT_URL=http://your-domain/api/v1
JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem

Usage

There are some test entities and resources in this skeleton project, so you can nagivate to http://yout-domain/api/v1/doc/ and start playing

About

Skeleton symfony application for REST apis

Resources

Stars

Watchers

Forks

Packages

No packages published
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy