This project involves building a blog application using Ruby on Rails with the ability to create & view blog posts, commenting, like functionality. The app use PostgreSQL as its database management system. The goal is to create a user-friendly and responsive web application that allows users to easily create and share their blog posts.
Server
-
Registered users will be able to create new blog posts.
-
Users will be able to view blog posts on the application's home page.
-
Users will be able to delete their own blog posts.
-
Users will be able to comment on blog posts.
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Ruby installed on your machine
- Text editor (VSCode, Sublime, Atom, etc.)
- Install Rails gem
Clone this repository to your desired folder:
cd folder-name
git clone https://github.com/rbhatt1999/blog-app.git
Install this project with:
cd blog-app
Install Dependencies with:
bundle install
create database in your postgre with:
rails db:create
Note: If you have any problem with the database, you can check the database.yml file and change the username and password to your own.
Run migration with:
rails db:migrate
Run Project with:
rails server
Run tests with:
rspec
π€ Rohit Bhatt
- GitHub: @rbhatt1999
- Twitter: @RohitBhatt
- LinkedIn: LinkedIn
- Add Styling to the Project
- Add Authentication page
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, please leave a βοΈ
We would like to thank Microverse for providing the reading materials that aided me during the project development
This project is MIT licensed.