An open API service indexing awesome lists of open source software.

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.

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)

## About

A simple Rails app that helps you manage your studies, similar to
[this CLI project](https://github.com/librity/campus_code_study_diary_cli).

## Getting Started

### 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.

## Usage

You will be able to create, read, update and destroy Study Items from the
interface. All data is persisted in an SQLite3 database.

### Routes

- `GET` http://localhost:3000

## Docs

- https://guides.rubyonrails.org/
- https://github.com/puma/puma/

- https://guides.rubyonrails.org/active_record_callbacks.html
- https://guides.rubyonrails.org/form_helpers.html

## Resources

- 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/