DRF Account is a Django Rest Framework project designed to provide user authentication functionalities such as account creation, login, delete, update, email verification, password change, etc.
Follow these steps to get the project up and running on your local machine.
Make sure you have the following installed on your machine:
- Python (version 3.x)
- pip (Python package installer)
-
Clone the repository to your local machine using the following command:
git clone https://github.com/Yyuichiii/DRF_Account.git
-
Navigate to the project directory:
cd DRF_Account
-
Install the project dependencies by running:
pip install -r requirements.txt
-
Once the installation is complete, migrate the database:
python manage.py migrate
-
Run the development server:
python manage.py runserver
-
Configure Details in .env file for email service activation.
-
Open your web browser and go to http://127.0.0.1:8000/ to view the project.
/api/account/checkauth/
: Check authentication status/api/account/registration/
: User registration/api/account/login/
: User login/api/account/user/
: Retrieve user detail/api/account/change_password/
: Change user password/api/account/delete/
: Delete user account/api/account/logout/
: User logout
Contributions are welcome! Please feel free to open a pull request or issue for any bugs, feature requests, or suggestions.
This project is licensed under the MIT License - see the LICENSE file for details.
- Hat tip to anyone whose code was used
- Inspiration
- etc.