|
| 1 | +import type { CurriculumModule } from "@/types/curriculum"; |
| 2 | + |
| 3 | +import { module } from "./shared"; |
| 4 | + |
| 5 | +export const foundationModules: CurriculumModule[] = [ |
| 6 | + module({ |
| 7 | + id: "communication-basics", |
| 8 | + title: "What is communication?", |
| 9 | + shortDescription: "Two systems exchange meaning through agreed signals.", |
| 10 | + category: "Foundation", |
| 11 | + difficulty: "beginner", |
| 12 | + estimatedTime: "6 min", |
| 13 | + prerequisites: [], |
| 14 | + relatedModules: ["client-server-model", "packet-switching"], |
| 15 | + type: "concept" |
| 16 | + }), |
| 17 | + module({ |
| 18 | + id: "data-bits-bytes", |
| 19 | + title: "Data, bits, and bytes", |
| 20 | + shortDescription: "See how information becomes binary values.", |
| 21 | + category: "Foundation", |
| 22 | + difficulty: "beginner", |
| 23 | + estimatedTime: "8 min", |
| 24 | + prerequisites: ["communication-basics"], |
| 25 | + relatedModules: ["binary-converter"], |
| 26 | + type: "concept" |
| 27 | + }), |
| 28 | + module({ |
| 29 | + id: "binary-converter", |
| 30 | + title: "Binary Converter", |
| 31 | + shortDescription: "Convert decimal octets into binary bits.", |
| 32 | + category: "Foundation", |
| 33 | + difficulty: "beginner", |
| 34 | + estimatedTime: "8 min", |
| 35 | + prerequisites: ["data-bits-bytes"], |
| 36 | + relatedModules: ["ipv4-addressing", "subnet-visualizer"], |
| 37 | + type: "tool" |
| 38 | + }), |
| 39 | + module({ |
| 40 | + id: "bandwidth", |
| 41 | + title: "Bandwidth", |
| 42 | + shortDescription: "How much data a link can carry.", |
| 43 | + category: "Foundation", |
| 44 | + difficulty: "beginner", |
| 45 | + estimatedTime: "7 min", |
| 46 | + prerequisites: ["data-bits-bytes"], |
| 47 | + relatedModules: ["throughput", "latency"], |
| 48 | + osiLayer: 1, |
| 49 | + type: "concept" |
| 50 | + }), |
| 51 | + module({ |
| 52 | + id: "latency", |
| 53 | + title: "Latency", |
| 54 | + shortDescription: "How long a packet takes to arrive.", |
| 55 | + category: "Foundation", |
| 56 | + difficulty: "beginner", |
| 57 | + estimatedTime: "7 min", |
| 58 | + prerequisites: ["packet-switching"], |
| 59 | + relatedModules: ["jitter", "traceroute"], |
| 60 | + type: "concept" |
| 61 | + }), |
| 62 | + module({ |
| 63 | + id: "throughput", |
| 64 | + title: "Throughput", |
| 65 | + shortDescription: "The actual delivered data rate.", |
| 66 | + category: "Foundation", |
| 67 | + difficulty: "beginner", |
| 68 | + estimatedTime: "7 min", |
| 69 | + prerequisites: ["bandwidth"], |
| 70 | + relatedModules: ["latency", "congestion-control"], |
| 71 | + type: "concept" |
| 72 | + }), |
| 73 | + module({ |
| 74 | + id: "jitter", |
| 75 | + title: "Jitter", |
| 76 | + shortDescription: "Variation in packet delay.", |
| 77 | + category: "Foundation", |
| 78 | + difficulty: "beginner", |
| 79 | + estimatedTime: "5 min", |
| 80 | + prerequisites: ["latency"], |
| 81 | + relatedModules: ["udp-basics", "wi-fi-congestion-lab"], |
| 82 | + type: "concept" |
| 83 | + }), |
| 84 | + module({ |
| 85 | + id: "packet-switching", |
| 86 | + title: "Packet switching", |
| 87 | + shortDescription: "Data moves as small independent packets.", |
| 88 | + category: "Foundation", |
| 89 | + difficulty: "beginner", |
| 90 | + estimatedTime: "8 min", |
| 91 | + prerequisites: ["communication-basics"], |
| 92 | + relatedModules: ["routing-visualizer", "circuit-switching"], |
| 93 | + type: "concept" |
| 94 | + }), |
| 95 | + module({ |
| 96 | + id: "circuit-switching", |
| 97 | + title: "Circuit switching", |
| 98 | + shortDescription: "A dedicated path is reserved before communication.", |
| 99 | + category: "Foundation", |
| 100 | + difficulty: "beginner", |
| 101 | + estimatedTime: "5 min", |
| 102 | + prerequisites: ["communication-basics"], |
| 103 | + relatedModules: ["packet-switching"], |
| 104 | + type: "concept" |
| 105 | + }), |
| 106 | + module({ |
| 107 | + id: "client-server-model", |
| 108 | + title: "Client-server model", |
| 109 | + shortDescription: "Clients request resources from always-on services.", |
| 110 | + category: "Foundation", |
| 111 | + difficulty: "beginner", |
| 112 | + estimatedTime: "6 min", |
| 113 | + prerequisites: ["communication-basics"], |
| 114 | + relatedModules: ["http-basics", "dns-basics"], |
| 115 | + type: "concept" |
| 116 | + }), |
| 117 | + module({ |
| 118 | + id: "peer-to-peer-model", |
| 119 | + title: "Peer-to-peer model", |
| 120 | + shortDescription: "Hosts act as both clients and servers.", |
| 121 | + category: "Foundation", |
| 122 | + difficulty: "beginner", |
| 123 | + estimatedTime: "6 min", |
| 124 | + prerequisites: ["client-server-model"], |
| 125 | + relatedModules: ["ports"], |
| 126 | + type: "concept" |
| 127 | + }) |
| 128 | +]; |
0 commit comments