The goal of this project is to provide minimalistic django project template that everyone can use, which just works out of the box and has the basic setup you can expand on.
*Rest API for a Netfix Like Page
-
Separated dev and production settings
-
User registration and logging in as demo
-
Procfile for easy deployments
-
Separated requirements files
-
SQLite by default if no env variable is set
First clone the repository from Github and switch to the new directory:
$ git clone git@github.com/layan2k/fireside_back.git
$ cd fireside_back
Activate the virtualenv for your project.
Install project dependencies:
$ pip install -r requirements.txt
Then simply apply the migrations:
$ python manage.py migrate
You can now run the development server:
$ python manage.py runserver
API main Endpoints
- api/auth/users/ - Used for registration -POST
- api/auth/jwt/create/ - Used for Signin and returns JWT tokens -POST
- /api/video/ - Used to get all Movies -GET
- /api/profile/ - Used to get Profiles -GET
- /api/profile/create/ -Used to create profiles using the uuid -POST
- /api/watch/str:pk/ -Used to get movies based on the profile rating and uuid -GET
- /api/movie/detail/str:movie_id/ -Used to get movie details using the movies uuid -GET
- /api/movie/play/str:movie_id/ - Used to get videos url using the videos uuid
-Get more Authentication Endpoints from djoser
username : test password : testing123