Skip to content

A django rest framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions

Notifications You must be signed in to change notification settings

devmahmud/User-Profile-Api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Profiles API

A Django Rest Framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions. In this project i have replaced username field to email for authentication by extending AbstractBaseUser and BaseUserManager.

Requirements

open requirements.txt file to see requirements

To install requirements type

pip install -r requirements.txt

Installing

open terminal and type

git clone https://github.com/devmahmud/User-Profile-Api.git

or simply download using the url below

https://github.com/devmahmud/User-Profile-Api.git

To migrate the database open terminal in project directory and type

python manage.py makemigrations
python manage.py migrate

Creating Superuser

To create superuser open terminal and type
python manage.py createsuperuser

To run the program in local server use the following command

python manage.py runserver

Then go to http://127.0.0.1:8000 in your browser to see available endpoints

Author

Mahmudul alam Email: expelmahmud@gmail.com

========Thank You !!!=========

About

A django rest framework project to demonstrate custom user model implementation with login, register, status update and some custom permissions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages