Avikam03 / atsni

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Steps to view project deployed locally

  1. Clone the repository
git clone https://github.com/Avikam03/atsni.git
  1. chmod +x ./install.sh ./run.sh
  2. ./install.sh (this will install all the dependencies)
  3. ./run.sh (this will run two processes simultaneously - one that hosts the django server on port 8000, and another that is needed for tailwind to work)
  4. Open http://localhost:8000/ in your browser
  5. Press Ctrl + C twice to stop the processes

Optional:

  1. Create superuser to view admin panel
python manage.py createsuperuser

Note:

  1. The project starts by registering a user (preferably admin, to test all features)
  2. To make things easy, you simply need the email address of an existing user to log into the account of a particular user. (password can be easily configured by making changes to the user model)
  3. Since it was communicated that for the sake of this project there is only one team, it has been made so that all the users present are in the team, and when a member is added to the team, a user of their details is created.

Testing

Edge cases taken care of:

  1. User can't delete themself
  2. User can't set their own role to admin if they are a regular user
  3. User can't change their own email or someone else's email to an email that already exists

Screenshots

About


Languages

Language:Python 69.0%Language:HTML 23.3%Language:JavaScript 6.4%Language:Shell 1.1%Language:CSS 0.2%