mickgeek / symfony-react-restful-boilerplate Goto Github PK
View Code? Open in Web Editor NEWSymfony 4 + React (with Flow, Redux, Bootstrap 4 and other stuff) + JWT implementation + PostgreSQL
Symfony 4 + React (with Flow, Redux, Bootstrap 4 and other stuff) + JWT implementation + PostgreSQL
After signing in, when I click "Profile" the server returns 401 from "/account", with "message": "JWT is not found, invalid or expired.", logs out and then redirects to login. Any idea why?
Hi @mickgeek
could you make same for using symfony 5 or new version of symfony
Thanks
Hello. This little nice project seems to work correctly.
BUT:
In file "UserTokenConttroller.php", line ca. 191:
change method from:
$user->updateErrorCode(User::STATUS_ACTIVE);
to:
$user->setStatus(User::STATUS_ACTIVE);
I already fusioned spa into api part, so I can't set pull request. Please fix it manually.
It seems this is a good base for me.
Hey,
thank you very much for this. Would it be make more sense to seperate the api from the spa, for example create an repository for the symfony project and an repository for the react-app?
Best,
Christian
Steps I took:
I also do not understand how it is possoble to be authenticated as Superuser at this IF-Statement:
Thank you for your good work, I am still novice of react.
please help me. after set up project.
I do not understand why after click login, their are no respond[redirect to successful link].
and after go to http://0.0.0.0:3000/#/admin, this show
Error
Authorization is needed.
Thank you
I followed the instruction.
I installed composer and npm modules.
I tried to run api server by using this command
php bin/console server:run
But it didn't run.
How can I run it?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.