@markstien/fly
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

Fly

Fly is a web server.

作业要求

1.实现最基本的web服务器,客户端能够使用GET、POST方法请求资源

2.服务器将客户请求的资源以html页面的形似呈现,并能够进行差错处理(如:客户请求的资源不存在时,服务器能够返回一个404的页面)

3.服务器能进行简单的cgi运行。比如当客户在表单中输入数据后,服务器能够将运行结果返回个客户

4.能够通过页面对数据库进行操作,如增删查改等操作。

快速开始

安装

git clone https://gitee.com/markstien/fly-hello.git
cd fly-hello
npm i 

运行

npm start

Fly 运行在 http://localhost:8080.

Readme

Keywords

Package Sidebar

Install

npm i @markstien/fly

Weekly Downloads

1

Version

1.0.3

License

MIT

Unpacked Size

31.1 kB

Total Files

30

Last publish

Collaborators

  • markstien