Giter Site home page Giter Site logo

sandeepsudhakaran / rchat-app Goto Github PK

View Code? Open in Web Editor NEW
85.0 85.0 64.0 855 KB

A chat app, implemented using Flask-SocketIO with both the database (PostgreSQL) and the app deployed in Heroku. It also has user registration and authentication functionalities.

Python 23.79% JavaScript 21.28% CSS 16.28% HTML 38.66%

rchat-app's Issues

Room per username

How to create rooms per username from database
ROOMS = usernamelist

Doesn't show sent messages

Once you register then log in. Then click on any room, and when you send any message, it should appear on the screen, but it doesn't. You can't see the messages you sent.

/socket.io/?EIO=3&transport=polling error

i have deployed two applications including this rchat app on Google cloud platform that always have this error and messages cant be sent or received. I am using App engine flex environment, all the codes listed here have been deployed, i can create and account and sign in but cant send or receive messages.

i am new to programming so i dont know what to do, i have done several things i saw on stack overflow and on google but no way

Please help

cant change room names

pardon me for asking this weird questions but why in the world cant i change room names.

i have studied this code for a while now, i hosted it on GCP and if i tried to change to rooms name to what i want, it doesnt wont.

i cant send messages again. But when i revert back to the previous room names, it works. how is this possible?

SECRET key Error

app.secret_key = os.environ.get('SECRET')

This is not taking the secret key, so when running the app it is giving a secret key Error.

RuntimeError
RuntimeError: The session is unavailable because no secret key was set.  Set the secret_key on the application to something unique and secret.

but when giving the secret key like this

app.secret_key = "directly_pasting_the_secret_key"

Then it is working fine.

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.