Giter Site home page Giter Site logo

chatapp's Introduction

Hey, I'm Randall!

It's great to meet you. I'm a long-time software developer, speaker, author, and entrepreneur.

Randall's GitHub stats

chatapp's People

Contributors

rdegges avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

chatapp's Issues

thank for the tutorial and source code but can i use with php or flask

ok what i mean is I have an already working authentication system so I do not want to use okta. how do i use my own developed authentication system i built with flask or php. how do i make this happen. below is my view for sign up and log in in flask how do i use this with your source because i do not want okta for authenticaton.

-- coding: utf-8 --

from flask import redirect, render_template, request, url_for, flash, Blueprint
from flask_login import login_required, login_user, logout_user, current_user
from app.auth.forms import LoginForm, RegistrationForm
from datetime import date, datetime
from app.models import db, Users, Upload

app/auth/views.py

auth_blueprint = Blueprint('auth', name)

@auth_blueprint.route('/')
def index():
return '

This is AUTH main Route

'

@auth_blueprint.route('/register', methods=['GET', 'POST'])
def register():
"""
Handle requests to the /register route
Add an user to the database through the registration form
"""
form = RegistrationForm()
if form.validate_on_submit():
user = Users(email=form.email.data,
username=form.username.data,
first_name=form.first_name.data,
last_name=form.last_name.data,
password=form.password.data)

    # add user to the database
    db.session.add(user)
    db.session.commit()
    flash('You have successfully registered! You may now login.')

    # redirect to the login page
    return redirect(url_for('auth.login'))

# load registration template
return render_template('auth/register.html', form=form, title='Register')

@auth_blueprint.route('/login', methods=['GET', 'POST'])
def login():
"""
Handle requests to the /login route
Log an User in through the login form
"""
form = LoginForm()
if form.validate_on_submit():

    # check whether User exists in the database and whether
    # the password entered matches the password in the database
    user = Users.query.filter_by(email=form.email.data).first()
    if Users is not None and user.verify_password(
            form.password.data):
        # log User in
        login_user(user)

        # redirect to the dashboard page after login
        return redirect(url_for('dashboard.index'))

    # when login details are incorrect
    else:
        flash('Invalid email or password.')

# load login template
return render_template('auth/login.html', form=form, title='Login')

@auth_blueprint.route('/logout')
@login_required
def logout():
"""
Handle requests to the /logout route
Log an employee out through the logout link
"""
logout_user()
flash('You have successfully been logged out.')

# redirect to the login page
return redirect(url_for('auth.login'))

Feature Request: Text Chat

Would be pretty awesome if there was a text chat, too (for sharing links with chat partners, or if there is trouble with audio), is there a chance you could implement that?

Tutoial request

please am building a flask website and my school project needs me to complete it 2 weeks. Please can you make a tutorial on how you can use your script with flask. I would be happy am sure may other people would benefit from it. Please or at least help me out in my project Here is my email, [email protected]. Thank because you how am stranded and need help please. Thank you.

the Simplewebrtc is deprecated

The link does not work. Thus the whole app does not work. I am wondering who can help to fix the issue. The layout is great. This is the only issue.

https://simplewebrtc.com/latest-v3.js

Alternative version without Okta?

Very cool app :)
Only downside (at least to me) is that it builds on Okta,
is there an alternative way of authentication or could the app run without any authentication at all (for e.g. anyone who has the link to the room can join)?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.