This project provides a comprehensive authentication system implemented using Django, Django Rest Framework, and Djoser. The authentication system is designed to work seamlessly with PostgreSQL and includes integration with popular social media platforms such as Google and Facebook.
-
Django and Django Rest Framework: Leveraging the power of Django and Django Rest Framework for robust and scalable authentication functionalities.
-
Djoser: Utilizing Djoser, a powerful Django REST framework for user authentication, registration, and management.
-
PostgreSQL Integration: The project is configured to work seamlessly with PostgreSQL, providing a reliable and efficient database backend.
-
Social Media Authentication:
- Google Authentication: Users can authenticate using their Google accounts.
- Facebook Authentication: Users can also authenticate using their Facebook accounts.
- Clone the Repository:
git clone https://github.com/your-username/your-authentication-project.git
pip install -r requirements.txt
Ensure PostgreSQL is installed. Update database configurations in settings.py.
python manage.py migrate
python manage.py runserver
Follow the documentation for setting up Google and Facebook authentication. Update the corresponding API keys/secrets in your project. Accessing the API:
The API will be available at http://localhost:8000/. Explore the available endpoints for registration, login, and social media authentication using tools like Swagger.
Feel free to contribute to this project by opening issues or submitting pull requests. Your contributions are highly appreciated!
Remember to customize the placeholders like your-username
and your-authentication-project
with your actual GitHub username and project name. Additionally, make sure to provide detailed instructions for setting up Google and Facebook authentication in your project.