使用后端/数据库时如何托管网站?

时间:2020-04-07 03:32:27

标签: node.js mongodb localhost hosting backend

在此之前和这里,我都托管过静态站点;

  1. 我已经准备好totp(_,_,_,0) -> {ok, not_found}; totp(Secret,Goal,Ctr,Stop) -> Msg = binary:encode_unsigned(Ctr), Bin = <<0:((8-size(Msg))*8),Msg/binary>>, Hash = crypto:hmac(sha, Secret, Bin), Offset = 16#0f band binary:at(Hash,19), <<_:Offset/binary, THash:4/binary, _/binary>> = Hash, Code = (binary:decode_unsigned(THash) band 16#7fffffff) rem 1000000, if Code =:= Goal -> {ok, {offset, 2880 - Stop}}; true -> totp(Secret,Goal,Ctr+1,Stop-1) %% Did another run with Ctr-1 end. HTMLCSS个文件
  2. 我将它们上传到托管站点
  3. 网站升起

但是现在我开始使用JavaScript进行后端开发,并将Nodejs用于数据库。

我目前正在Mongodb上运行Mongodb数据库。

在托管网站时,我是否遵循与以前相同的步骤,或者我必须做些不同的事情吗?

(我认为这是不同的,但是我不知道如何处理)

0 个答案:

没有答案
相关问题