SWeszler / scrumpoker

Planning Poker App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scrumpoker

Building Server Side

  1. Creating new Django project
  2. Creating new Django app
  3. Installing all needed Python modules
  4. Configuration for Channels
  5. Installing Redis
  6. Configuration for Redis connection in Django settings
  7. Creating Consumer, connect, disconnect and receive
  8. Creating websocket testing script
  9. Token Authentication https://hashnode.com/post/using-django-drf-jwt-authentication-with-django-channels-cjzy5ffqs0013rus1yb9huxvl

Build Client Side

Deployment To Google Cloud Run

Server

Enable Cloud APIs

gcloud services enable \
  run.googleapis.com \
  sql-component.googleapis.com \
  sqladmin.googleapis.com \
  compute.googleapis.com \
  cloudbuild.googleapis.com \
  secretmanager.googleapis.com

Set Connection

  • Cloud SQL
  • Serverless VPC Network Connector (default)

Create Redis Memorystore Instance

Import Database

gcloud sql import sql scrumpoker gs://bucket-name/db.sql --database=scrumpoker

Client

Tailwind CSS Purge For Production

Specify paths correctly for index.html and other source files.

About

Planning Poker App


Languages

Language:Python 37.7%Language:TypeScript 37.3%Language:Vue 15.5%Language:JavaScript 3.9%Language:Dockerfile 3.0%Language:HTML 2.2%Language:Shell 0.2%Language:CSS 0.2%