我在github主页上建了个人博客,但是基本都只有前台部分,我想问几个关于后台的问题(希望是比较流行的技术,技术选择很难)
数据库放哪?我用的是mongodb(有没有托管数据库的地方或者别的方法,买个阿里云一年要1000左右有别的办法吗?)
数据库弄好之后怎么动态显示有几个人看了博客里的文章
写文章我是用markdown写完再传上github专门管markdown的仓库,进入博客向管理markdown的仓库发请求拉出信息,一般用什么方法更好些
http和https的知识怎么学?
希望分享更多个人博客的知识
First of all, please allow me to shamelessly promote my blog: charten.ml;
The server is Tencent Cloud, 65 yuan a month
The background is nodejs, the web server framework uses express, and the database is mongodb
The blog is built by myself, the current version is 0.1, implementation:
Responsive design for mobile and PC
markdown writing
markdown code rendering
Dynamic addition of friendly links
pjax single-page application (because the domain name is not registered, single-page application access is blocked by WeChat. For compatibility, the current version annotates this part of the code)
Scan the QR code to log in to the management backend
Currently developing version 0.2:
Migrate js framework to vue2.0
Migrate css framework to weui1.01
Replan the front-end layout
Re-optimize template design
Add a new comment system and optimize the comment style
==========Updated at 23:53:31 on October 19, 2016=========
As for how many people have visited your article, the easiest way is to count directly Click in, and then I want to throw a +1 request in the background, and then put it into the database. Also, you can use cnzz, a webmaster assistant, to help you count the number of visitors.
mongodb is placed in my own server
https, first you have to get an https certificate
Use hexo to host it directly on github, and you can also bind a domain name. You can refer to http://sumaolin.com/2016/02/1..., which is generated using hexo
Your request... is not suitable for Github Pages.
Buy a virtual host and use Typecho and WordPress.
wprdpress hexo ghost. Or directly fork https://github.com/ReidHolmes...
A blog based on hexo.
You can use C9 to be a free blog host. 3 free hosts. Creating your own blog is enough.