"Blog App" is a website built with Ruby on Rails and PostgreSQL that allows users to create and publish posts, write comments, and like posts.
Backend
Frontend
- Ruby on Rails framework
-
Use Linters to check code quality
- Rubocop
- Stylelint
- MVC architectural/design pattern
- Data persistent in PostgreSQL
- Test the application with rspec
- Follow Microverse's list of best practices
To get a local copy up and running, follow these steps.
In order to run this project you need:
A code editor (we recommend Visual Studio Code)
Git and a GitHub account
Clone this repository to your desired folder by using this 👇️ command :
git clone https://github.com/Kidd254/BlogApp.git
Go to the project directory:
cd blog-app
Before to run the program, verify that you have Ruby on Rails installed on your OS running the following command:
rails --version
It should show you the version of ruby on rails installed. If this does not happen and only an error message is displayed, then you should either verify your installation or install Ruby on Rails from scratch.
Download and Install Ruby on Rails
Run the following command inside the project folder to start the application:
rails s
This will start the application on your local server. You can now open your browser and go to http://localhost:3000/ to see the application running.
To execute the tests, run the following command inside the project folder:
rspec
👤 Lawrence Muema Kioko
Upcoming improvements:
- Creating a data model
- Processing data in models
- Validations and model specs
- Controllers
- Views
- Forms
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project and know someone who might find it helpful, please share it. Or give it a star ⭐️ if you like this project!
I thank Microverse for this fantastic opportunity, and the code reviewers for their advice and time.
This project is MIT licensed.