Contentfull Demo - Contentful Content Delivery API Provider Data Preview
Grab the data from Contentful and display that on one page.
Generate creative GitHub profile readmes in few click!
🚀 Getting started
Instructions for local deployment are given below:
- Clone the repository
git clone https://github.com/AjayBarot/ContentfullDemo.git
- Enter the project directory
cd ContentfullDemo
- Install dependencies
$ bundle install
$ yarn install
- Set contentful API credentials(make sure you have
master.key
)
$ rails credentials:edit
- Database setup
$ rake db:setup
- Start local dev server
$ foreman s
* Running on http://localhost:5000/
- Now open a browser and visit http://localhost:5000/.
🧐 Task list
- Load Jquery with webpack
- Play with API and check the response
- Usage of contentful gem
- View data on UI
- Internalization of view part
- Webpack Production Tweaks for heroku
- Deploy the application on heroku
- Documentation of the project
- Add swagger for Open mobile API documentation
- Add Rspec with VCR to test the API and response
- Pagination
- Research on contentful_model
- We have to set webhook for caching mechanims from contentful side
💫 References
- https://github.com/contentful/contentful.rb
- https://medium.com/@nithinmallya4/bidirectional-linking-with-contentful-ba7ced2a34bd
- For Jquery fix = https://medium.com/@adrian_teh/ruby-on-rails-6-with-webpacker-and-bootstrap-step-by-step-guide-41b52ef4081f
- For heroku fix = https://devcenter.heroku.com/articles/getting-started-with-rails6
❤️ Supporting the project
A simple star to this project repo is enough to keep me motivated on this project for days. If you find your self very much excited with this project.
Thanks!
Contributions are welcomed!