- 📖 About the Project
- 🔭 Future Features
- 🤝 Contributing
- ⭐️ Show your support
- 🙏 Acknowledgements
- ❓ FAQ (OPTIONAL)
- 📝 License
[Blog App] is based on Ruby Language and Rails framework.
Client
Server
PostGre SQL
- [App for blog, create post, add likes and comments]
- [Blog API is also created. API links are accessible at https://localhost:3000/api-docs/index.html after running server by running
rails s
command in terminal]
In order to run this project you need:
Clone this repository to your desired folder:
cd blog-app
git clone https://github.com/zunairkhan811/blog-app.git
Install this project with:
bundle install
To run the project, execute the following command:
rail s
Run:
rspec spec
Blog API is also created:
User can list all user posts through the below link
http://localhost:3000/api/v1/users/:user_id/user_posts
User can see the list of all comments for a posts through the below link
http://localhost:3000/api/v1/posts/:post_id/post_comments
User can create a comment to a post with the following Url link:
http://localhost:3000/api/v1/posts/:post_id/post_comments
API docs are created and are accessible by following steps:
Run below command in the terminal
rails s
Paste this Link below in the Browser
http://localhost:3000/api-docs/index.html
👤 Muhammad Zunair khan
- GitHub: @zunairkhan811
- Twitter: @zunairkhan811
- LinkedIn: @mzunairkhan
- [Will add more features in the app]
Contributions, issues, and feature requests are welcome!
Feel free to check the repo
If you like my project kindly comment or Follow me on LinkedIn, Twitter & twitter and always Your feedback will be really appreciated. Thanks!
I would like to thank Microverse and my Code Reviewers.
-
[What is Blog App?]
- [In this project, we will creating users, posts, and adding likes and comments in rails framework. Blog API is also created alongwith API docs.]
This project is MIT licensed.