Skip to content

Latest commit

 

History

History
22 lines (17 loc) · 900 Bytes

README.md

File metadata and controls

22 lines (17 loc) · 900 Bytes

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