Git Product home page Git Product logo

falcon-api's People

Contributors

nineinchnick avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

falcon-api's Issues

Hyperlinking

When initializing a resource allow to pass a model to route map and use it to add hyperlinks when serializing objects in a collection resource relations in all resources.

Add CI building

The readme could use automatic building and status icons telling people if it actually works correctly.

For open source projects there's a lot of available tools to automatically build and test the project.
The most popular one for open source project is I think Travis CI.

For coverage and overall code quality there two similarly popular alternatives: Code Climate and Coveralls.

After setting the project up with CI you will receive a hyperlink for a badge, that you can easily add to your project that will show if current master's building correctly and it's coverage status/code quality. See for instance Travis CI Embedding Status image.

Write Operations to resources fail but read operations don't?

I cant tell if this is a bug or user error but when testing write operations I get an error.

Error in console when sending POSTs or PUTs to Guncorn server:

File "/usr/lib/python3.8/wsgiref/handlers.py", line 137, in run
    self.result = application(self.environ, self.start_response)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/falcon/api.py", line 231, in __call__
    process_request(req, resp)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/falcon_dbapi/middlewares/json_middleware.py", line 54, in process_request
    body = req.stream.read()
  File "/usr/lib/python3.8/socket.py", line 669, in readinto
    return self._sock.recv_into(b)
  File "/opt/virtualenvs/python3/lib/python3.8/site-packages/gunicorn/workers/base.py", line 201, in handle_abort
    sys.exit(1)

Could this be a runtime incompatibility?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.