Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. node.js api wrapper?

node.js api wrapper?

Added by Алексей Баранов almost 5 years ago

Hi there everybody!

Is there OpenProject Node.js lib which abstracts work with API? If not, we can start this work and put it on github as opensource if OpenProject team with it. We would like to know OpenProject team's wishes about architecture and API scope of this lib. We also want to know is this forum a good place to discuss this.


Replies (5)

RE: node.js api wrapper? - Added by Johan Bouduin almost 5 years ago

Hi,

I have started an Electron project (so node) for my own convenience and as a playground for Electron. So nothing which is ready for deployment (it will probably never be) and not much documented.

Nevertheless, feel free to have a look https://github.com/jbouduin/openproject.electron and reuse whatever seems re-usable. 

Oh, and please let me know if you have something on github. 

have fun...

Johan

RE: node.js api wrapper? - Added by Алексей Баранов almost 5 years ago

Hi Johan!

I looked at the project with interest. Unfortunately, I don't know if we can apply it in our work. The problem is, it's overly comprehensive.

It would be great if you separate the call to the REST API from the project into a separate library. Such a library don't contain bindings to DI library, presentation layer, authorization, and so on.

If you could separate the entities and API call to such a library, then other commands could reuse it in their work. Please let us know if we can hope so.

BTW we have started development of such library. But we would prefer your one if you will separate it from the electron-project. By now we could't share it. We need some time to resolve security restrictions before we can push something to github. You may know that bank's security layer is very heavy. I will inform you about our library when we get permissions  and push it to github.

Alexey

RE: node.js api wrapper? - Added by Johan Bouduin almost 5 years ago

Hi Alexey,

I know it is not what you want to hear, but I have no intention at all to rewrite/restructure anything. This project is and will remain just a playground, implemented quick and dirty, no tests at all, ... 

good luck

Johan

RE: node.js api wrapper? - Added by Алексей Баранов almost 5 years ago

Yeah, bad news. I was hoping we can reuse your library. It seems well
written.

Let me know if you change your decision.

Good luck.

чт, 20 авг. 2020 г., 19:32 :

RE: node.js api wrapper? - Added by Алексей Баранов over 4 years ago

Hello, Johan!

 Here is our self-developed TypeScript library for Node.js/Browser environment. Our team developed it for internal bank project. We decided to share it over public github repo. 

Please take a time to watch it. Thanks.

https://www.npmjs.com/package/op-client

  • (1 - 5/5)
Loading...