Skip to content

This API allows users to register, log in, create stories, contribute to stories, and export stories as PDFs or images. It is built using Django and Django REST Framework

Notifications You must be signed in to change notification settings

kksain/fun_game_story_creator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Story Creator API

This API allows users to register, log in, create stories, contribute to stories, and export stories as PDFs or images. It is built using Django and Django REST Framework.

Features

  • User Registration and Login: Users can register and log in using JWT tokens.
  • Story Management: Users can create, view, update, and delete stories.
  • Contributions: Users can contribute two-line content to a story.
  • Exporting Stories: Stories can be exported as PDFs or images.

Installation

  1. Clone the repository:

    git clone https://github.com/kksain/fun_game_story_creator.git
    cd story_creator
  2. Create and activate a virtual environment:

    python3 -m venv venv
    source venv/bin/activate
    # On Windows use `venv\Scripts\activate`
  3. Install the required packages:

    pip install -r requirements.txt
  4. Run migrations:

    python manage.py migrate
  5. Create a superuser (optional):

    python manage.py createsuperuser
  6. Start the development server:

    python manage.py runserver
  7. Start Celery worker (for exporting tasks):

    celery -A story_creator worker --loglevel=info

About

This API allows users to register, log in, create stories, contribute to stories, and export stories as PDFs or images. It is built using Django and Django REST Framework

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages