Code Monkey home page Code Monkey logo

Comments (2)

hisabimbola avatar hisabimbola commented on June 4, 2024

Some thoughts regarding the expected behaviours

Check environment variables CT_PROJECT_KEY, CT_CLIENT_ID, CT_CLIENT_SECRET.
For single project usage, nice to have so no project name needs to be passed.

I think the reason we moved away from this is because of the risk of using a production project or another project not intented (@PhilippSpo almost fell for this). Less risky if you pass the key you want to use for test when developing

In general, I think we just need something more like what's currently in sphere-node-utils

from nodejs.

Siilwyn avatar Siilwyn commented on June 4, 2024

@hisabimbola I would be okay with cutting away option two, for more simplicity. I think the point of 'risk' is not a good reason to do so though. Setting these environment variables are the user's own choice, if you work with both development and productions projects you simply do not use them. On the other hand it provides a simpler interface for those with only one project.

Regarding the utils, this is very close to what we have there unless you mean something specifically that's missing? Overall I'd prefer to keep it simpler than the utils.

from nodejs.

Related Issues (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.