maiden

1.0.3 • Public • Published

Folder Structure

  • Modules
  • Models / Schemas
  • Config
  • Vendor / NPM_MODULES
  • index.html
  • composer.json / package.json
  • etc....

dependencies? react, angular, marionette? db -> mongo, firebase

node & express as the core

Anatomy of an API call

  • Route - name
  • Inout/Request - GET/POST/PUT/DELETE/PATCH etc... + Query strings ?query=input
  • validation / sanitization
  • business logic / inserting into the db
  • event triggers (pub sub model)
  • output response - transformers?

Order of Action in Backend

route name request / query strings in url validation sanitization business logic / insert into db event handler output -> success and/or error messages

how to create a command line interface (cli) install nodejs on computer npm install -g maiden maiden new project

on github ill need 3 repos in 1 organization

1 for actual framework

-> folder structure -> package.json dependencies

1 for maiden - cli

maiden new maiden serve maiden make: -> generating the files, folders, modules etc.... maiden deploy maiden config help

1 for maiden docs

optimist, request

Readme

Keywords

none

Package Sidebar

Install

npm i maiden

Weekly Downloads

0

Version

1.0.3

License

MIT

Last publish

Collaborators

  • yichenzhu