User task available(login and register)
User update,change-password available
User can see all register user
Supports latest version of Python i.e. Python 3.10.3 along with Django 4.1.3 โก
Api endpoind available on default server. ๐
Plugin
Version
pip
22.2.2
Python
3.10.3
Django
4.1.3
Postgres
11.6
git clone https://github.com/bhargavsonagara/bombay-software-task.git
2. If you not having pip,Django let's install
3. Create certual environment and activate
pipenv install -r requirements.txt
5. Create Database Manuanlly in PgAdmin
CREATE DATABASE < database_name>
6. Setting up your database details and email config in .env
DB_NAME=DATABASE_NAME
DB_USER=DATABASE_USER
DB_PASSWORD=DATABASE_PASSWORD
DB_HOST=HOST_NAME
DB_PORT=PORT_NUMBER
EMAIL_BACKEND=django.core.mail.backends.smtp.EmailBackend
EMAIL_HOST=smtp.gmail.com
EMAIL_USE_TLS=True
EMAIL_PORT=xyz
[email protected]
EMAIL_HOST_PASSWORD=xyz
RECIPIENT_ADDRESS=RecipientEmailAddress
7. Create tables by Django migration
python manage.py makemigrations
python manage.py migrate
8.All page available on @ http://127.0.0.1:8000/
Like Register user page - http://127.0.0.1:8000/register/
Like Login user page- http://127.0.0.1:8000/
Like User list page - http://127.0.0.1:8000/user/
Like Update password page - http://127.0.0.1:8000/update-password/
Like Profile-edit page - http://127.0.0.1:8000/profile-edit/
Like logout user page - http://127.0.0.1:8000/logout/
9. Extra functionality
After user successful register email send on user
Update password email send
Using redis as well as Threading
Added 404 page and 500 internal server error page