The Blog app will be a classic example of a blog website. It is a Microverse project where they required me to create a fully functional website that will show the list of posts and empower readers to interact with them by adding comments and liking posts.
Ruby On Rails
- Add User, Post, Like & Comment
- List all Users, Posts, Likes & Comments
- Sign up
- Log in
- Reset Password
To get a local copy up and running, follow these steps.
In order to run this project you need:
- Mac or PC
- Code Editor (Vs Code)
- Terminal
- Install ruby 3.2.2 on your computer
- Install rails on your computer
- Install postgreSQL on your computer
Clone this repository to your desired folder:
cd your-folder
https://github.com/Lucash2022/Blog_App.git
Install this project with:
- GitHub Actions
- Linters
- Rubocop
- Ruby On Rails
- Run
bundle install
in the terminal from the root folder of the project. - Run
rails db:create
in the terminal from the root folder of the project. - Run
rails db:migrate
in the terminal from the root folder of the project. - Run the app with
rails c
in the terminal from the root folder of the project. - Create a new user
User.create(name: 'Lucas', bio: 'Full stack developer from Namibia', photo: 'https://ca.slack-edge.com/T47CT8XPG-U03PBVD9PAS-26c072588661-512', posts_counter: 0)
- Run the server with
rails s
in the terminal from the root folder of the project.
rspec
👤 Lucas Erkana
- GitHub: @Lucash2022
- Twitter: @Lucas_David_22
- LinkedIn: Lucas Erkana
- Frontend Mentor - @Lucash2022
👤 Saba Ahmad
- GitHub: @SabaAhmad404
- LinkedIn: Saba Ahmad
- Create Users
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
If you like this project, please leave a ⭐️
I would like to thank Microverse for providing the reading materials that aided me during the project development
-
Can I use this code?
- yes, it is open source. Feel free to fork it.
-
Can I contribute to this project?
- Contact me so I can add you as a collaborator. Alternatively you can leave an issue, it will be well appreciated.
This project is MIT licensed.