jtonynet / ruby-blog

๐Ÿ” CLOSED This project is purely didactic aims to follow the recommended `Getting Started with Rails framework`

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Ruby Blog Study

Image of a giant red ruby โ€‹โ€‹symbol of the ruby โ€‹โ€‹programming language, among a mine cart moving at good speed on a rail. flat colors, white background, cartoon style comic book

ruby logo rubygems logo rubyonrails logo html 5 logo css 3 logo javascript logo SQlite Ubunto VsCode Logo

Badge Status

*This study is concluded; its objective as a first contact with the framework has been achieved.


๐Ÿ•ธ๏ธ Found me in Web

linkedin dev.to gmail Twitter instagram


๐Ÿ“ The Project

โคด๏ธ index

Ruby Blog:

  1. โคด๏ธ Index
  2. ๐Ÿ“— About
  3. ๐Ÿ’ป Run the Project
  4. ๐Ÿ“Š Diagrams
  5. ๐Ÿค– Use of AI


๐Ÿ“— About

๐Ÿ“‹ Ruby On Rails Blog

This project of a Blog is purely didactic and aims to follow the recommendations of Getting Started with Rails so that I can familiarize myself with the 'Ruby Way'. Focused on enlightening me about this language and framework so that I can apply my development experience to yet another stack of technologies needed for my development.

I don't intend to delve too deeply into this repository beyond basic initial contact and some testing. In the near future I intend to create other repositories with studies based on documentation, courses, tutorials and more advanced books about the language and the framework.

๐Ÿ“ท Screenshots





๐Ÿ“š Another References

I also used the following videos in PT-BR as a source, they are quite basic but enlightening:


โคด๏ธ Back to Index


๐Ÿ’ป Run the Project

We are running the application locally without containerization as seen in about section


  • Ruby on Rails Version:
    • rubyonrails logo 7.1.3



ubuntu logo Ubuntu 22.04.4 LTS operating system. If this is the first time you are running the project, with all the necessary dependencies installed, at the project root, enter the following commands:" :

$ bundle install
$ bin/rails db:create
$ bin/rails db:migrate
$ bin/rails server

If you have already installed the bundle and migrated the database, only one command will be necessary:

$ bin/rails server

If the commands have run successfully, your application will be running at the address http://localhost:3000/articles


โคด๏ธ Back to Index


๐Ÿ“Š Diagrams

graph LR;

  subgraph Client
    USER(["๐Ÿ‘ฉโ€๐Ÿ’ป User"])
  end

  subgraph Backend
    subgraph Ruby On Rails API
        A[๐ŸŒ Routes] -->|Request| B[โš™๏ธ Controller]
        B -->|Data manipulation| C[๐Ÿ“„ Model]
        C -->|Data| B
        B -->|Request Render| D[๐Ÿ–ผ๏ธ View]
        D -->|Render| B
      end

      subgraph DataBase
        DB[("๐Ÿ—„๏ธ SQLite")]
      end 

      USER -->|http Request| A
      C --> DB
  end
Loading

*Overall low-fidelity MVC model diagram


โคด๏ธ Back to Index


๐Ÿค– Use of AI

The header figures on this page were created with the help of artificial intelligence and a minimum of retouching and construction in Gimp Gimp Logo

The following prompts were used for creation in Bing IA:

Ruby Cartoon "A giant red ruby โ€‹โ€‹symbol of the ruby โ€‹โ€‹programming language, among a mine cart moving at good speed on a rail. flat colors, white background, cartoon style comic book"(sic)

AI also helped in some research in this study by being used as a support tool; however, arts and development are, above all, human creative activities. Value people!

Hire artists for commercial or more elaborate projects and Learn Ingenuity!


โคด๏ธ Back to Index

About

๐Ÿ” CLOSED This project is purely didactic aims to follow the recommended `Getting Started with Rails framework`


Languages

Language:Ruby 70.3%Language:HTML 19.7%Language:Dockerfile 4.6%Language:JavaScript 3.1%Language:CSS 1.8%Language:Shell 0.5%