*This study is concluded; its objective as a first contact with the framework has been achieved.
โคด๏ธ Index- ๐ About
- ๐ป Run the Project
- ๐ Diagrams
- ๐ค Use of AI
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.
I also used the following videos in PT-BR as a source, they are quite basic but enlightening:
- Ruby on Rails 7 - Construindo uma aplicacฬงaฬo passo a passo
Introduรงรฃo a testes com Ruby e RSpec
We are running the application locally without containerization as seen in about section
- Ruby Version:
- Database:
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
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
*Overall low-fidelity MVC model diagram
The header figures on this page were created with the help of artificial intelligence and a minimum of retouching and construction in Gimp
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!