- π About the Project
- π Built With
- π» Getting Started
- π₯ Authors
- π Future Features
- π€ Contributing
- βοΈ Show your support
- π Acknowledgements
- π License
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.
Programming Language
- Ruby 3.2.2
Web Application Framework
- Rails 7.1.2
Database
- PostgreSQL (pg gem)
Web Server
- Puma
JavaScript Modules
- ESM Import Maps (importmap-rails gem)
Hotwire
- Turbo (turbo-rails gem)
- Stimulus (stimulus-rails gem)
APIs
- Jbuilder
Performance Optimization
- Bootsnap
Testing
- Debug
- Capybara
- Selenium Webdriver
- RSpec (rspec-rails gem)
Code Quality
- Rubocop
Development Tools
- Web Console
- 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
To get started with the project, follow the steps below.
To run this project, ensure you have the following installed:
Clone the repository to your local machine:
git clone https://github.com/fmanimashaun/myblog.git
cd myblog
bundle install
This application uses PostgreSQL as the database. Here are the steps to set it up:
-
Ensure PostgreSQL is installed on your machine and running.
-
Update the config/database.yml file with your PostgreSQL username and password in the default section.
-
Create the database:
rails db:create
- Run migrations to set up the database schema:
rails db:migrate
To run the program, you can use a Ruby interpreter. For example, to interact with the code, use the following:
- Start the server
rails s
- Access the Blog app in your web browser at
http://localhost:3000
.
π€ Fisayo Michael Animashaun
- GitHub: @fmanimashaun
- Twitter: @fmanimashaun
- LinkedIn: Fisayo Michael Animashaun
π€ Mahram Hossain
π€ Daniel Villalba L
- implement database
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project leave a start for it.
I'd like to thank Microverse for helping us in the journey to become a Fullstack developer.
This project is MIT licensed.