Skip to content

waw module with Sockets, Express and Mongodb tech stack

License

Notifications You must be signed in to change notification settings

WebArtWork/waw-sem

Repository files navigation

SEM

Socket.io, Express.js and Mongodb combo which let you work smoothly on the client side with documents. This module contain CRUD management which connect with wacom, wrcom and wvcom.

Runners

Generate new module

waw add MODULE_NAME REPO_LINK BRANCH
waw add

waw Script

This function accept configuration for ['create', 'get', 'fetch', 'update', 'unique', 'delete'] for the selected module.

waw.crud(module, config)

Variable which contain url for mongodb connection

waw.mongoUrl

Variable which has the storage where sessions will be kept

waw.store

Function which generate router by selected prefix

waw.router(api)

Object application from express, which allow you create custom express routes

waw.app

Function which accept middlewares for express management in the same way with app.use, just make sure it's callback before all other routes

waw.use(callback)

Initialization of waw middleware

waw.set_middleware(which, callback)

waw middleware use to parse express data or server side render

waw.middleware(which, req, res, next)

Express middleware which execute direct access to next function

waw.next

Express middleware which ensure that req.user exists.

waw.ensure

Contributing

Thanks for your interest in contributing! Read up on our guidelines for contributing and then look through our issues with a help wanted label.

About

waw module with Sockets, Express and Mongodb tech stack

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •