Skip to content
/ userz Public

Practical Example for a user management app with React as Frontend and Symfony 4 as API backend

License

Notifications You must be signed in to change notification settings

ri5h/userz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GitHub license

userz

Practical Example for a user management app with React as Frontend and Symfony 4 as API backend.

  • please find the technical requirements doc for functionalities.

Screenshot

screenshot

Tech Stack

  • Frontend : ReactJs
  • Backend : Symfony4

Important Components and extensions used.

  • Symfony
    • symfony/maker-bundle
    • FOSRestBundle
    • nelmio/cors-bundle
    • symfony/apache-pack
    • symfony/orm-pack
    • symfony/var-dumper
  • ReactJS
    • axios
    • react-dom
    • react-router-dom
    • react-select

Detailed description

  • This app is a simple demo implementation to show how we can use reactjs in the frontend and symfony4 in the backend for a simple starting point. Though this app considers a lot of things it is nowhere ready for production.
  • The setup is ideal to understand how you can use FOSRestBundle to create APIs and How react-router can help with making different pages.

Setup Instructions

  1. Setup a domain in local or update config.js file for the address(url) of the app.
  2. cd backend
  3. composer install
  4. php bin/console doctrine:database:create
  5. php bin/console doctrine:migrations:migrate
  6. cd frontend
  7. npm install
  8. npm run serve

Todo

  1. Add better validations as current app does not validate much data.
  2. Add Pagination in dashboard. (Can use datatables).
  3. Reformat some code to avoid duplication and improve code quality.
  4. Write Test Cases to cover other aspects.
  5. Set up CI/CD with testing automation to deploy automatically.

About

Practical Example for a user management app with React as Frontend and Symfony 4 as API backend

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published