Server (backend) for CarMatch project, built with Django REST Framework
- Install Python 3.12+
- Install dependencies:
pip install -r requirements.txt - Run Django server:
python manage.py runserver - Test server at
http://localhost:8000/api/ - Login at
http://localhost:8000/api-auth/loginwith usernameadminand passwordadmin123 - Browse API at
http://localhost:8000/api/schema/swagger-ui/orhttp://localhost:8000/api/schema/redoc/
- To disable JWT and switch to session-based authentication, open
settings.py, comment out the line'DEFAULT_AUTHENTICATION_CLASSES': ('rest_framework_simplejwt.authentication.JWTAuthentication',),underREST_FRAMEWORK.