Skip to content

galactic-filament/crazy-train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

82 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crazy-train

crazy-train codecov

Libraries

Kind Name
Web Framework Ruby on Rails
SQL ORM ActiveRecord
Logging stdlib
Test Framework Minitest
Test Coverage Simplecov
Version Management rbenv
Dependency Management bundler
Linting/Formatting Rubocop

Features Implemented

Functionality

  • Hello world routes
  • CRUD routes for persisting posts
  • CRUD routes for user management
  • Form validation

Database

  • Database access in local environment
  • Database access in CI/CD environment
  • Database access in deployed (containerized) environment
  • Database migrations
  • Database model relationships

Monitoring

  • Request logging to /tmp/app.log

Developer Ergonomics

  • Unit tests with proper mocking
  • Integration tests against live (SQLite) db
  • Postman collection committed

Security

  • Password encryption using bcrypt
  • Routes protected via Bearer token authentication
  • Routes protected via ACLs
  • Forms protected by CSRF (Not necessary due to using JWT)

Orchestration & Deployment

  • Optimized Docker image
  • Environment validation script (env vars, database host and port are accessible)

CI/CD Workflows

  • Test coverage reporting
  • Automated testing using GitHub Actions
  • Automated coverage reporting using Coveralls Codecov (Coveralls was not working)
  • Docker build in CI/CD steps
  • Postman in CI/CD steps

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors