Skip to content

23f1000576-collab/git-security-fix

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages