nuxeo-node-example

0.2.2 • Public • Published

nuxeo-node-example

Nuxeo integration portal example, based on Node.js.

Example01

Launch

Edit your own .env file (look at .env.example)

NUXEO_URL=http://localhost:8080/nuxeo/
NUXEO_LOGIN=XXX
NUXEO_PASSWORD=XXX
NUXEO_PUBLIC_URL=http://yourNuxeoPublicUrl:8080/nuxeo/

then launch :

npm start

and look at http://localhost:3000/

edit your freshly created data/home.json config file to customize branding.

Docker

It's possible to include project in a Docker compose, with a container like

#Dockerfile
FROM node:lts-jessie
USER root
RUN npm i nuxeo-node-example -g
CMD nuxeo-node-example
EXPOSE 3000

and a compose like

#docker-compose.yml
version: '3'
services:
  node:
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - "3000:3000"
    environment:
      NUXEO_URL: "http://localhost:8080/nuxeo"
      NUXEO_LOGIN: Administrator
      NUXEO_PASSWORD: xxxx
      NUXEO_PUBLIC_URL: "http://yourNuxeoPublicUrl:8080/nuxeo"
    volumes:
      - ".data:/usr/local/lib/node_modules/nuxeo-node-example/data"   

Features

  • [x] Demonstrate Nuxeo Node.js SDK Features
  • [x] Test your Nuxeo speed efficiency
  • [x] Add a NXQL access
  • [ ] Test import features (Help needed)

Support

Twitter / @mat_cloud

Nuxeo partner ? (In progress)

Project based on https://developer.mozilla.org/en-US/docs/Learn/Server-side/Express_Nodejs/skeleton_website

Readme

Keywords

none

Package Sidebar

Install

npm i nuxeo-node-example

Weekly Downloads

13

Version

0.2.2

License

none

Unpacked Size

24.8 MB

Total Files

1608

Last publish

Collaborators

  • mlefree