Skip to content

HypaActive/online-drawing-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

online drawing app!!!

Die Bois presents Lets Draw Dude!

An online multiplayer drawing website hosted under https://letsdrawdu.de/

Example

This project was created during the university course "Web Technology" at "FOM Düsseldorf".

Features

  • Drawing!
  • Multiplayer!
  • Shop!
  • Great Code!
  • Chat!

CodeEx

  • And more...

Installation

An account on twilio.com is necessary to use this app!

  • Create an account on twilio
  • use git to checkout this project
  • insert your twilio and Django keys/secrets
  • build the image with docker-compose build
  • run the image with docker-compose up (-d to detach if everything works like expected)

Example docker-compose.yml

version: "3.7"
services:
  onlinedrawingapp:
    build: .
    container_name: onlinedrawingapp
    networks:
      - extern
      - onlinedrawingapp
    environment:
      - DJANGO_SECRET_KEY=heregoesthesecretkey!!!
      - DJANGO_DEBUG_MODE=False
      - DJANGO_ALLOWED_HOSTS=letsdrawdu.de
      - DJANGO_LANGUAGE_CODE=de-de
      - DJANGO_TIME_ZONE=Europe/Berlin
      - REDIS_HOST=redis-container
      - TWILIO_ACCOUNT_SID=twiliosecrets
      - TWILIO_AUTH_TOKEN=twiliosecrets
      - TWILIO_SYNC_SERVICE_SID=twiliosecrets
      - TWILIO_API_KEY=twiliosecrets
      - TWILIO_API_SECRET=twiliosecrets
      - LETSENCRYPT_HOST=letsdrawdu.de
      - [email protected]
    labels:
      - "traefik.enable=true"
      - "traefik.http.routers.ldd.entrypoints=http"
      - "traefik.http.routers.ldd.rule=Host(`letsdrawdu.de`)"
      - "traefik.http.middlewares.ldd-https-redirect.redirectscheme.scheme=https"
      - "traefik.http.routers.ldd.middlewares=ldd-https-redirect"
      - "traefik.http.routers.ldd-secure.entrypoints=https"
      - "traefik.http.routers.ldd-secure.rule=Host(`letsdrawdu.de`)"
      - "traefik.http.routers.ldd-secure.tls=true"
      - "traefik.http.routers.ldd-secure.tls.certresolver=http"
      - "traefik.http.routers.ldd-secure.service=ldd"
      - "traefik.http.services.ldd.loadbalancer.server.port=8000"
      - "traefik.docker.network=extern"
    expose:
      - "8000"

  redis:
    container_name: redis_db
    image: redis:latest
    hostname: redis-container
    networks:
      - onlinedrawingapp
    expose:
      - "6379"

networks:
  extern:
    external: true
  onlinedrawingapp: 

Used Tools

  • Django
  • Twilio
  • Docker
  • Paint
  • Visual Studio Code
  • And others...

How To

Click on the Draw button on either the index page or the Navbar.

Multiplayer is automatically enabled!

Drawing will be on small line width, black colour by default.

Click on erase to erase parts drawn previously. You can still change the line width here!

Click back on draw to continue to draw. It even saves your previous line settings!

The S, M, L, XL buttons are to select your line width.

The color button opens a color picker where you can select the color you draw with.

The clear board button clears the board entirely. Please note that this feature intentionally only works locally and does not clear the screens of other participants, only your own!

Use the Chatbox on the right to Chat with your dudes!

Due to technical limitations, screen is also cleared on resize, please keep that in mind!

Full Support for Mobile, Tablet and PC with great responsive design!

Have fun drawing, dudes!

Team

Die Bois consists of:

Kai Elsner

Luis Häring

Sven Steinkühler

Tobias Danisch

Mahmoud Ftineh

End of Readme

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published