Skip to content

astyagun/user_admin_demo

Repository files navigation

Users administration

Features

  • Authentication
    • Users can enter profile details including
      • Date of birth using date picker
      • Upload profile picture
    • Admin can be created by running the db:seed task from the shell and passing it appropriate environment variables: ADMIN_EMAIL=<email> ADMIN_PASSWORD=<password> rake db:seed
  • Authorization (users can't visit admin section and Sidekiq web UI, admin can)
  • Admin can
    • List, view, destroy, edit and create normal users
    • Send PDF with selected user's details by Email

Development

  • Use the Docker development environment

  • Run the command below to generate users

    docker-compose exec -e ADMIN_EMAIL=email@example.com -e ADMIN_PASSWORD=123123123 spring rails db:seed

Releases

No releases published

Packages

No packages published