Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
moredure committed Dec 28, 2020
0 parents commit 6538c23
Show file tree
Hide file tree
Showing 440 changed files with 25,352 additions and 0 deletions.
1 change: 1 addition & 0 deletions .browserslistrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
defaults
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
.editorconfig
.env
.gitignore
Dockerfile
*.md
deploy
log
tmp
node_modules
app/javascript
Caddyfile
package.json
yarn.lock
postcss.config.js
babel.config.js
aiven.json
.eslint*
.bundle
.ruby-version
9 changes: 9 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
14 changes: 14 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
build/*
dist/*
/public
node_modules
/lib
/deploy
/db
/log
/config
/bin
/app/concepts
/app/controllers
/app/models
/app/serializers
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
root: true,
env: {
node: true
},
'extends': [
'plugin:vue/essential',
'@vue/standard'
],
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
},
parserOptions: {
parser: 'babel-eslint'
}
}
27 changes: 27 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
#
# If you find yourself ignoring temporary files generated by your text editor
# or operating system, you probably want to add a global ignore instead:
# git config --global core.excludesfile '~/.gitignore_global'

# Ignore bundler config.
/.bundle

# Ignore all logfiles and tempfiles.
/log/*
/tmp/*
!/log/.keep
!/tmp/.keep
*.key

.byebug_history
/public/assets
/public/packs
# Ignore master key for decrypting credentials and more.
/config/master.key
.idea
.env*
node_modules
.DS_Store

/config/credentials/production.key
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.1
12 changes: 12 additions & 0 deletions Capfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
require "capistrano/setup"
require "capistrano/deploy"
require "capistrano/scm/git"
require "capistrano/rvm"
require "capistrano/bundler"
require 'capistrano/rails/assets'
require 'capistrano/rails/migrations'
require 'capistrano/passenger'

install_plugin Capistrano::SCM::Git

Dir.glob("lib/capistrano/tasks/*.rake").each { |r| import r }
71 changes: 71 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
source 'https://rubygems.org'

git_source(:github) { |repo| "https://github.com/#{repo}.git" }

ruby '2.7.1'

# Field Encryption
gem 'lockbox'
# Authorization Toolkit
gem 'pundit', '~> 2.1.0'
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
gem 'webpacker', '~> 5.2.1'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 6.0.3.4'
# Use postgresql as the database for Active Record
gem 'pg', '>= 0.18', '< 2.0'
# Use Puma as the app server
gem 'puma', '~> 4.3.5'
# Reduces boot times through caching; required in config/boot.rb
gem 'bootsnap', '>= 1.4.0', require: false
# RabbitMQ client
gem 'bunny', '~> 2.16.1'
# Modern HTTP client
gem 'httparty', '~> 0.18.1'
# Pusher client
gem 'pusher', '~> 1.3.3'
# ActiveModel JSON serializer
gem "active_model_serializers", '~> 0.10.10'
# Telegram bot
gem 'telegram-bot-ruby', '~> 0.12.0'
# Pagination
gem 'will_paginate', '~> 3.3.0'
# API pagination
gem 'api-pagination', '~> 4.8.2'
# Encryption
gem 'bcrypt', '~> 3.1.16'
# AWS SDK
gem 'aws-sdk-s3', '~> 1'
# AWS IAM
gem 'aws-sdk-iam', '~> 1'
# Rate Limiting middleware
gem 'rack-attack', '~> 6.3.1'
# CORS
gem 'rack-cors', '~> 1.1.1'
# 2FA
gem 'active_model_otp', '~> 2.0.1'
# Omniauth
gem 'omniauth', '~> 1.9.1'
# Omniauth github
gem 'omniauth-github', github: 'omniauth/omniauth-github', branch: 'master'
# Omniauth google
gem 'omniauth-google-oauth2', '~> 0.8.0'
# PDF generator
gem 'wicked_pdf', '~> 2.1.0'
# PDF generator library
gem 'wkhtmltopdf-binary', '~> 0.12.6.3'
# recaptcha
gem 'recaptcha', github: 'ambethia/recaptcha'
# Handling of poweroff tasks via RabbitMQ
gem 'sneakers', '~> 2.12.0'
# Deployment
group :development do
gem 'capistrano', require: false
gem 'capistrano-rvm', require: false
gem 'capistrano-rails', require: false
gem 'capistrano-bundler', require: false
gem 'capistrano-passenger', require: false
gem 'listen', '>= 3.0.5', '< 3.2'
end
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
Loading

0 comments on commit 6538c23

Please sign in to comment.