https://github.com/melardev/railsapiblog
Rails API Blog application (Likes, Follower/Following, Comments, Jwt, etc)
https://github.com/melardev/railsapiblog
activerecord api blog cms orm orm-framework rails rest-api ruby ruby-on-rails
Last synced: about 2 months ago
JSON representation
Rails API Blog application (Likes, Follower/Following, Comments, Jwt, etc)
- Host: GitHub
- URL: https://github.com/melardev/railsapiblog
- Owner: melardev
- Created: 2019-02-19T15:55:14.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-02-19T15:55:21.000Z (over 7 years ago)
- Last Synced: 2025-08-08T20:53:18.255Z (11 months ago)
- Topics: activerecord, api, blog, cms, orm, orm-framework, rails, rest-api, ruby, ruby-on-rails
- Language: Ruby
- Homepage: http://melardev.com
- Size: 48.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Introduction
Rails Blog api application, not finished
# Getting started
1. Git clone
2. rails db:drop db:create db:migrate
# Features implemented
- Seeding with faker all models
- Some controllers are implemented: Like, Following/Followers, Articles, Comments
# TODO
- Check if likes models work
- Create a method in app_controller that generates success and error responses
- Improve the sql queries, at this point in time, it is horrible, everything is lazy loaded and for a /articles/slug it triggers 5+ selects ...
- Decide if slug should be not modifiable by requests
- Relations models
- Deny subscribing to users other than authors
- Review UserValidator
- Seed:seedLikes get users that have not liked an article