Giter VIP home page Giter VIP logo

nthings's Introduction

nThings

nThings is an inventory system for your things: books, blu-rays, toys, you name it. Basically, anything.

Installation

Before running, you need to install all Node.js dependencies by running:

npm install

After all dependencies are installed, you need to create a .env file with the following content:

    MONGODB_HOST = <database host - default is localhost>
    MONGODB_PORT = <database port - default is 27017>
    MONGODB_NAME = <database name - default is nthings>
    MONGODB_USER = <database user - default is unauthenticated access>
    MONGODB_PASS = <database password - default is unauthenticated access>
    SERVER_DOMAIN = <server host - default is localhost>
    SERVER_PORT = <server port - default is 10000>
    SESSION_SECRET = <somesupersecretsessionsecret>
    COOKIE_EXPIRES = <in milliseconds. suggested: 2400000>
    CSRF_TOKEN_COOKIE_EXPIRES = <in milliseconds. suggested: 2400000>
    LOG_LEVEL = <low level. default is warning>
    MAIL_CONFIG = <a JSON option as per nodemailer documentation>

Optional: LOG_FILE = <path for the log file. If not informed, log will be output to the console>

It's also required to create the database on MongoDB, as well as assigning the user with correct roles to manage the database.

nthings's People

Contributors

andrelam avatar

Watchers

 avatar

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.