- User Authentication - Users can register, login and logout
- Add, Edit, Mark tasks as Complete/Incomplete and Delete Tasks
- Created API End points to get the
User Data
andUser Tasks
- Create an Environment variable
DJANGO_ENV=DEV
to run the app in local. - Generate a secret key using the below code and save it to an Environment variable
SECRET_KEY
.import secrets secret_key = secrets.token_hex()
- Install all the dependencies using the below command
pip install -r requirements.txt
- Run the below command - This will create the tables (by the Model definition) in the Database
python manage.py migrate
- Create an
admin
user by running these following command$ python manage.py createsuperuser
-
To get the User information -
/api/profile_info/user=<Username>/
-
To get the Tasks of a User -
/api/user_tasks/user=<Username>/