Skip to content

The API to communicate with the Avabuzz web application

Notifications You must be signed in to change notification settings

terrychitter/avabuzz_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Application

This is a Flask-based web application with a structured project layout. The application includes API endpoints, database models, and various utilities to support its functionality.

Table of Contents

Installation

  1. Clone the repository:

    git clone https://github.com/yourusername/your-repo.git
    cd your-repo
  2. Create and activate a virtual environment:

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt
  4. Set up the environment variables:

    Create a .env file in the root directory and add the necessary environment variables. Refer to the Config class in config.py for required variables.

    FLASK_ENV=development
    SECRET_KEY=your_secret_key
    DATABASE_URI=your_database_uri
  5. Run the database migrations:

    flask db upgrade

Configuration

The application configuration is managed through the Config class. Environment variables are loaded from a .env file using python-dotenv.

Usage

  1. Run the application:

    flask run
  2. Access the application:

    Open your web browser and navigate to http://127.0.0.1:5000.

About

The API to communicate with the Avabuzz web application

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published