Git Product home page Git Product logo

nodos's Introduction

Build status

Nodos

Node.js framework for humans

Requirements

  • Nodejs >= 12

Install

$ npm i -g @nodosjs/cli
$ nodos new MyBlog
$ cd MyBlog
$ npm install
$ nodos server # see http://localhost:3000/
# commands: nodos --help

Development

We use https://lerna.js.org

# Setup
$ git clone <this repo>
$ cd nodos
$ make setup
$ make test

# test single package
$ npx jest packages/nodes-routing

Example project

$ cd nodos/packages/example
$ make test
$ make start

TODO

Сайты

  1. Зафигачить сайт чтобы было красиво https://github.com/nodosjs/nodosjs.github.io. Подсматриваем тут https://adonisjs.com/.
  2. Написать основные гайды в стиле rails guides
  3. Сделать хороший getting started

Документация в коде

Тут еще надо разобраться как сделать. Общая идея состоит в том чтобы подрубить ts-check, описания типов (на typescript) и получить сразу две вещи. Типизацию внутри проекта и доку. Сама дока будет генерироваться documentation.js

Ядро

  • По коду разбросано много FIXME и TODO которые надо фиксить
  • Сделать полный вывод команд db в терминале npx nodos
  • Реализовать поддержку вебсокетов
  • Реализовать нормальную обработку валидации
  • Кастомная обработка ошибок http (404, 500, ...)
  • Подключить dotenv (12 factors)

Вью

  • Реализовать автоматические формы с переводами и генерацией нужной верстки из коробки
  • Добавить флеш-сообщения

package/example

  1. Привести в порядок layout, вывести все ссылки

nodos's People

Contributors

mokevnin avatar lazycoder9 avatar sashashakun avatar dependabot[bot] avatar imamatory avatar dkmeta avatar thepry avatar nikitanaumenko avatar dimonnwc3 avatar fey avatar greybutton avatar solar05 avatar

Watchers

James Cloos 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.