Skip to content

Commit 604a6a4

Browse files
committed
feat: add deploy flow
1 parent cf1900e commit 604a6a4

File tree

3 files changed

+15
-5
lines changed

3 files changed

+15
-5
lines changed

README.md

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,19 @@
11
# serverless-cnode
22

3-
A cnodejs client using next.js deploy to Serverless
3+
A cnodejs client using Next.js deploy to Serverless
4+
5+
## Flow
6+
7+
![Deploy Flow](./docs/ssr-deploy-flow.png)
8+
9+
## Feature
10+
11+
- [x] Typescript
12+
- [x] Next.js
13+
- [x] Express Server
14+
- [x] LRU Cache
15+
- [x] Static CDN Deployment
16+
- [x] Serverless Framework, using Next.js component
417

518
## Setup
619

@@ -12,12 +25,10 @@ $ npm run dev
1225

1326
## Build
1427

15-
1628
```bash
1729
$ npm run build
1830
```
1931

20-
2132
## Deploy
2233

2334
```bash
@@ -26,4 +37,4 @@ $ npm run deploy
2637

2738
## License
2839

29-
MIT
40+
MIT

docs/ssr-deploy-flow.png

145 KB
Loading

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
{
22
"name": "serverless-cnode",
33
"version": "0.0.1",
4-
"main": "index.js",
54
"scripts": {
65
"dev": "nodemon",
76
"build": "next build && tsc --project tsconfig.server.json",

0 commit comments

Comments
 (0)