Sweet Life, or Building a Web Application Without Writing Code

Sweet Life, or Building a Web Application Without Writing Code





Let's create a simple social network for guests to communicate at a virtual party. Registered users will be able to make friends, propose toasts, discuss and share them with other members. In the classic MVC architecture, this is done by writing appropriate models, controllers, and views. But let's try to do without the code.



Evado, -. — Node.js MongoDB. — Visual Studio Code. , .



/party ( ) .



npm install


config. , NODE_ENV. config/default.



( localhost:27017 ). i18n. , . :



NODE_ENV=development node console/install


( Visual Studio — Start app):



NODE_ENV=development node console/start


development http://localhost:3000. Adam , .



Email a@a.a
 123465




Evado , . - AdminLTE.





"" , ( ) . JSON metadata/app.



"" . .



"" , .





. "" "". . "".



. "" "" "". , "". , . "".



. , , . , . "". "" :





, , . . "" "" "" "". , , , .



, . , , , . .

" " "_createdAt" " ". , .



.

. . , . "", . " " " ". "_state" "".



Evado . .

"" :



  • ( )


"" :





    • " " " "
    • " "


    • " " " "
    • " "


. , , .





, ""? , .



, "" "" "". , "" "" "".



-… , . , :



  • -, , " "

    , ;
  • -, ( ), .


- . , "":



{"Class":"component/meta/relation/FriendMembers"}




, . () "". , , metadata/app. "".





console/default params



enableSignUp: true


"". "" .



: auth.register
:     


.



 : memberInstantiation
:   ""
: {
    Class: 'evado/component/handler/MetaClassInstantiation',
    className: 'member'    
}




. Evado .



. , , . , . , . , , , , .



- ( ), console/security.

"" " — ". :



  • ( )
  • ( )
  • ( )


. "" , .



( ).

:



  • ,
  • ,
  • ,
  • ,


-. , , , "" "" . .



{"Class":"component/meta/rbac/rule/ToastRule"}




, "" . , . , -. , , . "" — ?



P.S.



. .



. :



Email: b@b.b
Password: 123456 



All Articles