https://github.com/librity/cc_study_on_rails
A simple Rails app to help you manage your studies.
https://github.com/librity/cc_study_on_rails
campus-code ruby-on-rails study-notes
Last synced: 12 months ago
JSON representation
A simple Rails app to help you manage your studies.
- Host: GitHub
- URL: https://github.com/librity/cc_study_on_rails
- Owner: librity
- Created: 2021-03-07T04:08:23.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-02-25T12:06:45.000Z (almost 4 years ago)
- Last Synced: 2025-01-08T07:39:46.154Z (about 1 year ago)
- Topics: campus-code, ruby-on-rails, study-notes
- Language: Ruby
- Homepage:
- Size: 118 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Study on Rails
## Table of Contents
- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)
- [Routes](#routes)
- [Docs](#docs)
- [Resources](#resources)
A simple Rails app that helps you manage your studies, similar to
[this CLI project](https://github.com/librity/campus_code_study_diary_cli).
### Prerequisites
- ruby 2.7.1
### Installing
Clone this repo locally and run the setup script:
```
$ git clone https://github.com/librity/campus_code_study_diary
$ cd campus_code_study_diary
$ bin/setup
```
Migrate and seed the database:
```
$ bundle exec rails db:migrate
$ bundle exec rails db:seed
```
If everythig installed correctly, start the development server with:
```
$ bundle exec rails server
```
And open [http://localhost:3000](http://localhost:3000) on your browser.
You will be able to create, read, update and destroy Study Items from the
interface. All data is persisted in an SQLite3 database.
- `GET` http://localhost:3000
- https://guides.rubyonrails.org/
- https://github.com/puma/puma/
- https://guides.rubyonrails.org/active_record_callbacks.html
- https://guides.rubyonrails.org/form_helpers.html
- https://fonts.google.com/specimen/Roboto?preview.text_type=custom
- https://emojipedia.org
- https://favicon.io/emoji-favicons/open-book
- https://stackoverflow.com/questions/9901910/how-to-add-favicon-in-rails-3-2
- https://rubyinrails.com/2020/05/26/rails-first-or-create-vs-find-or-create-by/