This project is an open-source academy management system. It can be used for schools, too. There are four types of users, Superuser, Manager, Teacher and student. Manager must be able to send message to all users. Teacher must be able to send a message to students. And students can view their messages.
Give me a hand with front-end
- Use a front-end template
- Rest APIs
Create a file named .env
in the root directory and add all the variables there. An example of .env
file:
HOST=localhost
DATABASE=test
USERNAME=testuser
PASSWORD=testpass123
ESQL_TOKEN=xxxxxxxxxxxxxxxx
python manage.py migrate
python manage.py create_groups
python manage.py createsuperuser
In step 2, this custom management command create custom groups with custom permissions.
So, users will add to these groups, and they can have different permissions.
I used ElephantSQL database, so I created some custom management commands for myself
to make it easier to interact to ESQL database APIs. If you're using this database for your own database.
So, these commands can help you too :
python manage.py backups
-> List of all backupspython manage.py create
-> Create a new backuppython manage.py restore
-> Restore a backup using its ID