k-sato1995 / blog_backend Goto Github PK
View Code? Open in Web Editor NEWThis is the backend of my blog.
This is the backend of my blog.
Add Issue template
GitHub Api? Probably?
error occurred while loading ./spec/requests/api/v1/posts_controller_spec.rb.
Failure/Error: add_grpup 'API', 'app/controllers/api/'
NoMethodError:
undefined method `add_grpup' for main:Object
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile/fallback_context_proxy.rb:55:in `block in initialize'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile/fallback_context_proxy.rb:84:in `method_missing'
# ./spec/rails_helper.rb:9:in `block in <top (required)>'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile/execution.rb:26:in `instance_exec'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile/execution.rb:26:in `exec_in_proxy_context'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile.rb:43:in `dsl_eval'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:164:in `configure'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/simplecov-0.16.1/lib/simplecov.rb:49:in `start'
# ./spec/rails_helper.rb:6:in `<top (required)>'
# ./spec/requests/api/v1/posts_controller_spec.rb:1:in `require'
# ./spec/requests/api/v1/posts_controller_spec.rb:1:in `<top (required)>'
Linter
Severity Provider Description Line
00config/database.yml0002:22Prettier
LFUTF-8YAML
dev0 files1 update
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/docile-1.3.1/lib/docile.rb:43:in `dsl_eval'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/simplecov-0.16.1/lib/simplecov/configuration.rb:164:in `configure'
# /Users/katsuki/.rvm/gems/ruby-2.4.1/gems/simplecov-0.16.1/lib/simplecov.rb:49:in `start'
# ./spec/rails_helper.rb:6:in `<top (required)>'
# ./spec/requests/api/v1/posts_controller_spec.rb:1:in `require'
# ./spec/requests/api/v1/posts_controller_spec.rb:1:in `<top (required)>'
No examples found.
An error occurred in a `before(:suite)` hook.
Failure/Error: DatabaseCleaner.clean_with(:truncation)
NameError:
uninitialized constant DatabaseCleaner
# ./spec/spec_helper.rb:5:in `block (2 levels) in <top (required)>'
Currently, the info on the SideNav on /
page completely relies on the data from /api/v1/posts
.
I want to get different data from different endpoints. For instance, I wanna get the data about post-categories from '/api/v1/categories`.
By doing this, I can create a sidenav that can be displayed anywhere on the blog. Thus, I can have /about
, /issues
and /projects
pages with cool sidenav.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.