Skip to content

Commit 5b2d809

Browse files
author
Clinton D'Annolfo
committed
Update readme
1 parent a69d9b4 commit 5b2d809

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ RUN npm run build
3333
# Finally, build the production image with minimal footprint
3434
FROM base
3535
ENV NODE_ENV=production
36+
ENV PORT=8080
3637
RUN mkdir /app
3738
WORKDIR /app
3839

README.md

+8-1
Original file line numberDiff line numberDiff line change
@@ -30,25 +30,32 @@ The project implements the publically available parts of the Hacker News site AP
3030
- React (Declarative UI)
3131
- ESBuild (via Remix, sub-second production builds)
3232
- TypeScript (Static typing)
33+
- ESLint (Code checking)
3334
- Authentication via Cookies (plain JS)
3435
- Jest (Test runner)
3536
- Prettier (Code formatter)
37+
- Docker (Container builder)
3638

3739
### Benefits
3840

3941
**UI**
4042

4143
- Website works with JavaScript disabled (`Remix`)
44+
- Nested routes allow building complex UI applications that are also SSR capable (`Remix`)
45+
- Data fetching for client and server uses the same loader code (`Remix`)
46+
- Most apps can be built leveraging web fundamentals (form/anchor tag) requiring no state management library (`Remix`)
47+
- Data management is simple resulting in smaller codebase and client JS bundle sizes, approx ~30-50% smaller for this HN clone project compared to the GraphQL HN clone (`Remix`)
4248
- Declarative UI (`React`)
4349
- Minimalistic client-side UI rendering (`Remix`)
4450
- Pre-fetch page assets (`Remix`)
4551
- JS Code splitting (`Remix`)
46-
- Loading state spinners not required (`Remix`)
52+
- Loading state spinners not required by default (`Remix`)
4753

4854
**Server**
4955

5056
- Server Side rendering (`Remix`)
5157
- Universal TypeScript/JavaScript (`Web standards`)
58+
- Server can build a single JS file for optimized deployments (`Remix`)
5259
- Deployable on FaaS (Functions as a Service), edge workers or on your own NodeJS server (`Remix`)
5360
- Asset bundler (`ESBuild` via `Remix`)
5461

0 commit comments

Comments
 (0)