The Blog app is a classic example of a blog website designed by ruby on rails with a database by PostgreSQL. I have created a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
The Blog_App code decoding project utilizes the Ruby on Rails programming language, celebrated for its graceful syntax and adaptability. The choice of RoR as the foundation for this endeavor stems from its user-friendly nature and robust string manipulation capabilities.
The construction of this project relies on Ruby on Rails, an open-source and dynamic programming language recognized for its simplicity and efficiency. The attractiveness of Ruby stems from its refined syntax and robust features, making it a favored option among developers.
- Rails Setup
- Data Model Setup
- Models Created
- Class Association Implemented
- Custom Methods Implemented to Fetch and Manipulate Data
- Models Data Validation Implemented
- Models Unit Testing Applied
- Controllers Implemented
- Routes applied for multiple controllers
- View frameworks and templates created
- Controller tests for users implemented
- Controller tests for posts implemented
- Dynamic views for users implemented
- Dynamic views for posts implemented
- Form Created to add posts
- Form Created to add comments to posts
- Liking posts implemented using a button
- Integration Specs On Views Implemented
- Devise users sign_up and sign_in Implemented
- Users authorization is applied using cancancan gem
To get started with the Catalog of My Things app, follow the instructions below:
-
Clone the project repository: bash
git clone https://github.com/demesameneshoa/blog-app.git
-
Navigate to the project folder: bash
cd blog-app
To run the Catalog of My Things app, you'll need the following prerequisites:
- An integrated development environment (IDE) like Visual Studio Code.
- Ruby installed on your machine.
- A GitHub account for version control.
Follow these steps to use the program:
-
Open your terminal.
-
Navigate to the directory where the program files are located using the
cd
command:bash
cd /path/to/your/program/files
-
Start your Ruby on Rails server
bash
rails s
-
cess the Blog app in your web browser at
http://localhost:3000
. -
You can now interact with the app, create posts, add comments, and explore its features.
-
Run your Ruby on Rails Tests
bash
rspec spec/models/
This project was developed by:
👤 Demes Ameneshoa
- GitHub: @demesameneshoa
- LinkedIn: @demesameneshoa
👤 Arthur Emanuel G. Iturres
- Add API endpoints.
- API documentation.
Contributions, issues, and feature requests are welcome! Feel free to check the issues page and contribute to the project.
If you find this project helpful, consider giving it a ⭐️ to show your support!
This project is licensed under the MIT License - you can click here to have more details MIT.