Skip to content

Commit ba26787

Browse files
committed
[BE] Init project on Github
0 parents  commit ba26787

File tree

1,907 files changed

+1468
-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.

1,907 files changed

+1468
-0
lines changed

Gemfile

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
source "https://rubygems.org"
2+
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3+
4+
ruby "3.2.0"
5+
6+
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
7+
gem "rails", "~> 7.0.4", ">= 7.0.4.3"
8+
9+
# The original asset pipeline for Rails [https://github.com/rails/sprockets-rails]
10+
gem "sprockets-rails"
11+
12+
# Use sqlite3 as the database for Active Record
13+
gem "sqlite3", "~> 1.4"
14+
15+
# Use the Puma web server [https://github.com/puma/puma]
16+
gem "puma", "~> 5.0"
17+
18+
# Use JavaScript with ESM import maps [https://github.com/rails/importmap-rails]
19+
gem "importmap-rails"
20+
21+
# Hotwire's SPA-like page accelerator [https://turbo.hotwired.dev]
22+
gem "turbo-rails"
23+
24+
# Hotwire's modest JavaScript framework [https://stimulus.hotwired.dev]
25+
gem "stimulus-rails"
26+
27+
# Build JSON APIs with ease [https://github.com/rails/jbuilder]
28+
gem "jbuilder"
29+
30+
# Use Redis adapter to run Action Cable in production
31+
gem "redis", "~> 4.0"
32+
33+
# Use Kredis to get higher-level data types in Redis [https://github.com/rails/kredis]
34+
# gem "kredis"
35+
36+
# Use Active Model has_secure_password [https://guides.rubyonrails.org/active_model_basics.html#securepassword]
37+
# gem "bcrypt", "~> 3.1.7"
38+
39+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
40+
gem "tzinfo-data", platforms: %i[ mingw mswin x64_mingw jruby ]
41+
42+
# Reduces boot times through caching; required in config/boot.rb
43+
gem "bootsnap", require: false
44+
45+
# Use Sass to process CSS
46+
# gem "sassc-rails"
47+
48+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
49+
# gem "image_processing", "~> 1.2"
50+
51+
group :development, :test do
52+
# See https://guides.rubyonrails.org/debugging_rails_applications.html#debugging-with-the-debug-gem
53+
gem "debug", platforms: %i[ mri mingw x64_mingw ]
54+
end
55+
56+
group :development do
57+
# Use console on exceptions pages [https://github.com/rails/web-console]
58+
gem "web-console"
59+
60+
# Add speed badges [https://github.com/MiniProfiler/rack-mini-profiler]
61+
# gem "rack-mini-profiler"
62+
63+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
64+
# gem "spring"
65+
end
66+
67+
group :test do
68+
# Use system testing [https://guides.rubyonrails.org/testing.html#system-testing]
69+
gem "capybara"
70+
gem "selenium-webdriver"
71+
gem "webdrivers"
72+
end

Gemfile.lock

Lines changed: 243 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,243 @@
1+
GEM
2+
remote: https://rubygems.org/
3+
specs:
4+
actioncable (7.0.4.3)
5+
actionpack (= 7.0.4.3)
6+
activesupport (= 7.0.4.3)
7+
nio4r (~> 2.0)
8+
websocket-driver (>= 0.6.1)
9+
actionmailbox (7.0.4.3)
10+
actionpack (= 7.0.4.3)
11+
activejob (= 7.0.4.3)
12+
activerecord (= 7.0.4.3)
13+
activestorage (= 7.0.4.3)
14+
activesupport (= 7.0.4.3)
15+
mail (>= 2.7.1)
16+
net-imap
17+
net-pop
18+
net-smtp
19+
actionmailer (7.0.4.3)
20+
actionpack (= 7.0.4.3)
21+
actionview (= 7.0.4.3)
22+
activejob (= 7.0.4.3)
23+
activesupport (= 7.0.4.3)
24+
mail (~> 2.5, >= 2.5.4)
25+
net-imap
26+
net-pop
27+
net-smtp
28+
rails-dom-testing (~> 2.0)
29+
actionpack (7.0.4.3)
30+
actionview (= 7.0.4.3)
31+
activesupport (= 7.0.4.3)
32+
rack (~> 2.0, >= 2.2.0)
33+
rack-test (>= 0.6.3)
34+
rails-dom-testing (~> 2.0)
35+
rails-html-sanitizer (~> 1.0, >= 1.2.0)
36+
actiontext (7.0.4.3)
37+
actionpack (= 7.0.4.3)
38+
activerecord (= 7.0.4.3)
39+
activestorage (= 7.0.4.3)
40+
activesupport (= 7.0.4.3)
41+
globalid (>= 0.6.0)
42+
nokogiri (>= 1.8.5)
43+
actionview (7.0.4.3)
44+
activesupport (= 7.0.4.3)
45+
builder (~> 3.1)
46+
erubi (~> 1.4)
47+
rails-dom-testing (~> 2.0)
48+
rails-html-sanitizer (~> 1.1, >= 1.2.0)
49+
activejob (7.0.4.3)
50+
activesupport (= 7.0.4.3)
51+
globalid (>= 0.3.6)
52+
activemodel (7.0.4.3)
53+
activesupport (= 7.0.4.3)
54+
activerecord (7.0.4.3)
55+
activemodel (= 7.0.4.3)
56+
activesupport (= 7.0.4.3)
57+
activestorage (7.0.4.3)
58+
actionpack (= 7.0.4.3)
59+
activejob (= 7.0.4.3)
60+
activerecord (= 7.0.4.3)
61+
activesupport (= 7.0.4.3)
62+
marcel (~> 1.0)
63+
mini_mime (>= 1.1.0)
64+
activesupport (7.0.4.3)
65+
concurrent-ruby (~> 1.0, >= 1.0.2)
66+
i18n (>= 1.6, < 2)
67+
minitest (>= 5.1)
68+
tzinfo (~> 2.0)
69+
addressable (2.8.6)
70+
public_suffix (>= 2.0.2, < 6.0)
71+
bindex (0.8.1)
72+
bootsnap (1.17.0)
73+
msgpack (~> 1.2)
74+
builder (3.2.4)
75+
capybara (3.39.0)
76+
addressable
77+
matrix
78+
mini_mime (>= 0.1.3)
79+
nokogiri (~> 1.8)
80+
rack (>= 1.6.0)
81+
rack-test (>= 0.6.3)
82+
regexp_parser (>= 1.5, < 3.0)
83+
xpath (~> 3.2)
84+
concurrent-ruby (1.2.2)
85+
crass (1.0.6)
86+
date (3.3.4)
87+
debug (1.9.0)
88+
irb (~> 1.10)
89+
reline (>= 0.3.8)
90+
erubi (1.12.0)
91+
globalid (1.2.1)
92+
activesupport (>= 6.1)
93+
i18n (1.14.1)
94+
concurrent-ruby (~> 1.0)
95+
importmap-rails (1.1.5)
96+
actionpack (>= 6.0.0)
97+
railties (>= 6.0.0)
98+
io-console (0.6.0)
99+
irb (1.10.1)
100+
rdoc
101+
reline (>= 0.3.8)
102+
jbuilder (2.11.5)
103+
actionview (>= 5.0.0)
104+
activesupport (>= 5.0.0)
105+
loofah (2.20.0)
106+
crass (~> 1.0.2)
107+
nokogiri (>= 1.5.9)
108+
mail (2.8.1)
109+
mini_mime (>= 0.1.1)
110+
net-imap
111+
net-pop
112+
net-smtp
113+
marcel (1.0.2)
114+
matrix (0.4.2)
115+
method_source (1.0.0)
116+
mini_mime (1.1.5)
117+
mini_portile2 (2.8.5)
118+
minitest (5.20.0)
119+
msgpack (1.7.2)
120+
net-imap (0.4.7)
121+
date
122+
net-protocol
123+
net-pop (0.1.2)
124+
net-protocol
125+
net-protocol (0.2.2)
126+
timeout
127+
net-smtp (0.4.0)
128+
net-protocol
129+
nio4r (2.7.0)
130+
nokogiri (1.14.2)
131+
mini_portile2 (~> 2.8.0)
132+
racc (~> 1.4)
133+
psych (5.1.1.1)
134+
stringio
135+
public_suffix (5.0.4)
136+
puma (5.6.5)
137+
nio4r (~> 2.0)
138+
racc (1.7.3)
139+
rack (2.2.8)
140+
rack-test (2.1.0)
141+
rack (>= 1.3)
142+
rails (7.0.4.3)
143+
actioncable (= 7.0.4.3)
144+
actionmailbox (= 7.0.4.3)
145+
actionmailer (= 7.0.4.3)
146+
actionpack (= 7.0.4.3)
147+
actiontext (= 7.0.4.3)
148+
actionview (= 7.0.4.3)
149+
activejob (= 7.0.4.3)
150+
activemodel (= 7.0.4.3)
151+
activerecord (= 7.0.4.3)
152+
activestorage (= 7.0.4.3)
153+
activesupport (= 7.0.4.3)
154+
bundler (>= 1.15.0)
155+
railties (= 7.0.4.3)
156+
rails-dom-testing (2.0.3)
157+
activesupport (>= 4.2.0)
158+
nokogiri (>= 1.6)
159+
rails-html-sanitizer (1.5.0)
160+
loofah (~> 2.19, >= 2.19.1)
161+
railties (7.0.4.3)
162+
actionpack (= 7.0.4.3)
163+
activesupport (= 7.0.4.3)
164+
method_source
165+
rake (>= 12.2)
166+
thor (~> 1.0)
167+
zeitwerk (~> 2.5)
168+
rake (13.1.0)
169+
rdoc (6.6.1)
170+
psych (>= 4.0.0)
171+
redis (4.8.1)
172+
regexp_parser (2.8.3)
173+
reline (0.4.1)
174+
io-console (~> 0.5)
175+
rexml (3.2.6)
176+
rubyzip (2.3.2)
177+
selenium-webdriver (4.10.0)
178+
rexml (~> 3.2, >= 3.2.5)
179+
rubyzip (>= 1.2.2, < 3.0)
180+
websocket (~> 1.0)
181+
sprockets (4.2.1)
182+
concurrent-ruby (~> 1.0)
183+
rack (>= 2.2.4, < 4)
184+
sprockets-rails (3.4.2)
185+
actionpack (>= 5.2)
186+
activesupport (>= 5.2)
187+
sprockets (>= 3.0.0)
188+
sqlite3 (1.6.2)
189+
mini_portile2 (~> 2.8.0)
190+
stimulus-rails (1.2.1)
191+
railties (>= 6.0.0)
192+
stringio (3.1.0)
193+
thor (1.3.0)
194+
timeout (0.4.1)
195+
turbo-rails (1.4.0)
196+
actionpack (>= 6.0.0)
197+
activejob (>= 6.0.0)
198+
railties (>= 6.0.0)
199+
tzinfo (2.0.6)
200+
concurrent-ruby (~> 1.0)
201+
web-console (4.2.0)
202+
actionview (>= 6.0.0)
203+
activemodel (>= 6.0.0)
204+
bindex (>= 0.4.0)
205+
railties (>= 6.0.0)
206+
webdrivers (5.2.0)
207+
nokogiri (~> 1.6)
208+
rubyzip (>= 1.3.0)
209+
selenium-webdriver (~> 4.0)
210+
websocket (1.2.10)
211+
websocket-driver (0.7.6)
212+
websocket-extensions (>= 0.1.0)
213+
websocket-extensions (0.1.5)
214+
xpath (3.2.0)
215+
nokogiri (~> 1.8)
216+
zeitwerk (2.6.12)
217+
218+
PLATFORMS
219+
ruby
220+
221+
DEPENDENCIES
222+
bootsnap
223+
capybara
224+
debug
225+
importmap-rails
226+
jbuilder
227+
puma (~> 5.0)
228+
rails (~> 7.0.4, >= 7.0.4.3)
229+
redis (~> 4.0)
230+
selenium-webdriver
231+
sprockets-rails
232+
sqlite3 (~> 1.4)
233+
stimulus-rails
234+
turbo-rails
235+
tzinfo-data
236+
web-console
237+
webdrivers
238+
239+
RUBY VERSION
240+
ruby 3.2.0p0
241+
242+
BUNDLED WITH
243+
2.4.9

README.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# README
2+
3+
This README would normally document whatever steps are necessary to get the
4+
application up and running.
5+
6+
Things you may want to cover:
7+
8+
* Ruby version
9+
10+
* System dependencies
11+
12+
* Configuration
13+
14+
* Database creation
15+
16+
* Database initialization
17+
18+
* How to run the test suite
19+
20+
* Services (job queues, cache servers, search engines, etc.)
21+
22+
* Deployment instructions
23+
24+
* ...

Rakefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Add your own tasks in files placed in lib/tasks ending in .rake,
2+
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
3+
4+
require_relative "config/application"
5+
6+
Rails.application.load_tasks

app/.DS_Store

8 KB
Binary file not shown.

app/assets/.DS_Store

6 KB
Binary file not shown.

app/assets/config/manifest.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
//= link_tree ../images
2+
//= link_directory ../stylesheets .css
3+
//= link_tree ../../javascript .js
4+
//= link_tree ../../../vendor/javascript .js

app/assets/images/.keep

Whitespace-only changes.
Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
/*
2+
* This is a manifest file that'll be compiled into application.css, which will include all the files
3+
* listed below.
4+
*
5+
* Any CSS (and SCSS, if configured) file within this directory, lib/assets/stylesheets, or any plugin's
6+
* vendor/assets/stylesheets directory can be referenced here using a relative path.
7+
*
8+
* You're free to add application-wide styles to this file and they'll appear at the bottom of the
9+
* compiled file so the styles you add here take precedence over styles defined in any other CSS
10+
* files in this directory. Styles in this file should be added after the last require_* statement.
11+
* It is generally better to create a new file per style scope.
12+
*
13+
*= require_tree .
14+
*= require_self
15+
*/
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module ApplicationCable
2+
class Channel < ActionCable::Channel::Base
3+
end
4+
end

0 commit comments

Comments
 (0)