Skip to content

WS22-23-SWEPM3ILV-INF-BA-VZ-Group-2/API

Repository files navigation

API

How to run our application

Install all the dependencies that are required for the backend functionalities

pip install -r requirements.txt

In order to start the server, run this command

python manage.py runserver

Your own API Endpoints

Using these url endponts you will get access to the API Documentation for these Endpoints. Here you can try out registering users as well as logging in and logging out by sending HTTP requests to the backend. You will also be able to see the HTTP response

Register user

http://127.0.0.1:8000/api/register

Login user

http://127.0.0.1:8000/api/login

Logout user

http://127.0.0.1:8000/api/logout

Available API Endpoints

Admin

https://melvinpariyadan.eu.pythonanywhere.com/admin

Register

https://melvinpariyadan.eu.pythonanywhere.com/api/register

Login user

https://melvinpariyadan.eu.pythonanywhere.com/api/login

Logout user

https://melvinpariyadan.eu.pythonanywhere.com/api/logout

Contributors 5

Languages