The RESTful API for a movie.
- Users can register with their username and password to create an account with email confirmation.
- Users can log in with their credentials and receive a token for authentication (JWT or simple Token).
- Users can log out and invalidate their token.
- Users can create, update, and delete their profile.
- Users can retrieve movies, genres, actors, and directors.
- Users can add comments to the movie and comments for another comment.
- Users can add star ratings for all movies.
- The API is well-documented with clear instructions on how to use each endpoint.
- The documentation includes sample API requests and responses for different endpoints.
- Clone this repository
- Create venv: python -m venv venv
- Activate venv: source venv/bin/activate
- Install requirements: pip install -r requirements.txt
- Run: python manage.py runserver
- Create user via: auth/register
- Get access token via: auth/tokin