Skip to content

Commit 61af083

Browse files
committed
first mvp
0 parents  commit 61af083

File tree

118 files changed

+9715
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+9715
-0
lines changed

.browserslistrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
defaults

.gitattributes

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# See https://git-scm.com/docs/gitattributes for more about git attribute files.
2+
3+
# Mark the database schema as having been generated.
4+
db/schema.rb linguist-generated
5+
6+
# Mark the yarn lockfile as having been generated.
7+
yarn.lock linguist-generated
8+
9+
# Mark any vendored files as having been vendored.
10+
vendor/* linguist-vendored

.gitignore

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
*.rbc
2+
capybara-*.html
3+
.rspec
4+
/db/*.sqlite3
5+
/db/*.sqlite3-journal
6+
/db/*.sqlite3-[0-9]*
7+
/public/system
8+
/coverage/
9+
/spec/tmp
10+
*.orig
11+
rerun.txt
12+
pickle-email-*.html
13+
14+
# Ignore all logfiles and tempfiles.
15+
/log/*
16+
/tmp/*
17+
!/log/.keep
18+
!/tmp/.keep
19+
20+
# TODO Comment out this rule if you are OK with secrets being uploaded to the repo
21+
config/initializers/secret_token.rb
22+
config/master.key
23+
24+
# Only include if you have production secrets in this file, which is no longer a Rails default
25+
# config/secrets.yml
26+
27+
# dotenv, dotenv-rails
28+
# TODO Comment out these rules if environment variables can be committed
29+
.env
30+
.env.*
31+
32+
## Environment normalization:
33+
/.bundle
34+
/vendor/bundle
35+
36+
# these should all be checked in to normalize the environment:
37+
# Gemfile.lock, .ruby-version, .ruby-gemset
38+
39+
# unless supporting rvm < 1.11.0 or doing something fancy, ignore this:
40+
.rvmrc
41+
42+
# if using bower-rails ignore default bower_components path bower.json files
43+
/vendor/assets/bower_components
44+
*.bowerrc
45+
bower.json
46+
47+
# Ignore pow environment settings
48+
.powenv
49+
50+
# Ignore Byebug command history file.
51+
.byebug_history
52+
53+
# Ignore node_modules
54+
node_modules/
55+
56+
# Ignore precompiled javascript packs
57+
/public/packs
58+
/public/packs-test
59+
/public/assets
60+
61+
# Ignore yarn files
62+
/yarn-error.log
63+
yarn-debug.log*
64+
.yarn-integrity
65+
66+
# Ignore uploaded files in development
67+
/storage/*
68+
!/storage/.keep
69+
/public/uploads
70+
71+
.DS_Store

.rubocop.yml

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
require:
2+
- rubocop-performance
3+
- rubocop-rails
4+
- rubocop-rspec
5+
6+
AllCops:
7+
Exclude:
8+
- 'db/**/*'
9+
- 'script/**/*'
10+
- 'bin/**/*'
11+
- 'node_modules/**/*'
12+
- config/**/*
13+
NewCops: enable
14+
15+
Layout/LineLength:
16+
Max: 100
17+
18+
Metrics/BlockLength:
19+
Exclude:
20+
- config/**/*
21+
- spec/**/*
22+
23+
Lint/AmbiguousBlockAssociation:
24+
Exclude:
25+
- spec/**/*
26+
27+
Style/Documentation:
28+
Enabled: false

.ruby-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
ruby-3.0.0

Gemfile

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# frozen_string_literal: true
2+
3+
source 'https://rubygems.org'
4+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
5+
6+
ruby '3.0.0'
7+
8+
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'
9+
gem 'rails', '~> 6.1.3', '>= 6.1.3.2'
10+
11+
gem 'pg'
12+
13+
# Use Puma as the app server
14+
gem 'puma', '~> 5.0'
15+
# Use SCSS for stylesheets
16+
gem 'sass-rails', '>= 6'
17+
# Transpile app-like JavaScript. Read more: https://github.com/rails/webpacker
18+
gem 'webpacker', '~> 5.0'
19+
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
20+
gem 'turbolinks', '~> 5'
21+
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
22+
gem 'jbuilder', '~> 2.7'
23+
# Use Redis adapter to run Action Cable in production
24+
# gem 'redis', '~> 4.0'
25+
# Use Active Model has_secure_password
26+
# gem 'bcrypt', '~> 3.1.7'
27+
28+
# Use Active Storage variant
29+
# gem 'image_processing', '~> 1.2'
30+
31+
# Reduces boot times through caching; required in config/boot.rb
32+
gem 'bootsnap', '>= 1.4.4', require: false
33+
34+
gem 'stimulus-rails'
35+
36+
group :development, :test do
37+
# Call 'byebug' anywhere in the code to stop execution and get a debugger console
38+
gem 'byebug', platforms: [:mri, :mingw, :x64_mingw]
39+
gem 'dotenv-rails'
40+
41+
# Linting with rubocop
42+
gem 'rubocop'
43+
gem 'rubocop-performance'
44+
gem 'rubocop-rails'
45+
gem 'rubocop-rspec'
46+
end
47+
48+
group :development do
49+
# Access an interactive console on exception pages or by calling 'console' anywhere in the code.
50+
gem 'web-console', '>= 4.1.0'
51+
# Display performance information such as SQL time and flame graphs for each request in your browser.
52+
# Can be configured to work on production as well see: https://github.com/MiniProfiler/rack-mini-profiler/blob/master/README.md
53+
gem 'rack-mini-profiler', '~> 2.0'
54+
55+
gem 'listen', '~> 3.3'
56+
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
57+
gem 'spring'
58+
59+
gem 'annotate'
60+
end
61+
62+
group :test do
63+
# Adds support for Capybara system testing and selenium driver
64+
gem 'capybara', '>= 3.26'
65+
gem 'selenium-webdriver'
66+
# Easy installation and use of web drivers to run system tests with browsers
67+
gem 'webdrivers'
68+
end
69+
70+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
71+
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

0 commit comments

Comments
 (0)