Skip to content

Vasanth2005kk/Pro-Rooms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pro-Rooms 🚀

Pro-Rooms is a premium platform for students and professionals to discover, create, and join exclusive group rooms. Each room is protected by a 6-digit access code to ensure community quality.

Architecture Update: Pro-Rooms has been refactored from a monolithic Flask application into a modern, decoupled architecture featuring a Flask REST API backend and a React single-page application (SPA) frontend.

Features ✨

  • Room Discovery: Search through a curated list of professional and student groups.
  • Secure Access: Join rooms only if you have the 6-digit access code.
  • Create Your Own: Easily create and manage your own group rooms.
  • Real-Time Chat: Live chat functionality within each room.
  • Premium Design: Sleek, modern, and dark-themed UI built with React & CSS.
  • User Authentication: Secure stateless JWT login via local accounts or Google OAuth.

Tech Stack 🛠️

  • Backend: Python, Flask, Flask-REST API, PostgreSQL, SQLAlchemy ORM, Flask-JWT-Extended
  • Frontend: React, Vite, Axios, React Router Dom, Vanilla CSS (Glassmorphism)
  • Authentication: JWT (JSON Web Tokens) & Authlib (Google OAuth)

Setup & Installation 🚀

The project is split into two directories: backend/ and frontend/. You must run both concurrently.

1. Backend Setup

  1. Navigate to the backend folder:

    cd backend
  2. Set up a Virtual Environment & Install Dependencies:

    uv venv
    source .venv/bin/activate
    uv pip install -r requirements.txt
  3. Configure Environment Variables: Copy .env.example to .env and configure it:

    cp .env.example .env

    Make sure DB_NAME and your credentials point to a valid PostgreSQL database.

  4. Initialize the Database:

    flask db upgrade
  5. Run the Flask Development Server:

    flask run --port=5000 --debug

    The API will be available at http://localhost:5000.


2. Frontend Setup

  1. Navigate to the frontend folder (in a new terminal window):

    cd frontend
  2. Install Node Utilities: Ensure you have Node.js installed, then install the React dependencies:

    npm install
  3. Configure Environment Variables: Create a .env file in the frontend folder:

    VITE_API_URL=http://localhost:5000/api
  4. Run the React Development Server:

    npm run dev

    The UI will be available at http://localhost:5173.



Built with ❤️ by Vasanth

About

Pro-Rooms is a web platform where users can create or join public and private rooms to chat and collaborate with others. It helps students and professionals easily communicate, share ideas, and connect with different communities.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors