node_news_cms
v1.0.4
Published
cms for news service
Downloads
9
Readme
node_news_cms
For pdf
Need install wkhtmltopdf tool. Detail documentation install.
Drive mysql, pgsql
I am use sequelizejs ORM.
Drive mongo
I am use mongoose ODM.
There is a possibility to start with PM2
NPM commands
npm run pm-star
npm run pm-stop
npm run pm-reload
Employee application
Use Single Page Application engine VUE.js.
Use Material Design.
Use JWT.
Use HTML5
Use Sass
Use Webpack
Use NodeJS
Request is encrypted using a public token.
App have english and russian interface.
View login form
View after authorization
Client application
Use little Bootstap.
Use JWT.
Use HTML5
Use Sass
Use Webpack
Use NodeJS
Request is encrypted using a public token.
App have english and russian interface.
Not use jquery.
View page
Project folders and files.
Description of project folders and files
CONSOLE CLI
- Apply migrations.
node ./cli/apply-migrate.js
| Param | Descriptions | | --- | --- | | -t | Apply test migration |
- Generate controller.
node ./cli/gene-controller.js -n=app
| Param | Descriptions | | --- | --- | | -n | Required. Name controller | | -a | Create controller for employee application. Without this parameter create for clients. | | -nv | Create controller without view folder. Use for client controller. |
- Generate migrations.
node ./cli/gene-migrate.js -n=test
| Param | Descriptions | | --- | --- | | -n | Required. Name migration |
- Generate model.
node ./cli/gene-model.js -n=test
| Param | Descriptions | | --- | --- | | -n | Required. Name models |
- Generate vue crud.
node ./console_util/gene-vcrud.js -n=employees
| Param | Descriptions | | --- | --- | | -n | Required. Name vue base components, store, etc.. |
- Refresh structure database. (Use only with mysql, pgsql)
node ./console_util/refresh-db-sctruct.js
| Param | Descriptions | | --- | --- | | -t | Use test connection |
- Create docker images.
node ./cli/docker/ -c=image:create
- Create docker container.
node ./cli/docker/ -c=vm:create
License
MIT License
Copyright (c) 2018 Igor Stcherbina
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.