Skip to content

Asifkhan-akhan/flask-chatapi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

flask-chatapi

Dockerized Flask App

This repository contains a Dockerized Flask web application.

Prerequisites

Before you can run this application, you need to have the following tools installed on your system:

  • Docker
  • Docker Compose

Getting Started

  1. Clone this repository to your local machine:

    https://github.com/asifkhan-afk/flask-chatapi.git

  2. Change to the project directory:

    cd flask-chatapi

  3. Build the Docker image:

    docker build -t flask-app .

  4. Run the application using Docker Compose:

    docker-compose up

    This will start the Flask app and the associated database.

  5. Open your web browser and navigate to http://localhost:5000 to access the Flask application.

Stopping the Application

To stop the application and remove the containers, press Ctrl+C in your terminal to stop the docker-compose up command. Then, run:

docker-compose down

Configuration

You can configure the Flask application and database by modifying the environment variables in the docker-compose.yml file.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

This is a Flask real-time chat api built with Flask, Flask-SocketIO, and SQLAlchemy.This repository provides a Dockerized Flask web application, making it easy to deploy and scale your chat service.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors