title | description | tags | |||
---|---|---|---|---|---|
Node HTTP Module |
A HTTP module server |
|
This example starts an HTTP Module server.
- Install dependencies
yarn
- Connect to your Railway project
railway link
- Start the development server
railway run yarn start
The server started simply returns a Hello World
payload. The server code is located in server.mjs
.
https://juejin.cn/post/7201757033322233914
https://chatgpt-nodejs-production-dc3a.up.railway.app/chat?prompt=周杰伦是谁
https://chatgpt-nodejs-production-dc3a.up.railway.app/image?prompt=复活的清晨