djones / grape-goliath-example Goto Github PK
View Code? Open in Web Editor NEWA non-blocking REST API example application using Grape and Goliath together with a Postgres database.
A non-blocking REST API example application using Grape and Goliath together with a Postgres database.
Hello,
How to add CORS in rack config ?
I test use a gem https://github.com/cyu/rack-cors but he doesn't work.
Any idea ?
Thanks
This has me rather puzzled. I can't find any references to loading or mentioning config/application.rb. Is this autoloaded by active record?
Does not work in version ruby 2.1.2. It got this error
ruby: symbol lookup error: /home/chris/.rvm/gems/ruby-2.1.2/extensions/x86_64-linux/2.1.0/eventmachine-1.0.0/rubyeventmachine.so: undefined symbol: rb_enable_interrupt
Any ideas?
Thanks @djones for the example on how to use Grape on Goliath.
But I found that this example could not autoload modified files in development mode.
And I tried a simpler approach like this: https://gist.github.com/larryzhao/7913394 , after I modified the api, I could see the Rack::Reloader is trigger to load the file, but the response is still the same. I cloned this repo and tried on it, it's the same.
Is it fixable? Do you have an idea about it?
Thank you very much.
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.