This is the first time I worked on a webapp based on Django. It's a basic #Diary app (#diarymanagement or #journaling) with few features and simple UI. I used SQLite #database for this app. Features of app are are:
- Register/Login/Logout
- Create an entry
- Update your previous entry
- Created/Last edit Date record
- Delete entry
Working with #Django was fun and pretty easy. Also, the inbuilt admin panel helped a lot. Summarising my experience, Django is amazing👍🏻
- Clone
- Make migration
- Runserver
- Creating Django project: django-admin startproject project_name
- Checking Migration : python manage.py makemigrations
- Making Migration to create database : python manage.py migrate
- Make a new app in project : python manage.py startapp app_name
- Running whole website : python manage.py runserver
- Creating admin user : python manage.py createsuperuser
- models.py: to create a class model that directly creates database queries
- views.py: store business logic in form of python functions
- urls.py: store path of functions present in views.py
- templates: stores frontend logic, uses jinja tags to communicate with backend