Coder Social home page Coder Social logo

mcanthony / chaos-lib-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from chaoscollective/chaos-lib-server

1.0 2.0 0.0 572 KB

The Chaos Collective's rapid development library for NodeJS servers.

Home Page: http://chaoscollective.org

JavaScript 100.00%

chaos-lib-server's Introduction

The Chaos Collective: NodeJS Library

ChaosLibClient

Rapid Prototyping library for NodeJS (on the server).

KERNEL

kernel_db

The kernel_db module provides simple access to a core set of database operations on the server including management of data for:

  • Sessions: Persistant session management via express/cookies.
  • Projects: A list of proposed, ongoing, and archived projects and ideas.
  • Users: Lightweight user managament for keeping track of who's who.

kernel_sessions

The kernel_sessions module hooks into the kernel_db and takes care of session management.

kernel_app

The kernel_app module adds basic functionality useful across all apps.

  • getClientIP(req): Try to get the IP address by accessing header information in the user request object.
  • getClientIpBase36(req): Get the IP address, then convert it to Base36 (nice and compact for storing/printing) user info.

UTILS

log

HTML logging by level of importance.

  • log1(msg): low importance
  • log7(msg): high importance
  • log8(msg): very high (warning level)
  • log9(msg): ultra high (error level)

chaos-lib-server's People

Contributors

chaoscollective avatar

Stargazers

Michael Anthony avatar

Watchers

Michael Anthony avatar  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.