Skip to content

mortendaehli/full-stack-ml

Repository files navigation

full-stack-ml

Demo full stack machine learning

Developer note

Local prerequisites

Add libraries and projects as source root:

  • projects/backend
  • libraries/imagenet
  • etc.

Run with Docker Compose

Make sure .env is populated, then run docker-compose:

docker-compose up

"Code" of conduct

We apply the following philosophies:

  • Pre-commit with black, flake8, isort and prettier to ensure uniform style throughout the project
  • Pre-commit with bandit to uncover security issues within the code
  • Conventional commits
  • Semantic versioning

Todo:

  • Add .snyk for dependency scanning
  • Add GitHub Actions pipeline for CI and later CD.
  • Create explicitly separate network for backend network vs. Traefik proxy. Ensure we get certificates.
  • Ensure docker containers are running as non-root -> bitnami containers or manual handling
  • Use KeyVault or similar for secrets handling instead of environmental variables
  • Set up test db.
  • Implement OpenAPI Generator into the CI/CD
  • Run Imagenet/Tensorflow as a separate service.

Long term todo:

Features:

  • RBAC
  • Use OpenAPI spec for frontend
  • Axio for API handling
  • Implement machine learning for logged in users

About

Demo full stack machine learning

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published