Giter VIP home page Giter VIP logo

nows-nodejs-serverless's Introduction

毒鸡汤 Node.js Serverless 版

毒鸡汤网页 nows.fun 真是简洁又有趣,只是用的 php+mysql 部署有些麻烦。

我用 Node.js 读 txt 代替,放到阿里云函数计算,无需购买服务器,按量计费。

静态资源放 OSS,绑定域名,申请免费 HTTPS 证书,很快就部署好了。

而且阿里云函数计算每月前 100 万次调用免费。

对于简单小项目,Serverless 真是方便又便宜。

部署完成后: 最毒鸡汤 https://3www.top


分支 nows-html-js-version

可以把数据直接放网页里,用js随机读取,这样连node.js环境都不用了,

直接返回一个html网页,js读取数据,也不用刷新网页,速度更快了,体验更好。


还可以 Serverless 也不用

直接使用阿里云OSS托管index.html页面也行。

OSS配置静态网站托管 https://help.aliyun.com/document_detail/31872.html

nows-nodejs-serverless's People

Contributors

egotong avatar www avatar able8 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.