Skip to content

galactic-filament/py-lyfe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

py-lyfe

py-lyfe Coverage Status

Libraries

Kind Name
Web Framework Flask
SQL ORM SqlAlchemy
Logging stdlib
Test Framework pytest
Test Coverage coverage
Version Management pyenv
Dependency Management poetry

Features Implemented

  • Hello world routes
  • CRUD routes for persisting posts
  • Database access
  • Database migrations
  • Request logging to /srv/app/log/app.log
  • Proper unit tests
  • Unit test coverage reporting
  • Automated testing using GitHub Actions
  • Automated coverage reporting using Coveralls
  • CRUD routes for user management
  • Database model relationships
  • Password encryption using bcrypt
  • Routes protected via Bearer token authentication
  • Routes protected via ACLs
  • Forms protected by CSRF (Not necessary due to using JWT)
  • Form validation
  • Postman collection committed
  • Postman in CI/CD steps
  • Optimized Docker image
  • Validates environment (env vars, database host and port are accessible)