Source of personal website arknodejs.com, including 3 project templates (2 original), server configuration and scripts
个人网站源码 arknodejs.com,包括3个项目模板,简历模板复用,服务端nginx设置和makefile部署脚本
/api
: CMS Backend, koa2-mongodb-restful with full swagger-ui documentation, partial mocha-chai test/app
: CMS Frontend, using Vue SSR template, readme/admin
: CMS admin portal, using Vue SPA template/profile
: Non CMS, using Vue SPA template, personal profile template. Create Json file of your profile and apply to all templates./conf
: nginx server configuration, makefile backup for Mac and Ubuntu
- Fork the project and clone to your server / local
- Run
make all
- make: This project uses make to setup dependencies
- Mongodb requires an empty folder under root:
/data/db
- nodemon for hot reload API server
npm i nodemon -g
- PM2 for production process managment
npm i pm2 -g
- Create
prod.js
under/api/conf/
to setup configuration in proudction.
- Run MongoDb:
mongod
in terminal - Start api:
npm run dev
in/api
ormake dev-api
in project root.
- local API docs, Online API docs
- Main App
- Admin Screenshot (yet)
- Profile
- Docker
- Redis Support
- Other Comments Plugin
- Admin Dashboard
- Server push notification
- Add prebuild test for applications