Giter Club home page Giter Club logo

Comments (3)

kunzimariano avatar kunzimariano commented on August 12, 2024

Some thoughts so far:

  • We could start to structure the api a little better, we don't have resources right now we are doing .../api/someAction
  • What about using grunt and jshint? Not sure how strict it is.
  • Do we need to start thinking about api paging?
  • We should split what is inside helpers into proper modules.

from commitstream.web.

JogoShugh avatar JogoShugh commented on August 12, 2024

Good thoughts. I think we should use jslint for sure. As for grunt, how does it compare with gulp? I don't know much about either.

Regarding API, I'm still interested in the Swagger approach and plan to read through the articles in this magazine:
http://www.infoq.com/minibooks/emag-API

You bring up a great point about resources too. It's definitely something to be careful with.

from commitstream.web.

JogoShugh avatar JogoShugh commented on August 12, 2024

Here's how to integrate swagger onto Node.js:
https://github.com/wordnik/swagger-node-express

Looks very powerful. I like being able to easily add pipeline interceptions for validations, and I like the declaration of the contract right there in the code which gets turned into live executable documentation.

Here is a project that supports .net WebApi: https://github.com/domaindrivendev/Swashbuckle

from commitstream.web.

Related Issues (12)

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.