GithubHelp home page GithubHelp logo

apiworks's People

Contributors

haseebnqureshi avatar

Watchers

 avatar  avatar  avatar

apiworks's Issues

Consider using json instead of folder directory for routes

This was a good experiment, but it feels like it's too hard to keep track of the directory.

Instead, let's maybe do a map.json in our routes directory, and it maps all our middlewares and routes to particular functions that are found inside routes.

So you'd have map.json, which would reference multiple methods, all found within the directory routes.

npm run schema works, but presents an error

An error with DI design pattern:

TypeError: log is not a function
    at Query.callback (/Users/haseebqureshi/NotSafe/RealPhotoNew/db/postgres/schema.js:59:4)
    at Query.handleReadyForQuery (/Users/haseebqureshi/NotSafe/RealPhotoNew/node_modules/pg/lib/query.js:124:10)
    at Connection.<anonymous> (/Users/haseebqureshi/NotSafe/RealPhotoNew/node_modules/pg/lib/client.js:172:19)
    at emitOne (events.js:101:20)
    at Connection.emit (events.js:188:7)
    at Socket.<anonymous> (/Users/haseebqureshi/NotSafe/RealPhotoNew/node_modules/pg/lib/connection.js:136:12)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)
    at readableAddChunk (_stream_readable.js:176:18)
    at Socket.Readable.push (_stream_readable.js:134:10)
    at TCP.onread (net.js:551:20)

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.