Sign inSign up

nodefony/docker-nodefony

By nodefony

•Updated almost 3 years ago
Archived

⚠️ Nodefony 7 — frozen. For Nodefony 10: docker pull nodefony/nodefony>

Image
1

573

nodefony/docker-nodefony repository overview

⁠docker-nodefony

dockeri.co

Docker Image for nodefony

⁠What is nodefony?

Nodefony is Node.js full-stack web framework.

Nodefony can be used to develop a complete solution to create a Fullstack Web Application, Secure Api, or Microservices.

⁠Nodefony features :

  • Servers (http(s)⁠, websocket(s)⁠, statics, sockjs)
  • HTTP2⁠ ready node module provides an implementation of the HTTP/2 (push server ready).
  • Dynamics routing
  • ORM Sequelize⁠
  • ORM mongoose⁠
  • Simple Databases Services connections (Redis, Mongo, Elasticsearch, mysql, sqlite ...).
  • MVC Templating Server Side (Twig⁠)
  • Notion of real-time context in Action Controller (websocket).
  • Notion of synchronous or asynchronous execution in Action Controller (Promise, Async, Await).
  • Services Containers, Dependency Injection (Design Patterns)
  • Sessions Manager (ORM, Memcached)
  • Authentication Manager (Digest, Basic, oAuth, Local, ldap, jwt, openid, passportjs)
  • WAF ( Web application firewall )
  • Cross-Origin Resource Sharing (CORS⁠)
  • Production Management (PM2⁠)
  • RealTime API (Bayeux Protocol⁠)
  • Webpack Assets management (Like WDS with HMR hot module Replacement)
  • C++ Addons (Binding in Bundle)
  • Translations
  • CLI (Command Line Interface)
  • Monitororing , Debug Bar
  • Unit Test Api in framework context (MOCHA⁠)

Nodefony assimilates into the ecosystem of node.js with services like :

  • WEBPACK⁠ Module bundler for assets management of application .
  • SockJS⁠ Server ( Like WDS 'Webpack Dev Server' and HMR management )
  • WATCHER⁠ node.js for auto reload-files in developement mode .
  • PM2⁠ Production Process Manager for Node.js .
  • Passport⁠ Simple, unobtrusive authentication for Node.js .
  • Angular⁠ Experimental Bundle Generator ( Angular cli no longer allows the ejection of a webpack config)

Nodefony 7 adds the following features :

  • React⁠ Experimental Bundle Generator ( Now an React Project can be merge into a Nodefony Bundle )
  • Vue.js⁠ Experimental Bundle Generator ( Now an Vue.js Project can be merge into a Nodefony Bundle )
  • Api swagger-ui⁠ ( Documentation Api with swagger and openapi AOS3)
  • Api graphql⁠ ( Documentation Api with graphiql)

Evolution priorities for the next version will focus on robustness, unit testing, documentation and security.

You can follow Nodefony build with github actions at https://github.com/nodefony/nodefony/actions⁠

⁠Nodefony implement modules with CommonJS and ECMAScript 6 ( Class, Inheritance ).

The development framework will not be ported to typescript, but will wait for the version with type syntax in Emacsript

proposal-type-annotations⁠

⁠How to use image nodefony Docker ?

docker pull nodefony/docker-nodefony

⁠ENV (environment variables)

  • NODEFONY_ENVIRONMENT=prod
  • NODEFONY_DEBUG=false
⁠exposing ports

docker run --rm -it -p 5152:5152 -p 5151:5151 -p 1318:1318 --name=nodefony nodefony/docker-nodefony

⁠developement

docker run --rm -it -p 5152:5152 -p 5151:5151 -p 1318:1318 -e "NODEFONY_ENVIRONMENT=dev" -e "NODEFONY_DEBUG=true" --name=nodefony nodefony/docker-nodefony

Then you can hit http://localhost:5151⁠ or https://localhost:5152⁠ in your browser.

⁠exposing ports ( macosx )

https://docs.docker.com/docker-for-mac/networking⁠

Tag summary

Content type

Image

Digest

sha256:2720609ee…

Size

850.6 MB

Last updated

almost 3 years ago

docker pull nodefony/docker-nodefony