Skip to content
Permalink
Browse files

Added a README

  • Loading branch information...
lyrixx committed Jun 6, 2019
1 parent 5b36beb commit 1015672859e1318b9c6789ee2f7e45fa334864ee
Showing with 22 additions and 0 deletions.
  1. +22 −0 README.md
@@ -0,0 +1,22 @@
# You don't need JWT

This application is a demo to show how we can avoid JWT with Symfony.

It's better to read the [blog post](https://jolicode.com/blog/why-you-dont-need-jwt)
before playing with it.

## Installation

You can create a `.env.local` file, and override env var defined in `.env` in it.

composer install
bin/console doctrine:database:create
bin/console doctrine:migration:migration
bin/console doctrine:fixture:load

## Key files:

* [Security Controller to get a token](./src/Controller/Api/SecurityController.php)
* [`security.yaml`](./config/packages/security.yaml)
* [The user class](./src/Entity/User.php)
* [A very simple JS application](./templates/frontend/index.html.twig)

0 comments on commit 1015672

Please sign in to comment.
You can’t perform that action at this time.