Skip to content

Latest commit

 

History

History
48 lines (32 loc) · 710 Bytes

File metadata and controls

48 lines (32 loc) · 710 Bytes

q-git-revert-env

A Flask-based REST API service.

Version

6.0.0

Quick Start

pip install -r requirements.txt
python app.py

API Endpoints

  • GET /health - Health check
  • POST /api/v1/login - User authentication
  • GET /api/v1/users - List users
  • POST /api/v1/register - Register new user

Environment Variables

Copy .env.example to .env and configure:

  • DATABASE_URL - PostgreSQL connection string
  • JWT_SECRET - Secret for JWT tokens
  • REDIS_URL - Redis connection for caching

Development

python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
flask run --debug

Testing

pytest tests/ -v

License

MIT