0.2.2 • Published 5 years ago

nuxeo-node-example v0.2.2

Weekly downloads
52
License
-
Repository
-
Last release
5 years ago

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

  • Demonstrate Nuxeo Node.js SDK Features
  • Test your Nuxeo speed efficiency
  • 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

0.2.2

5 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago

0.0.0

5 years ago