Skip to content

21f2000170/ga2_q2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

q-git-revert-env

A Flask-based REST API service.

Version

8.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

TDS module 2 q2

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages