Skip to content

sibasispadhi/flask-stateless-microservice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask Stateless Microservice

This project demonstrates how to build a stateless microservice using Flask, GitHub Copilot, and VS Code. For a detailed walkthrough, refer to my DZone article.

Project Structure

flask-stateless-microservice
├── app
│   ├── __init__.py
│   ├── routes.py
│   ├── models.py
│   └── templates
│       └── base.html
├── venv
├── requirements.txt
└── README.md

Setup Instructions

  1. Clone the repository:

    git clone <repository-url>
    cd flask-stateless-microservice
    
  2. Create a virtual environment:

    python -m venv venv
    
  3. Activate the virtual environment:

    • On Windows:
      venv\Scripts\activate
      
    • On macOS/Linux:
      source venv/bin/activate
      
  4. Install the required packages:

    pip install -r requirements.txt
    

Usage

To run the application, use the following command:

flask run

Visit http://127.0.0.1:5000 in your web browser to view the application.

Additional Resources

For more details on building stateless microservices, check out my DZone article.

About

A Flask-based stateless microservice project demonstrating best practices for microservice architecture, built with GitHub Copilot and VS Code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors