Wondering what’s next for npm?Check out our public roadmap! »

    learn-memory

    0.5.0-1 • Public • Published

    Learn-Memory

    A Node.js software to learn your lesson. This software is avalaible in English and French.

    Build Status NPM version

    You have to install mongodb to use new versions of Learn Memory.
    If you want to use Learn Memory without mongodb, you have to do npm install learn-memory@0.4.0 -g

    CLI

    $ npm install learn-memory -g
    $ learn

    Server

    $ git clone --depth=1 https://github.com/cedced19/learn-memory
    cd ./learn-memory
    $ npm install --production
    $ npm start --production

    Options

    --production               launch in production mode
    
    --port [number]            specified the port
    

    APIs

    • lessons: /api/ (⇒ you can specify if you want 'attachments', 'createdAt', and 'content' field)
    • version: /api/version (to get current version and npm version)
    • registrants: /api/registrants (to validate new users)
    • users: /api/users
    • attachments: /api/attachments

    Other software to use with

    Access to server

    There are two solutions to get lessons on this application:

    • redirect port 7772 on your server and get your global ip
    • be on the same wifi as your server and get its local ip

    Import a lesson save in database

    $ mongoimport --db sails --collection lessons --file save.json --jsonArray
    

    Developers

    There are two npm commands with which you can compile javascript:

    • npm run dev: reload page on change and build bundle
    • npm run prod: build and uglify bundle

    Install

    npm i learn-memory

    DownloadsWeekly Downloads

    2

    Version

    0.5.0-1

    License

    none

    Last publish

    Collaborators

    • avatar