nodejs

Dependency Managers - Package managers

Websockets

REST API frameworks

Expressjs

Testing

Static page generators

Music players

Process managers

E-Commerce

  • cezerin - React and Node.js based e-commerce platform.

Demos

  • trellis: Trello clone / sample app for Automerge Persistance Library

Flux programming

  • nact - Redux for backend

Build systems

  • gulp: Streaming buils system.

Debugging nodejs in production

Support for ES2015

Snippets

Show unhandled erros

1
2
3
4
process.on('unhandledRejection', (reason, p) => {
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
// application specific logging, throwing an error, or other logic here
});

Standard nodejs Dockerfile

1
2
3
4
5
6
7
8
9
10
11
12
13
FROM node

MAINTAINER Genar <genar@acs.li>

COPY . /app

WORKDIR /app

RUN yarn install --only=production

ENV NODE_ENV production

ENTRYPOINT ["/app/entrypoint.sh"]
⬆︎TOP