Blog is a personal blog app which supports posts, comments, and likes. Built with Rails.
- Create posts.
- List all the posts.
- Add comments and likes to a post.
- See all comments and likes in a post.
To run this project you need the following dependencies:
- Ruby:
3.1.3+
- Rails:
7.0.4.3+
- PostgreSQL:
15.2+
- Clone this repository to your local machine:
git clone git@github.com:shasherazi/blog.git
cd blog
- Install dependencies:
bundle install
-
Create environment variables
POSTGRESQL_USER
andPOSTGRESQL_PASSWORD
or editconfig/database.yml
with your database connection info. -
Recreate Data Base:
rake db:schema:load
To run the project, execute the following command in the terminal:
cd blog
rails s
👤 Syed Hassan Askri
- GitHub: shasherazi
- Twitter: shasherazi
- LinkedIn: shasherazi
- Add validations to the model.
- Create controllers.
- Create a web interface.
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
I would like to thank the Microverse community for their support and guidance.
This project is MIT licensed.