Skip to content

Commit b73379b

Browse files
committed
Added basic gems
Added User model Added Users create and login Added interactors for the above
1 parent a73a5de commit b73379b

File tree

132 files changed

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

132 files changed

+11224
-0
lines changed

.DS_Store

6 KB
Binary file not shown.

.dockerignore

Whitespace-only changes.

.env

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
POSTGRES_HOST=localhost
2+
POSTGRES_USER=''
3+
POSTGRES_PASSWORD=''
4+
DATABASE=nextjs_on_rails_development

.gitattributes

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
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 any vendored files as having been vendored.
7+
vendor/* linguist-vendored

.gitignore

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# See https://help.github.com/articles/ignoring-files for more about ignoring files.
2+
#
3+
# If you find yourself ignoring temporary files generated by your text editor
4+
# or operating system, you probably want to add a global ignore instead:
5+
# git config --global core.excludesfile '~/.gitignore_global'
6+
7+
# Ignore bundler config.
8+
/.bundle
9+
10+
# Ignore all logfiles and tempfiles.
11+
/log/*
12+
/tmp/*
13+
!/log/.keep
14+
!/tmp/.keep
15+
16+
# Ignore pidfiles, but keep the directory.
17+
/tmp/pids/*
18+
!/tmp/pids/
19+
!/tmp/pids/.keep
20+
21+
# Ignore uploaded files in development.
22+
/storage/*
23+
!/storage/.keep
24+
/tmp/storage/*
25+
!/tmp/storage/
26+
!/tmp/storage/.keep
27+
28+
# Ignore master key for decrypting credentials and more.
29+
/config/master.key

.ruby-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.0.3

Gemfile

+57
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
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.3'
7+
gem 'bcrypt', '~> 3.1.7'
8+
gem 'cancancan'
9+
gem 'good_job'
10+
gem 'interactor', '~> 3.0'
11+
gem 'interactor-rails', '~> 2.0'
12+
gem 'jb'
13+
gem 'jwt'
14+
gem 'pagy', '~> 5.10'
15+
gem 'pg', '~> 1.1'
16+
gem 'premailer-rails'
17+
gem 'puma', '~> 5.0'
18+
gem 'rack-cors'
19+
gem 'rails', '~> 7.0.2', '>= 7.0.2.3'
20+
gem 'strong_migrations'
21+
22+
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
23+
gem 'tzinfo-data', platforms: %i[mingw mswin x64_mingw jruby]
24+
25+
# Reduces boot times through caching; required in config/boot.rb
26+
gem 'bootsnap', require: false
27+
28+
# Use Active Storage variants [https://guides.rubyonrails.org/active_storage_overview.html#transforming-images]
29+
# gem "image_processing", "~> 1.2"
30+
31+
group :development, :test do
32+
gem 'bullet', '~> 7.0.1'
33+
gem 'dotenv-rails'
34+
gem 'factory_bot_rails', '~> 6.2.0'
35+
gem 'faker', '~> 2.20.0'
36+
gem 'pry-rails'
37+
end
38+
39+
group :development do
40+
gem 'annotate', '~> 3.2'
41+
gem 'letter_opener', '~> 1.8'
42+
gem 'reek', '~> 6.1.0', require: false
43+
gem 'rubocop-github'
44+
gem 'rubocop-performance', require: false
45+
gem 'rubocop-rails', require: false
46+
end
47+
48+
group :test do
49+
gem 'mocha'
50+
gem 'simplecov', '~> 0.21.2'
51+
gem 'webmock'
52+
end
53+
54+
group :development do
55+
# Speed up commands on slow machines / big apps [https://github.com/rails/spring]
56+
# gem "spring"
57+
end

0 commit comments

Comments
 (0)