We 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
- git clone the project
git clone https://github.com/jaflih/blog_app.git
cd blog_app
bundle install
rails db:migrate
rails db:seed
- To run the app
rails s
Visit http://localhost:3000/ in your browser.
- To run the tests
rspec spec/models
rspec spec/views
POST localhost:3000/api/authentication/create
post parameters :
- email
- password
GET localhost:3000/api/users/:id_user/posts
GET localhost:3000/api/posts/:id_post/comments
POST localhost:3000/api/posts/:id/comments/create
post parameters:
- token
- text
👤 Jaflih
- GitHub: @githubhandle
- LinkedIn: LinkedIn
Edward Yara 🧑🎓
- GitHub: @oluyaratosin123
- Twitter: @TOluyara
- LinkedIn: LinkedIn
Contributions, issues, and feature requests are welcome!
Feel free to check the issues page.
Give a ⭐️ if you like this project!
- Hat tip to anyone whose code was used
- Inspiration
- etc
This project is MIT licensed.