https://github.com/o-ga09/ruby-backend-api
初めてRubyをさわながらAPIを作る
https://github.com/o-ga09/ruby-backend-api
api backend rails ruby
Last synced: 2 months ago
JSON representation
初めてRubyをさわながらAPIを作る
- Host: GitHub
- URL: https://github.com/o-ga09/ruby-backend-api
- Owner: o-ga09
- License: mit
- Created: 2024-05-25T01:12:42.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-11-12T23:34:54.000Z (over 1 year ago)
- Last Synced: 2025-04-06T13:19:06.582Z (about 1 year ago)
- Topics: api, backend, rails, ruby
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ruby-backend-api
初めてRubyをさわながらAPIを作る
## 🎉環境構築
## ✅ 前提条件
```bsh
$ ruby --version
ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]
$ rails --version
Rails 7.1.3.3
```
```bash
$ gem install rail
$ rails new [アプリの名前]
# 以下が出力されれば成功
# Bundle complete! 14 Gemfile dependencies, 82 gems now installed.
# Use `bundle info [gemname]` to see where a bundled gem is installed.
```
## データベースの設定
```yaml:config/database.yml
```