Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .github/workflows/node-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ jobs:
with:
node-version-file: package.json

- name: Install npm
run: npm install --global npm@12.2.2

- name: Install Dependencies
run: npm ci

Expand Down
1 change: 1 addition & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ tasks:
export DEMO_APPS_DOMAIN=$(gp url)
- init: |
cp sample.env .env
npm install --global npm@12.2.2
npm ci
mkdir /workspace/log
mongod --fork --dbpath /data/db --logpath /workspace/log/mongod.log
Expand Down
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
# Example Certification Projects

## Development

Use Node.js 26.13 or newer in the Node 26 release line and npm 12. Install
dependencies with:

```console
npm ci
```

To build and start the complete Docker Compose stack, copy `sample.env` to
`.env`, then run `npm run build` and `npm start` from the repository root.

## Responsive Web Design

- Tribute Page
Expand Down
4 changes: 3 additions & 1 deletion apps/anonymous-message-board/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/build-a-pinterest-clone/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/chart-the-stock-market/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/exercise-tracker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/image-search-abstraction-layer/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/issue-tracker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/manage-a-book-trading-club/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/personal-library/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/pokeapi-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/stock-price-checker-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/stock-price-checker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/twitch-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/url-shortener-microservice/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/voting-app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 3 additions & 1 deletion apps/weather-proxy/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@
"name": "@freecodecamp/demo-projects",
"version": "0.0.0",
"engines": {
"node": "18",
"npm": "9"
"node": ">=26.13.0 <27",
"npm": "12"
},
"packageManager": "npm@12.2.2",
"description": "Example projects for the freeCodeCamp.org curriculum",
"scripts": {
"lint": "eslint apps test --max-warnings 0 && prettier --check .",
Expand Down
4 changes: 3 additions & 1 deletion shared.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
FROM node:18-bullseye-slim
FROM node:26-bookworm-slim

WORKDIR /app

RUN npm install --global npm@12.2.2

# Copy over all the files in the project directory to /app early
# for rollup bundling
COPY . .
Expand Down
Loading