Compare commits
417 Commits
feat/resou
...
feat/open-
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
fe4cfc104c | ||
|
|
9bff8fb645 | ||
|
|
c894430a86 | ||
|
|
f876ba8df5 | ||
|
|
c26fb97bc7 | ||
|
|
3b1cc91405 | ||
|
|
5a49ad45be | ||
|
|
be221a2b14 | ||
|
|
6461ccaf59 | ||
|
|
aa76db78da | ||
|
|
c40cda13d8 | ||
|
|
487145b9a4 | ||
|
|
cc817b060c | ||
|
|
06c242cf32 | ||
|
|
5b09e61b86 | ||
|
|
a3fedad816 | ||
|
|
338f6c5d4a | ||
|
|
9d6d77f93e | ||
|
|
f4c717b958 | ||
|
|
65fe7aeb71 | ||
|
|
1d0e65c2c8 | ||
|
|
421133ecc2 | ||
|
|
346c630019 | ||
|
|
3b929e45d2 | ||
|
|
2bef597ced | ||
|
|
1219b9e905 | ||
|
|
87ef708da3 | ||
|
|
0643e86514 | ||
|
|
814b819195 | ||
|
|
9f2efc5872 | ||
|
|
55f0eff569 | ||
|
|
47936801fd | ||
|
|
6b118d14d3 | ||
|
|
efbd1d7f04 | ||
|
|
f036a11784 | ||
|
|
3d7bdc55bd | ||
|
|
b658591c45 | ||
|
|
52c1b20f56 | ||
|
|
e3ca03e531 | ||
|
|
2378cd4bb9 | ||
|
|
d673a06472 | ||
|
|
122bbe6b27 | ||
|
|
d2a36a9d4c | ||
|
|
04151f9693 | ||
|
|
264afe4e03 | ||
|
|
678388d401 | ||
|
|
8ce7aa7bcb | ||
|
|
447437bfc9 | ||
|
|
72a04b9b9f | ||
|
|
15d19eeb6c | ||
|
|
9aae8b5eb7 | ||
|
|
0ebf479d9b | ||
|
|
1035ea8041 | ||
|
|
f3c9de8f78 | ||
|
|
a5f043b4e9 | ||
|
|
1090545b82 | ||
|
|
f2bc4548ba | ||
|
|
8e9d1df3d2 | ||
|
|
67475b1b6d | ||
|
|
88b830c862 | ||
|
|
b29d8150c7 | ||
|
|
c0b1337755 | ||
|
|
4df1814769 | ||
|
|
35d38f654f | ||
|
|
f20334b0de | ||
|
|
1c0a8d1f47 | ||
|
|
4df1ef730c | ||
|
|
f177d57b2d | ||
|
|
216d389cd4 | ||
|
|
b265da3b37 | ||
|
|
3786c91d71 | ||
|
|
86c65e6d72 | ||
|
|
13290595b2 | ||
|
|
82359f89a0 | ||
|
|
e3e972a360 | ||
|
|
72f8da6805 | ||
|
|
daa5a430bd | ||
|
|
5c96a57f85 | ||
|
|
59e359f303 | ||
|
|
61816ab1e3 | ||
|
|
53e87095ef | ||
|
|
086c790837 | ||
|
|
9948e89b84 | ||
|
|
3166a02f23 | ||
|
|
e9fdde087f | ||
|
|
fdfc8e6c6b | ||
|
|
7642493369 | ||
|
|
3355b91aa0 | ||
|
|
9b865678b2 | ||
|
|
9b3ec7cc19 | ||
|
|
e78a7da1a9 | ||
|
|
8c99cb6ea8 | ||
|
|
bd4e3edf76 | ||
|
|
af132495d5 | ||
|
|
c77465aa8a | ||
|
|
4e02f2fe43 | ||
|
|
363fb3cbf5 | ||
|
|
8f92c34e2e | ||
|
|
abb4b6ff97 | ||
|
|
ba75bc3336 | ||
|
|
ba135d9f0b | ||
|
|
47bfa7724e | ||
|
|
f344571ce4 | ||
|
|
89bea259f9 | ||
|
|
06489391f5 | ||
|
|
f08566a24c | ||
|
|
acfa8c343a | ||
|
|
9f6de412c3 | ||
|
|
0998196593 | ||
|
|
9fdb9be863 | ||
|
|
ca1abffc36 | ||
|
|
8b73387f03 | ||
|
|
2eac27b03b | ||
|
|
03d92f893c | ||
|
|
8918940aa6 | ||
|
|
e620c1a686 | ||
|
|
4162a4aedd | ||
|
|
13a1c6e085 | ||
|
|
4183871a75 | ||
|
|
61c4d566c2 | ||
|
|
c49563ba16 | ||
|
|
77c47e8f03 | ||
|
|
597efd07ca | ||
|
|
9577f4d615 | ||
|
|
4f01c51232 | ||
|
|
84184724c4 | ||
|
|
024c7cbda1 | ||
|
|
951f97d5f0 | ||
|
|
c3118daa57 | ||
|
|
358402e20f | ||
|
|
6c914d1b47 | ||
|
|
3598db798c | ||
|
|
ffaba806c9 | ||
|
|
caf39819da | ||
|
|
1a98f62b38 | ||
|
|
b2e2e2c3ad | ||
|
|
387d5218b2 | ||
|
|
fa0452e9c9 | ||
|
|
915373f16d | ||
|
|
12077bb8f2 | ||
|
|
ade4b279e4 | ||
|
|
c5eaf08f6e | ||
|
|
50b342bdbf | ||
|
|
cf1e2b4d5c | ||
|
|
ce6fc83ad9 | ||
|
|
d2a44fbe75 | ||
|
|
1d772af10a | ||
|
|
4cb4c057aa | ||
|
|
8dd03f0272 | ||
|
|
6130f16b23 | ||
|
|
30edae3e6e | ||
|
|
ce48c7b594 | ||
|
|
3a24ff7f24 | ||
|
|
111c7f23ab | ||
|
|
6ccbde99fe | ||
|
|
7754f7a576 | ||
|
|
2fc86bc400 | ||
|
|
56e7aa5687 | ||
|
|
b92abb127d | ||
|
|
a9b9077d07 | ||
|
|
65f51d9243 | ||
|
|
824c796029 | ||
|
|
e58c30f74f | ||
|
|
36a66fa901 | ||
|
|
fbf124aedf | ||
|
|
7e100434f7 | ||
|
|
7adbdc3fb1 | ||
|
|
e79bfca074 | ||
|
|
989f7ad5c1 | ||
|
|
dd5232f2f8 | ||
|
|
851a0381b6 | ||
|
|
88d783680b | ||
|
|
a1aba2e026 | ||
|
|
01eb7b2f0f | ||
|
|
94ce774586 | ||
|
|
bbcd7e18e5 | ||
|
|
298b137a7d | ||
|
|
ae58fa2a2a | ||
|
|
bcc85dcebe | ||
|
|
44a7a01e3c | ||
|
|
e3b6bacbc4 | ||
|
|
8c615084d3 | ||
|
|
9f446764bc | ||
|
|
bf80d3f052 | ||
|
|
09b63442dc | ||
|
|
af4b04a510 | ||
|
|
839d92db29 | ||
|
|
2193565071 | ||
|
|
1121993c15 | ||
|
|
973d4dc73a | ||
|
|
a913da47a7 | ||
|
|
2959ea3fda | ||
|
|
cf5301030f | ||
|
|
537bbc2ceb | ||
|
|
c9f34087c4 | ||
|
|
c1e733d640 | ||
|
|
ceb4baefa1 | ||
|
|
c387a6b843 | ||
|
|
909b0fa81a | ||
|
|
dae737fa02 | ||
|
|
f81783ff9d | ||
|
|
52d0fffaab | ||
|
|
8bad7f4de1 | ||
|
|
c3ff9efb73 | ||
|
|
53b5d7c953 | ||
|
|
c3421b4c1a | ||
|
|
6c3f8cb0e2 | ||
|
|
e99c88aae5 | ||
|
|
d3c259e79f | ||
|
|
03f6a58110 | ||
|
|
59c8a8184d | ||
|
|
9b5199d829 | ||
|
|
c123abdc23 | ||
|
|
ee143d8b6c | ||
|
|
7cf4618634 | ||
|
|
762444725a | ||
|
|
df4d083c01 | ||
|
|
e78bf8d7f7 | ||
|
|
dcb5538b12 | ||
|
|
fc3acb9702 | ||
|
|
6133c10beb | ||
|
|
29c8c3e76f | ||
|
|
48e3832dbd | ||
|
|
db2973f27e | ||
|
|
2b03fe1554 | ||
|
|
01f5e57ef4 | ||
|
|
4ac9e7b12c | ||
|
|
c2c122e4dc | ||
|
|
1e6fa6d8c6 | ||
|
|
a3422cd772 | ||
|
|
992d817d1a | ||
|
|
4ac4fcfba0 | ||
|
|
a92ea779b8 | ||
|
|
29fa5397f3 | ||
|
|
1c3d86f085 | ||
|
|
3b40b61013 | ||
|
|
d5b9c97fed | ||
|
|
c48c9e75f9 | ||
|
|
925dd62fe3 | ||
|
|
d1c9575823 | ||
|
|
663fcdb1d2 | ||
|
|
bdbaeffd50 | ||
|
|
83e61e548c | ||
|
|
7c9de90b3c | ||
|
|
66a994512b | ||
|
|
90f24fb780 | ||
|
|
d58c087deb | ||
|
|
526c7d16ad | ||
|
|
be3e1859dd | ||
|
|
ad8ce9f9f2 | ||
|
|
67cf3f5313 | ||
|
|
73597724a0 | ||
|
|
b361840742 | ||
|
|
f154d05a84 | ||
|
|
2d08f74c7f | ||
|
|
d202e0a75d | ||
|
|
6da9dfc771 | ||
|
|
05d414adf4 | ||
|
|
45a7fe6eb8 | ||
|
|
0879785d35 | ||
|
|
e83a261b2c | ||
|
|
b78252be59 | ||
|
|
ac18df727f | ||
|
|
8511626698 | ||
|
|
fcac62c6bd | ||
|
|
7682d6ad33 | ||
|
|
1fcfa81bd2 | ||
|
|
23712d24b5 | ||
|
|
48d99e2dad | ||
|
|
8c104aed7f | ||
|
|
3accbf503b | ||
|
|
e43b074edf | ||
|
|
3f0301c0b4 | ||
|
|
497d264321 | ||
|
|
0c000df830 | ||
|
|
db8ee31ed3 | ||
|
|
8606588c38 | ||
|
|
86c903305a | ||
|
|
f94c09bcf3 | ||
|
|
ecd743c88e | ||
|
|
e258c3b668 | ||
|
|
733e282454 | ||
|
|
9d3868494b | ||
|
|
1057b89fa0 | ||
|
|
419442cac9 | ||
|
|
93e69bd6e7 | ||
|
|
ac8efdd1b5 | ||
|
|
a3bfd15c0e | ||
|
|
47c9eb4860 | ||
|
|
ec60a125af | ||
|
|
319a215666 | ||
|
|
bbbc9b587d | ||
|
|
660440a514 | ||
|
|
bd8cc0dc14 | ||
|
|
d63cb7925b | ||
|
|
ff1f876880 | ||
|
|
1859e94184 | ||
|
|
f96201cbbd | ||
|
|
ef1f79a5b4 | ||
|
|
1b90443208 | ||
|
|
3dfc6a7d49 | ||
|
|
9a3a30f3ae | ||
|
|
257b350381 | ||
|
|
2dd3edadf9 | ||
|
|
5a0d23dcf1 | ||
|
|
d73145661a | ||
|
|
33ef642dd8 | ||
|
|
f2671c32c8 | ||
|
|
7183bc7382 | ||
|
|
25aa149766 | ||
|
|
d669d242f8 | ||
|
|
0b4137e3bd | ||
|
|
512de27478 | ||
|
|
3acc0d6a5f | ||
|
|
d30bc59d9e | ||
|
|
fbc957552c | ||
|
|
99cc36406a | ||
|
|
0b4a28050b | ||
|
|
ccd36c58fa | ||
|
|
a40f2187fb | ||
|
|
66358202b9 | ||
|
|
ae7aa310f4 | ||
|
|
88d419a09b | ||
|
|
f8a83c3c81 | ||
|
|
ea99772fa5 | ||
|
|
4d3c792a54 | ||
|
|
4ede70ab86 | ||
|
|
45a28405be | ||
|
|
ff1c5c1c53 | ||
|
|
17b63fa7a7 | ||
|
|
a93ddf3944 | ||
|
|
12fd9287c3 | ||
|
|
6101f01055 | ||
|
|
54a731aaa5 | ||
|
|
f4c7996470 | ||
|
|
c01a07e7b3 | ||
|
|
cfffdeea15 | ||
|
|
351d25d429 | ||
|
|
f16c2a8afd | ||
|
|
5c2cc7a6da | ||
|
|
90486c2369 | ||
|
|
99054a36a6 | ||
|
|
58b5b5214e | ||
|
|
24b6e62a29 | ||
|
|
82d433806b | ||
|
|
fbf32e0f73 | ||
|
|
c9729ed073 | ||
|
|
4a610a1eea | ||
|
|
f044e3a682 | ||
|
|
7edee458d5 | ||
|
|
facabb6002 | ||
|
|
75e0f49eb7 | ||
|
|
e2c3356426 | ||
|
|
63aeff2f28 | ||
|
|
21d3728d01 | ||
|
|
3f1b1c78a1 | ||
|
|
7a8461c215 | ||
|
|
b59757ee1b | ||
|
|
d6a1e94eca | ||
|
|
ed00e553a6 | ||
|
|
5dda56b5ca | ||
|
|
b2a798e229 | ||
|
|
2f7d7cbbf9 | ||
|
|
3d72c49c3f | ||
|
|
3ce92af265 | ||
|
|
a8aba9e6de | ||
|
|
877c79b120 | ||
|
|
216783571c | ||
|
|
e41c42c866 | ||
|
|
a8c959493e | ||
|
|
62b3a2eed5 | ||
|
|
760046a4e3 | ||
|
|
bd32e77c24 | ||
|
|
b260476813 | ||
|
|
24c1c69515 | ||
|
|
985ee8eed7 | ||
|
|
33c9cb1ca3 | ||
|
|
1f27530527 | ||
|
|
4d915bf979 | ||
|
|
e1a6dc3b40 | ||
|
|
be7ea71390 | ||
|
|
9f14e83eb4 | ||
|
|
6d58cb9a01 | ||
|
|
1cbce6aeda | ||
|
|
53b33fd7c5 | ||
|
|
d5dd2bfa5a | ||
|
|
5d801f9f99 | ||
|
|
2de99daebb | ||
|
|
2b6c326819 | ||
|
|
4b7022948a | ||
|
|
a26e391f41 | ||
|
|
4576dfcbf3 | ||
|
|
8a3c761698 | ||
|
|
96f9a12343 | ||
|
|
4e669fefe2 | ||
|
|
142c2eafb6 | ||
|
|
62823df944 | ||
|
|
b1edb5ce4a | ||
|
|
45068a5930 | ||
|
|
828bac38d3 | ||
|
|
96ee0f8c3e | ||
|
|
6563ca95e7 | ||
|
|
74099d01e8 | ||
|
|
8b21b16252 | ||
|
|
d87ac9bbba | ||
|
|
2d14deb166 | ||
|
|
f993e22048 | ||
|
|
d03200c331 | ||
|
|
367528aa24 | ||
|
|
e633bdd3ac | ||
|
|
145c593f42 | ||
|
|
cacf3fc67d | ||
|
|
b4868b71b3 | ||
|
|
a22d54dbb4 | ||
|
|
694d7b1ecc | ||
|
|
a81fd615d9 | ||
|
|
8e407c95a1 |
@@ -3,6 +3,6 @@
|
||||
"enabled": false
|
||||
},
|
||||
"_variables": {
|
||||
"lastUpdateCheck": 1723855511353
|
||||
"lastUpdateCheck": 1728161578172
|
||||
}
|
||||
}
|
||||
1
.astro/types.d.ts
vendored
Normal file
@@ -0,0 +1 @@
|
||||
/// <reference types="astro/client" />
|
||||
16
.github/workflows/cloudfront-api-cache.yml
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
name: Clears API Cloudfront Cache
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
aws_costs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Clear Cloudfront Caching
|
||||
run: |
|
||||
curl -L \
|
||||
-X POST \
|
||||
-H "Accept: application/vnd.github+json" \
|
||||
-H "Authorization: Bearer ${{ secrets.GH_PAT }}" \
|
||||
-H "X-GitHub-Api-Version: 2022-11-28" \
|
||||
https://api.github.com/repos/roadmapsh/infra-ansible/actions/workflows/playbook.yml/dispatches \
|
||||
-d '{ "ref":"master", "inputs": { "playbook": "roadmap_web.yml", "tags": "cloudfront-api", "is_verbose": false } }'
|
||||
@@ -1,4 +1,4 @@
|
||||
name: Clears Cloudfront Cache
|
||||
name: Clears Frontend Cloudfront Cache
|
||||
on:
|
||||
workflow_dispatch:
|
||||
jobs:
|
||||
35
.github/workflows/deployment.yml
vendored
@@ -1,24 +1,26 @@
|
||||
name: Deploy to EC2
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allow manual run
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout code
|
||||
uses: actions/checkout@v2
|
||||
- name: Checkout Repository
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 2
|
||||
- uses: actions/setup-node@v1
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
- uses: pnpm/action-setup@v3.0.0
|
||||
- uses: pnpm/action-setup@v4.0.0
|
||||
with:
|
||||
version: 8.15.6
|
||||
version: 9
|
||||
|
||||
# --------------------
|
||||
# -------------------
|
||||
# Setup configuration
|
||||
# --------------------
|
||||
# -------------------
|
||||
- name: Prepare configuration files
|
||||
run: |
|
||||
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/infra-config.git configuration --depth 1
|
||||
@@ -26,13 +28,14 @@ jobs:
|
||||
run: |
|
||||
cp configuration/dist/github/developer-roadmap.env .env
|
||||
|
||||
# --------------------
|
||||
# Prepare the build
|
||||
# --------------------
|
||||
- name: Install dependencies
|
||||
# -----------------
|
||||
# Prepare the Build
|
||||
# -----------------
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
pnpm install
|
||||
- name: Generate build
|
||||
|
||||
- name: Generate Production Build
|
||||
run: |
|
||||
git clone https://${{ secrets.GH_PAT }}@github.com/roadmapsh/web-draw.git .temp/web-draw --depth 1
|
||||
npm run generate-renderer
|
||||
@@ -45,7 +48,7 @@ jobs:
|
||||
- uses: webfactory/ssh-agent@v0.7.0
|
||||
with:
|
||||
ssh-private-key: ${{ secrets.EC2_PRIVATE_KEY }}
|
||||
- name: Deploy app to EC2
|
||||
- name: Deploy Application to EC2
|
||||
run: |
|
||||
rsync -apvz --delete --no-times --exclude "configuration" -e "ssh -o StrictHostKeyChecking=no" -p ./ ${{ secrets.EC2_USERNAME }}@${{ secrets.EC2_HOST }}:/var/www/roadmap.sh/
|
||||
- name: Restart PM2
|
||||
@@ -58,9 +61,9 @@ jobs:
|
||||
cd /var/www/roadmap.sh
|
||||
sudo pm2 restart web-roadmap
|
||||
|
||||
# --------------------
|
||||
# ----------------------
|
||||
# Clear cloudfront cache
|
||||
# --------------------
|
||||
# ----------------------
|
||||
- name: Clear Cloudfront Caching
|
||||
run: |
|
||||
curl -L \
|
||||
|
||||
10
.github/workflows/label-issue.yml
vendored
@@ -1,13 +1,15 @@
|
||||
name: Label Issue
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [ opened, edited ]
|
||||
|
||||
jobs:
|
||||
label-topic-change-issue:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add roadmap slug to issue as label
|
||||
uses: actions/github-script@v3
|
||||
- name: Add Labels To Issue
|
||||
uses: actions/github-script@v7
|
||||
with:
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
script: |
|
||||
@@ -18,7 +20,7 @@ jobs:
|
||||
if (issue.labels.some(label => label.name === 'topic-change')) {
|
||||
if (roadmapUrl) {
|
||||
const roadmapSlug = new URL(roadmapUrl[0]).pathname.replace(/\//, '');
|
||||
github.issues.addLabels({
|
||||
github.rest.issues.addLabels({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: issue.number,
|
||||
@@ -28,7 +30,7 @@ jobs:
|
||||
|
||||
// Close the issue if it has no roadmap URL
|
||||
if (!roadmapUrl) {
|
||||
github.issues.update({
|
||||
github.rest.issues.update({
|
||||
owner: context.repo.owner,
|
||||
repo: context.repo.repo,
|
||||
issue_number: issue.number,
|
||||
|
||||
@@ -1,35 +1,35 @@
|
||||
name: Refreshes roadmap content JSON
|
||||
name: Refresh Roadmap Content JSON
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allow manual run
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * *' # every day at midnight
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
jobs:
|
||||
upgrade-deps:
|
||||
refresh-content:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v4
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup pnpm
|
||||
- name: Setup pnpm@v9
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
run_install: false
|
||||
|
||||
- name: Setup Node.js
|
||||
- name: Setup Node.js Version 20 (LTS)
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 18
|
||||
node-version: 20
|
||||
cache: 'pnpm'
|
||||
|
||||
- name: Install dependencies and generate content JSON
|
||||
- name: Install Dependencies and Generate Content JSON
|
||||
run: |
|
||||
pnpm install
|
||||
npm run generate:roadmap-content-json
|
||||
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
delete-branch: false
|
||||
branch: "chore/update-content-json"
|
||||
@@ -37,9 +37,16 @@ jobs:
|
||||
labels: |
|
||||
dependencies
|
||||
automated pr
|
||||
reviewers: kamranahmedse,arikchakma
|
||||
reviewers: kamranahmedse
|
||||
commit-message: "chore: update roadmap content json"
|
||||
title: "Update roadmap content json"
|
||||
title: "Updated Roadmap Content JSON - Automated"
|
||||
body: |
|
||||
Updates the roadmap content JSON files in the `public` folder.
|
||||
Please review the changes and merge if everything looks good.
|
||||
## Updated Roadmap Content JSON
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This PR Updates the Roadmap Content JSON files stored in the `public` directory.
|
||||
>
|
||||
> Commit: ${{ github.sha }}
|
||||
> Workflow Path: ${{ github.workflow_ref }}
|
||||
|
||||
**Please Review the Changes and Merge the PR if everything is fine.**
|
||||
38
.github/workflows/update-deps.yml
vendored
@@ -1,38 +0,0 @@
|
||||
name: Update dependencies
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allow manual run
|
||||
schedule:
|
||||
- cron: '0 0 * * 0' # every sunday at midnight
|
||||
|
||||
jobs:
|
||||
upgrade-deps:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- uses: pnpm/action-setup@v2.2.2
|
||||
with:
|
||||
version: 7.13.4
|
||||
- name: Upgrade dependencies
|
||||
run: |
|
||||
pnpm install
|
||||
npm run upgrade
|
||||
pnpm install --lockfile-only
|
||||
- name: Create PR
|
||||
uses: peter-evans/create-pull-request@v4
|
||||
with:
|
||||
delete-branch: false
|
||||
branch: "update-deps"
|
||||
base: "master"
|
||||
labels: |
|
||||
dependencies
|
||||
automated pr
|
||||
reviewers: kamranahmedse
|
||||
commit-message: "chore: update dependencies to latest"
|
||||
title: "Upgrade dependencies to latest"
|
||||
body: |
|
||||
Updates all dependencies to latest versions.
|
||||
Please review the changes and merge if everything looks good.
|
||||
51
.github/workflows/upgrade-dependencies.yml
vendored
Normal file
@@ -0,0 +1,51 @@
|
||||
name: Upgrade Dependencies
|
||||
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: '0 0 * * 0'
|
||||
|
||||
jobs:
|
||||
upgrade-deps:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Setup Node.js Version 20 (LTS)
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 20
|
||||
|
||||
- name: Setup pnpm@v9
|
||||
uses: pnpm/action-setup@v4
|
||||
with:
|
||||
version: 9
|
||||
|
||||
- name: Install & Upgrade Dependencies
|
||||
run: |
|
||||
pnpm install
|
||||
npm run upgrade
|
||||
pnpm install --lockfile-only
|
||||
|
||||
- name: Create Pull Request
|
||||
uses: peter-evans/create-pull-request@v7
|
||||
with:
|
||||
delete-branch: false
|
||||
branch: "update-deps"
|
||||
base: "master"
|
||||
labels: |
|
||||
dependencies
|
||||
automated pr
|
||||
reviewers: kamranahmedse
|
||||
commit-message: "chore: update dependencies to latest"
|
||||
title: "Upgrade Dependencies To Latest - Automated"
|
||||
body: |
|
||||
## Updated all Dependencies to Latest Versions.
|
||||
|
||||
> [!IMPORTANT]
|
||||
> This PR Upgrades the Dependencies to the Latest Their Versions.
|
||||
>
|
||||
> Commit: ${{ github.sha }}
|
||||
> Workflow Path: ${{ github.workflow_ref }}
|
||||
|
||||
**Please Review the Changes and Merge the PR if everything is fine.**
|
||||
@@ -1,13 +1,68 @@
|
||||
# Contribution
|
||||
|
||||
First of all thank you for considering to contribute. Please look at the details below:
|
||||
First of all, thank you for considering to contribute. Please look at the details below:
|
||||
|
||||
- [Hacktoberfest Contributions](#hacktoberfest-contributions)
|
||||
- [New Roadmaps](#new-roadmaps)
|
||||
- [Existing Roadmaps](#existing-roadmaps)
|
||||
- [Adding Projects](#adding-projects)
|
||||
- [Adding Content](#adding-content)
|
||||
- [Guidelines](#guidelines)
|
||||
|
||||
## Hacktoberfest Contributions
|
||||
|
||||
We are taking part in [Hacktoberfest 11](https://hacktoberfest.com/)!
|
||||
|
||||
Before you start to contribute to our project in order to satisfy [Hacktoberfest requirements](https://hacktoberfest.com/participation/#contributors), please bare in mind the following:
|
||||
|
||||
* There is not a Hacktoberfest t-shirt this year [(see their FAQ)](https://hacktoberfest.com/participation/#faq).
|
||||
* There is not an infinite opportunity to contribute to the roadmap.sh project.
|
||||
|
||||
### Hacktoberfest Specific Contribution rules
|
||||
|
||||
As Hacktoberfest attracts a lot of contributors (which is awesome), it does require a more rigid and strictly enforced set of guidelines than the average contribution.
|
||||
|
||||
These are as follows:
|
||||
|
||||
1. No single file contributions, please contribute to a minimum of two.
|
||||
|
||||
Whilst single file contributions, such as adding one link to a single topic, is perfectly fine outside of hacktoberfest, this can (and probably will) result it an easy 4 pull requests for everyone and we will just become a Hacktoberfest farming project.
|
||||
|
||||
***Note: If you contribute the entire contents of a topic i.e. the topic has 0 copy and 0 links, this will count.***
|
||||
|
||||
2. Typo fixes will not count (by themselves).
|
||||
|
||||
Whilst fixing typos is a great thing to do, lets bundle them in with actual contributions if we see them!
|
||||
|
||||
3. The same basic rules apply.
|
||||
|
||||
- Content must be in English.
|
||||
- Maximum of 8 links per topic.
|
||||
- Follow the below style guide for content.
|
||||
|
||||
Here is an example of a **fully complete** topic:
|
||||
|
||||
```markdown
|
||||
# Redis
|
||||
|
||||
Redis is an open-source, in-memory data structure store known for its speed and versatility. It supports various data types, including strings, lists, sets, hashes, and sorted sets, and provides functionalities such as caching, session management, real-time analytics, and message brokering. Redis operates as a key-value store, allowing for rapid read and write operations, and is often used to enhance performance and scalability in applications. It supports persistence options to save data to disk, replication for high availability, and clustering for horizontal scaling. Redis is widely used for scenarios requiring low-latency access to data and high-throughput performance.
|
||||
|
||||
Learn more from the following resources:
|
||||
|
||||
[@official@Link 1](https:/google.com)
|
||||
[@article@Link 2](https:/google.com)
|
||||
[@article@Link 3](https:/google.com)
|
||||
[@course@Link 4](https:/google.com)
|
||||
[@course@Link 5](https:/google.com)
|
||||
[@video@Link 6](https:/google.com)
|
||||
[@video@Link 7](https:/google.com)
|
||||
[@video@Link 8](https:/google.com)
|
||||
```
|
||||
|
||||
Contributions to the project that meet these requirements will be given the label `hacktoberfest-accepted` and merged, contributions that do not meet the requirements will simply be closed.
|
||||
|
||||
Any attempts at spam PRs will be given the `spam` tag. If you recieve 2 `spam` tags against you, you will be [disqualified from Hacktoberfest](https://hacktoberfest.com/participation/#spam).
|
||||
|
||||
## New Roadmaps
|
||||
|
||||
For new roadmaps, you can either:
|
||||
@@ -25,22 +80,22 @@ For the existing roadmaps, please follow the details listed for the nature of co
|
||||
|
||||
## Adding Projects
|
||||
|
||||
If you have a project idea that you think we should add to the roadmap, feel free to open an issue with as much details about the project as possible and the roadmap you think it should be added to.
|
||||
If you have a project idea that you think we should add to the roadmap, feel free to open an issue with as many details about the project as possible and the roadmap you think it should be added to.
|
||||
|
||||
The detailed format for issue should be as follows:
|
||||
The detailed format for the issue should be as follows:
|
||||
|
||||
```
|
||||
## What is this project about?
|
||||
|
||||
(Add introduction to the project)
|
||||
(Add an introduction to the project.)
|
||||
|
||||
## Skills this Project Covers
|
||||
|
||||
(Comma separated list of skills e.g. Programming Knowledge, Database,)
|
||||
(Comma separated list of skills, e.g. Programming Knowledge, Database, etc.)
|
||||
|
||||
## Requirements
|
||||
|
||||
( Detailed list of requirements, i.e. input, output, an hints to help build this etc)
|
||||
( Detailed list of requirements, i.e. input, output, hints to help build this, etc.)
|
||||
```
|
||||
|
||||
Have a look at this project to get an idea of [what we are looking for](https://roadmap.sh/projects/github-user-activity).
|
||||
@@ -67,7 +122,7 @@ Visit the following resources to learn more:
|
||||
- [@type@Description of link](Link)
|
||||
```
|
||||
|
||||
`@type@` must be one of the following and describes the type of content you are adding:
|
||||
`@type@` must be one of the following and describe the type of content you are adding:
|
||||
|
||||
- `@official@`
|
||||
- `@opensource@`
|
||||
@@ -82,11 +137,11 @@ It's important to add a valid type, this will help us categorize the content and
|
||||
|
||||
- <p><strong>Please don't use the project for self-promotion!</strong><br />
|
||||
|
||||
We believe this project is a valuable asset to the developer community and it includes numerous helpful resources. We kindly ask you to avoid submitting pull requests for the sole purpose of self-promotion. We appreciate contributions that genuinely add value, such as guides from maintainers of well-known frameworks, and will consider accepting these even if they're self authored. Thank you for your understanding and cooperation!
|
||||
We believe this project is a valuable asset to the developer community, and it includes numerous helpful resources. We kindly ask you to avoid submitting pull requests for the sole purpose of self-promotion. We appreciate contributions that genuinely add value, such as guides from maintainers of well-known frameworks, and will consider accepting these even if they're self authored. Thank you for your understanding and cooperation!
|
||||
|
||||
- <p><strong>Adding everything available out there is not the goal!</strong><br />
|
||||
|
||||
The roadmaps represent the skillset most valuable today, i.e., if you were to enter any of the listed fields today, what would you learn? There might be things that are of-course being used today but prioritize the things that are most in demand today, e.g., agreed that lots of people are using angular.js today but you wouldn't want to learn that instead of React, Angular, or Vue. Use your critical thinking to filter out non-essential stuff. Give honest arguments for why the resource should be included.</p>
|
||||
The roadmaps represent the skillset most valuable today, i.e., if you were to enter any of the listed fields today, what would you learn? There might be things that are of-course being used today, but prioritize the things that are most in demand today, e.g., agree that lots of people are using angular.js today, but you wouldn't want to learn that instead of React, Angular, or Vue. Use your critical thinking to filter out non-essential stuff. Give honest arguments for why the resource should be included.</p>
|
||||
|
||||
- <p><strong>Do not add things you have not evaluated personally!</strong><br />
|
||||
|
||||
@@ -98,12 +153,12 @@ It's important to add a valid type, this will help us categorize the content and
|
||||
|
||||
- <p><strong>Write meaningful commit messages</strong><br >
|
||||
|
||||
Meaningful commit messages help speed up the review process as well as help other contributors in gaining a good overview of the repositories commit history without having to dive into every commit.
|
||||
Meaningful commit messages help speed up the review process as well as help other contributors gain a good overview of the repositories commit history without having to dive into every commit.
|
||||
|
||||
</p>
|
||||
- <p><strong>Look at the existing issues/pull requests before opening new ones</strong></p>
|
||||
|
||||
### Good vs Not So Good Contributions
|
||||
### Good vs. Not So Good Contributions
|
||||
|
||||
<strong>Good</strong>
|
||||
|
||||
@@ -117,5 +172,5 @@ It's important to add a valid type, this will help us categorize the content and
|
||||
- Adding whitespace that doesn't add to the readability of the content.
|
||||
- Rewriting content in a way that doesn't add any value.
|
||||
- Non-English content.
|
||||
- PR's that don't follow our style guide, have no description and a default title.
|
||||
- PR's that don't follow our style guide, have no description, and a default title.
|
||||
- Links to your own blog articles.
|
||||
|
||||
679
package-lock.json
generated
11
package.json
@@ -29,8 +29,8 @@
|
||||
"test:e2e": "playwright test"
|
||||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^8.3.2",
|
||||
"@astrojs/react": "^3.6.1",
|
||||
"@astrojs/node": "^8.3.3",
|
||||
"@astrojs/react": "^3.6.2",
|
||||
"@astrojs/sitemap": "^3.1.6",
|
||||
"@astrojs/tailwind": "^5.1.0",
|
||||
"@fingerprintjs/fingerprintjs": "^4.4.3",
|
||||
@@ -39,7 +39,7 @@
|
||||
"@resvg/resvg-js": "^2.6.2",
|
||||
"@types/react": "^18.3.3",
|
||||
"@types/react-dom": "^18.3.0",
|
||||
"astro": "^4.13.0",
|
||||
"astro": "^4.15.4",
|
||||
"clsx": "^2.1.1",
|
||||
"dayjs": "^1.11.12",
|
||||
"dom-to-image": "^2.6.0",
|
||||
@@ -50,11 +50,12 @@
|
||||
"jose": "^5.6.3",
|
||||
"js-cookie": "^3.0.5",
|
||||
"lucide-react": "^0.419.0",
|
||||
"luxon": "^3.5.0",
|
||||
"nanoid": "^5.0.7",
|
||||
"nanostores": "^0.10.3",
|
||||
"node-html-parser": "^6.1.13",
|
||||
"npm-check-updates": "^17.0.0",
|
||||
"playwright": "^1.45.3",
|
||||
"playwright": "^1.47.1",
|
||||
"prismjs": "^1.29.0",
|
||||
"react": "^18.3.1",
|
||||
"react-calendar-heatmap": "^1.9.0",
|
||||
@@ -80,8 +81,10 @@
|
||||
"@tailwindcss/typography": "^0.5.13",
|
||||
"@types/dom-to-image": "^2.6.7",
|
||||
"@types/js-cookie": "^3.0.6",
|
||||
"@types/luxon": "^3.4.2",
|
||||
"@types/prismjs": "^1.26.4",
|
||||
"@types/react-calendar-heatmap": "^1.6.7",
|
||||
"@types/react-slick": "^0.23.13",
|
||||
"@types/turndown": "^5.0.5",
|
||||
"csv-parser": "^3.0.0",
|
||||
"gh-pages": "^6.1.1",
|
||||
|
||||
2078
pnpm-lock.yaml
generated
BIN
public/favicon.ico
Normal file
|
After Width: | Height: | Size: 15 KiB |
BIN
public/images/gifs/party-popper.gif
Normal file
|
After Width: | Height: | Size: 386 KiB |
BIN
public/images/gifs/rocket.gif
Normal file
|
After Width: | Height: | Size: 256 KiB |
BIN
public/images/gifs/star.gif
Normal file
|
After Width: | Height: | Size: 145 KiB |
BIN
public/images/gifs/starstruck.gif
Normal file
|
After Width: | Height: | Size: 1.0 MiB |
BIN
public/images/gifs/sunglasses.gif
Normal file
|
After Width: | Height: | Size: 1013 KiB |
BIN
public/pdfs/roadmaps/ai-engineer.pdf
Normal file
BIN
public/pdfs/roadmaps/redis.pdf
Normal file
582
public/roadmap-content/ai-engineer.json
Normal file
@@ -0,0 +1,582 @@
|
||||
{
|
||||
"_hYN0gEi9BL24nptEtXWU": {
|
||||
"title": "Introduction",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"GN6SnI7RXIeW8JeD-qORW": {
|
||||
"title": "What is an AI Engineer?",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jSZ1LhPdhlkW-9QJhIvFs": {
|
||||
"title": "AI Engineer vs ML Engineer",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"wf2BSyUekr1S1q6l8kyq6": {
|
||||
"title": "LLMs",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"KWjD4xEPhOOYS51dvRLd2": {
|
||||
"title": "Inference",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"xostGgoaYkqMO28iN2gx8": {
|
||||
"title": "Training",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"XyEp6jnBSpCxMGwALnYfT": {
|
||||
"title": "Embeddings",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"LnQ2AatMWpExUHcZhDIPd": {
|
||||
"title": "Vector Databases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9JwWIK0Z2MK8-6EQQJsCO": {
|
||||
"title": "RAG",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Dc15ayFlzqMF24RqIF_-X": {
|
||||
"title": "Prompt Engineering",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9XCxilAQ7FRet7lHQr1gE": {
|
||||
"title": "AI Agents",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5QdihE1lLpMc3DFrGy46M": {
|
||||
"title": "AI vs AGI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"qJVgKe9uBvXc-YPfvX_Y7": {
|
||||
"title": "Impact on Product Development",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"K9EiuFgPBFgeRxY4wxAmb": {
|
||||
"title": "Roles and Responsiblities",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"d7fzv_ft12EopsQdmEsel": {
|
||||
"title": "Pre-trained Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"1Ga6DbOPc6Crz7ilsZMYy": {
|
||||
"title": "Benefits of Pre-trained Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"MXqbQGhNM3xpXlMC2ib_6": {
|
||||
"title": "Limitations and Considerations",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2WbVpRLqwi3Oeqk1JPui4": {
|
||||
"title": "Open AI Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"vvpYkmycH0_W030E-L12f": {
|
||||
"title": "Capabilities / Context Length",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"LbB2PeytxRSuU07Bk0KlJ": {
|
||||
"title": "Cut-off Dates / Knowledge",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"hy6EyKiNxk1x84J63dhez": {
|
||||
"title": "Anthropic's Claude",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"oe8E6ZIQWuYvHVbYJHUc1": {
|
||||
"title": "Google's Gemini",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3PQVZbcr4neNMRr6CuNzS": {
|
||||
"title": "Azure AI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OkYO-aSPiuVYuLXHswBCn": {
|
||||
"title": "AWS Sagemaker",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8XjkRqHOdyH-DbXHYiBEt": {
|
||||
"title": "Hugging Face Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"n-Ud2dXkqIzK37jlKItN4": {
|
||||
"title": "Mistral AI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"a7qsvoauFe5u953I699ps": {
|
||||
"title": "Cohere",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5ShWZl1QUqPwO-NRGN85V": {
|
||||
"title": "OpenAI Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"zdeuA4GbdBl2DwKgiOA4G": {
|
||||
"title": "OpenAI API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"_bPTciEA1GT1JwfXim19z": {
|
||||
"title": "Chat Completions API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9-5DYeOnKJq9XvEMWP45A": {
|
||||
"title": "Writing Prompts",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"nyBgEHvUhwF-NANMwkRJW": {
|
||||
"title": "Open AI Playground",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"15XOFdVp0IC-kLYPXUJWh": {
|
||||
"title": "Fine-tuning",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"qzvp6YxWDiGakA2mtspfh": {
|
||||
"title": "Maximum Tokens",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"FjV3oD7G2Ocq5HhUC17iH": {
|
||||
"title": "Token Counting",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"DZPM9zjCbYYWBPLmQImxQ": {
|
||||
"title": "Pricing Considerations",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8ndKHDJgL_gYwaXC7XMer": {
|
||||
"title": "AI Safety and Ethics",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"cUyLT6ctYQ1pgmodCKREq": {
|
||||
"title": "Prompt Injection Attacks",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"lhIU0ulpvDAn1Xc3ooYz_": {
|
||||
"title": "Bias and Fareness",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"sWBT-j2cRuFqRFYtV_5TK": {
|
||||
"title": "Security and Privacy Concerns",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Pt-AJmSJrOxKvolb5_HEv": {
|
||||
"title": "Conducting adversarial testing",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ljZLa3yjQpegiZWwtnn_q": {
|
||||
"title": "OpenAI Moderation API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4Q5x2VCXedAWISBXUIyin": {
|
||||
"title": "Adding end-user IDs in prompts",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"qmx6OHqx4_0JXVIv8dASp": {
|
||||
"title": "Robust prompt engineering",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"t1SObMWkDZ1cKqNNlcd9L": {
|
||||
"title": "Know your Customers / Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ONLDyczNacGVZGojYyJrU": {
|
||||
"title": "Constraining outputs and inputs",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"a_3SabylVqzzOyw3tZN5f": {
|
||||
"title": "OpenSource AI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"RBwGsq9DngUsl8PrrCbqx": {
|
||||
"title": "Open vs Closed Source Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"97eu-XxYUH9pYbD_KjAtA": {
|
||||
"title": "Popular Open Source Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"v99C5Bml2a6148LCJ9gy9": {
|
||||
"title": "Hugging Face",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"YLOdOvLXa5Fa7_mmuvKEi": {
|
||||
"title": "Hugging Face Hub",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"YKIPOiSj_FNtg0h8uaSMq": {
|
||||
"title": "Hugging Face Tasks",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3kRTzlLNBnXdTsAEXVu_M": {
|
||||
"title": "Inference SDK",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"bGLrbpxKgENe2xS1eQtdh": {
|
||||
"title": "Transformers.js",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"rTT2UnvqFO3GH6ThPLEjO": {
|
||||
"title": "Ollama",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ro3vY_sp6xMQ-hfzO-rc1": {
|
||||
"title": "Ollama Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"TsG_I7FL-cOCSw8gvZH3r": {
|
||||
"title": "Ollama SDK",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"--ig0Ume_BnXb9K2U7HJN": {
|
||||
"title": "What are Embeddings",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"eMfcyBxnMY_l_5-8eg6sD": {
|
||||
"title": "Semantic Search",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"HQe9GKy3p0kTUPxojIfSF": {
|
||||
"title": "Recommendation Systems",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"AglWJ7gb9rTT2rMkstxtk": {
|
||||
"title": "Anomaly Detection",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"06Xta-OqSci05nV2QMFdF": {
|
||||
"title": "Data Classification",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"l6priWeJhbdUD5tJ7uHyG": {
|
||||
"title": "Open AI Embeddings API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"y0qD5Kb4Pf-ymIwW-tvhX": {
|
||||
"title": "Open AI Embedding Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4GArjDYipit4SLqKZAWDf": {
|
||||
"title": "Pricing Considerations",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"apVYIV4EyejPft25oAvdI": {
|
||||
"title": "Open-Source Embeddings",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ZV_V6sqOnRodgaw4mzokC": {
|
||||
"title": "Sentence Transformers",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"dLEg4IA3F5jgc44Bst9if": {
|
||||
"title": "Models on Hugging Face",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"tt9u3oFlsjEMfPyojuqpc": {
|
||||
"title": "Vector Databases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"WcjX6p-V-Rdd77EL8Ega9": {
|
||||
"title": "Purpose and Functionality",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"dSd2C9lNl-ymmCRT9_ZC3": {
|
||||
"title": "Chroma",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"_Cf7S1DCvX7p1_3-tP3C3": {
|
||||
"title": "Pinecone",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"VgUnrZGKVjAAO4n_llq5-": {
|
||||
"title": "Weaviate",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"JurLbOO1Z8r6C3yUqRNwf": {
|
||||
"title": "FAISS",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"rjaCNT3Li45kwu2gXckke": {
|
||||
"title": "LanceDB",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"DwOAL5mOBgBiw-EQpAzQl": {
|
||||
"title": "Qdrant",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9kT7EEQsbeD2WDdN9ADx7": {
|
||||
"title": "Supabase",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"j6bkm0VUgLkHdMDDJFiMC": {
|
||||
"title": "MongoDB Atlas",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5TQnO9B4_LTHwqjI7iHB1": {
|
||||
"title": "Indexing Embeddings",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ZcbRPtgaptqKqWBgRrEBU": {
|
||||
"title": "Performing Similarity Search",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"lVhWhZGR558O-ljHobxIi": {
|
||||
"title": "RAG & Implementation",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"GCn4LGNEtPI0NWYAZCRE-": {
|
||||
"title": "RAG Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"qlBEXrbV88e_wAGRwO9hW": {
|
||||
"title": "RAG vs Fine-tuning",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mX987wiZF7p3V_gExrPeX": {
|
||||
"title": "Chunking",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"grTcbzT7jKk_sIUwOTZTD": {
|
||||
"title": "Embedding",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"zZA1FBhf1y4kCoUZ-hM4H": {
|
||||
"title": "Vector Database",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OCGCzHQM2LQyUWmiqe6E0": {
|
||||
"title": "Retrieval Process",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2jJnS9vRYhaS69d6OxrMh": {
|
||||
"title": "Generation",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"WZVW8FQu6LyspSKm1C_sl": {
|
||||
"title": "Using SDKs Directly",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ebXXEhNRROjbbof-Gym4p": {
|
||||
"title": "Langchain",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"d0ontCII8KI8wfP-8Y45R": {
|
||||
"title": "Llama Index",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"eOqCBgBTKM8CmY3nsWjre": {
|
||||
"title": "Open AI Assistant API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"c0RPhpD00VIUgF4HJgN2T": {
|
||||
"title": "Replicate",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"AeHkNU-uJ_gBdo5-xdpEu": {
|
||||
"title": "AI Agents",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"778HsQzTuJ_3c9OSn5DmH": {
|
||||
"title": "Agents Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"voDKcKvXtyLzeZdx2g3Qn": {
|
||||
"title": "ReAct Prompting",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"6xaRB34_g0HGt-y1dGYXR": {
|
||||
"title": "Manual Implementation",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Sm0Ne5Nx72hcZCdAcC0C2": {
|
||||
"title": "OpenAI Functions / Tools",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mbp2NoL-VZ5hZIIblNBXt": {
|
||||
"title": "OpenAI Assistant API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"W7cKPt_UxcUgwp8J6hS4p": {
|
||||
"title": "Multimodal AI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"sGR9qcro68KrzM8qWxcH8": {
|
||||
"title": "Multimodal AI Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"fzVq4hGoa2gdbIzoyY1Zp": {
|
||||
"title": "Image Understanding",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"49BWxYVFpIgZCCqsikH7l": {
|
||||
"title": "Image Generation",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"TxaZCtTCTUfwCxAJ2pmND": {
|
||||
"title": "Video Understanding",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mxQYB820447DC6kogyZIL": {
|
||||
"title": "Audio Processing",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"GCERpLz5BcRtWPpv-asUz": {
|
||||
"title": "Text-to-Speech",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jQX10XKd_QM5wdQweEkVJ": {
|
||||
"title": "Speech-to-Text",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"CRrqa-dBw1LlOwVbrZhjK": {
|
||||
"title": "OpenAI Vision API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"LKFwwjtcawJ4Z12X102Cb": {
|
||||
"title": "DALL-E API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OTBd6cPUayKaAM-fLWdSt": {
|
||||
"title": "Whisper API",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"EIDbwbdolR_qsNKVDla6V": {
|
||||
"title": "Hugging Face Models",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"j9zD3pHysB1CBhLfLjhpD": {
|
||||
"title": "LangChain for Multimodal Apps",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"akQTCKuPRRelj2GORqvsh": {
|
||||
"title": "LlamaIndex for Multimodal Apps",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"NYge7PNtfI-y6QWefXJ4d": {
|
||||
"title": "Development Tools",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"XcKeQfpTA5ITgdX51I4y-": {
|
||||
"title": "AI Code Editors",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"TifVhqFm1zXNssA8QR3SM": {
|
||||
"title": "Code Completion Tools",
|
||||
"description": "",
|
||||
"links": []
|
||||
}
|
||||
}
|
||||
@@ -798,7 +798,7 @@
|
||||
"description": "Stoplight is an advanced tool that offers a comprehensive platform for technical teams to handle all aspects of API design. Leveraging Stoplight, teams can design, document and develop APIs in a more collaborative and streamlined manner. It uses an OpenAPI specification and allows users to design APIs visually, making API development easier. With its ability to auto-generate API documentation, performing API mock testing, and providing API management features, Stoplight plays a crucial role in adopting a design-first approach in API development. By using Stoplight, APIs can be designed to be easy-to-use, scalable, and robust from the outset, which ultimately improves the overall development process and quality of the APIs.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "/stoplightio",
|
||||
"title": "stoplightio",
|
||||
"url": "https://github.com/stoplightio",
|
||||
"type": "opensource"
|
||||
},
|
||||
@@ -1259,7 +1259,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "@articleWhat is API mocking (What is API Mocking? Definition, Guide, and Best Practices)",
|
||||
"title": "What is API mocking (What is API Mocking? Definition, Guide, and Best Practices)",
|
||||
"url": "https://blog.postman.com/what-is-api-mocking/",
|
||||
"type": "article"
|
||||
},
|
||||
|
||||
@@ -1953,7 +1953,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Python Roadmap",
|
||||
"url": "/python",
|
||||
"url": "https://roadmap.sh/python",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -1994,7 +1994,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Go Roadmap",
|
||||
"url": "/golang",
|
||||
"url": "https://roadmap.sh/golang",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -2056,7 +2056,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated React Roadmap",
|
||||
"url": "/react",
|
||||
"url": "https://roadmap.sh/react",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -2097,7 +2097,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Angular Roadmap",
|
||||
"url": "/angular",
|
||||
"url": "https://roadmap.sh/angular",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -2118,7 +2118,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Vue Roadmap",
|
||||
"url": "/vue",
|
||||
"url": "https://roadmap.sh/vue",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Python Roadmap",
|
||||
"url": "/python",
|
||||
"url": "https://roadmap.sh/python",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -107,7 +107,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Go Roadmap",
|
||||
"url": "/golang",
|
||||
"url": "https://roadmap.sh/golang",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -292,7 +292,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Java Roadmap",
|
||||
"url": "/java",
|
||||
"url": "https://roadmap.sh/java",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -372,16 +372,6 @@
|
||||
"url": "https://www.coursera.org/lecture/data-structures/doubly-linked-lists-jpGKD",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "CS 61B Lecture 7: Linked Lists I",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_htzJdKoEmO0",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "CS 61B Lecture 7: Linked Lists II",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_-c4I3gFYe3w",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Linked List Data Structure | Illustrated Data Structures",
|
||||
"url": "https://www.youtube.com/watch?v=odW9FU8jPRQ",
|
||||
@@ -392,6 +382,16 @@
|
||||
"url": "https://www.youtube.com/watch?v=F8AbOfQwl1c",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "CS 61B Lecture 7: Linked Lists I",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_htzJdKoEmO0",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "CS 61B Lecture 7: Linked Lists II",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_-c4I3gFYe3w",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Why you should avoid Linked Lists?",
|
||||
"url": "https://www.youtube.com/watch?v=YQs6IC-vgmo",
|
||||
@@ -511,16 +511,16 @@
|
||||
"url": "https://www.coursera.org/lecture/data-structures/dynamic-arrays-EwbnV",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "UC Berkeley CS61B - Linear and Multi-Dim Arrays (Start watching from 15m 32s)",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_Wp8oiO_CZZE",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Array Data Structure | Illustrated Data Structures",
|
||||
"url": "https://www.youtube.com/watch?v=QJNwK2uJyGs",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "UC Berkeley CS61B - Linear and Multi-Dim Arrays (Start watching from 15m 32s)",
|
||||
"url": "https://archive.org/details/ucberkeley_webcast_Wp8oiO_CZZE",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Dynamic and Static Arrays",
|
||||
"url": "https://www.youtube.com/watch?v=PEnFFiQe1pM&list=PLDV1Zeh2NRsB6SWUrDFW2RmDotAfPbeHu&index=6",
|
||||
@@ -3786,7 +3786,7 @@
|
||||
},
|
||||
"7r7o8pYhFHVAJIv0wNT6X": {
|
||||
"title": "Hashing / Encryption / Encoding",
|
||||
"description": "Hashing is a one-way function that takes an input and produces a fixed-length output. The output is called a hash. The hash is a unique representation of the input. The hash is deterministic, meaning that the same input will always produce the same hash. The hash is irreversible, meaning that it is impossible to go from the hash back to the original input. The hash is collision-resistant, meaning that it is impossible to find two different inputs that produce the same hash.\n\nEncryption is a two-way function that takes an input and produces an output. The output is called ciphertext. The ciphertext is a unique representation of the input. The ciphertext is deterministic, meaning that the same input will always produce the same ciphertext. The ciphertext is reversible, meaning that it is possible to go from the ciphertext back to the original input. The ciphertext is collision-resistant, meaning that it is impossible to find two different inputs that produce the same ciphertext.\n\nEncoding is a two-way function that takes an input and produces an output. The output is called encoded text. The encoded text is a unique representation of the input. The encoded text is deterministic, meaning that the same input will always produce the same encoded text. The encoded text is reversible, meaning that it is possible to go from the encoded text back to the original input. The encoded text is not collision-resistant, meaning that it is possible to find two different inputs that produce the same encoded text.\n\nVisit the following resources to learn more:",
|
||||
"description": "Hashing is a one-way function that takes an input and produces a fixed-length output. The output is called a hash. The hash is a unique representation of the input. The hash is deterministic, meaning that the same input will always produce the same hash. The hash is irreversible, meaning that it is impossible to go from the hash back to the original input. The hash is not collision-resistant, meaning that it is possible to find two different inputs that produce the same hash.\n\nEncryption is a two-way function that takes an input and produces an output. The output is called ciphertext. The ciphertext is a unique representation of the input. The ciphertext is deterministic, meaning that the same input will always produce the same ciphertext. The ciphertext is reversible, meaning that it is possible to go from the ciphertext back to the original input. The ciphertext is collision-resistant, meaning that it is impossible to find two different inputs that produce the same ciphertext.\n\nEncoding is a two-way function that takes an input and produces an output. The output is called encoded text. The encoded text is a unique representation of the input. The encoded text is deterministic, meaning that the same input will always produce the same encoded text. The encoded text is reversible, meaning that it is possible to go from the encoded text back to the original input. The encoded text is collision-resistant, meaning that it is impossible to find two different inputs that produce the same encoded text.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Explore top posts about Encryption",
|
||||
@@ -3954,7 +3954,7 @@
|
||||
]
|
||||
},
|
||||
"ETEUA7jaEGyOEX8tAVNWs": {
|
||||
"title": "Porcesses and Threads",
|
||||
"title": "Processes and Threads",
|
||||
"description": "Processes and threads are the basic building blocks of a computer program. They are the smallest units of execution in a program. A process is an instance of a program that is being executed. A thread is a sequence of instructions within a process that can be executed independently of other code.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"3xp2fogAVmwXQhdzhZDWR": {
|
||||
"title": "Introduction",
|
||||
"description": "Data Analysis plays a crucial role in today's data-centric world. It involves the practice of inspecting, cleansing, transforming, and modeling data to extract valuable insights for decision-making. A **Data Analyst** is a professional primarily tasked with collecting, processing, and performing statistical analysis on large datasets. They discover how data can be used to answer questions and solve problems. With the rapid expansion of data in modern firms, the role of a data analyst has been evolving greatly, making them a significant asset in business strategy and decision-making processes.\n\nLearn more from the following resources:",
|
||||
"description": "Data Analysis plays a crucial role in today's data-centric world. It involves the practice of inspecting, cleansing, transforming, and modeling data to extract valuable insights for decision-making. A **Data Analyst** is a professional primarily tasked with collecting, processing, and performing statistical analysis on large datasets. They discover how data can be used to answer questions and solve problems. With the rapid expansion of data in modern firms, the role of a data analyst has been evolving greatly, making them a significant asset in business strategy and decision-making processes.",
|
||||
"links": []
|
||||
},
|
||||
"yCnn-NfSxIybUQ2iTuUGq": {
|
||||
@@ -11,8 +11,29 @@
|
||||
},
|
||||
"Lsapbmg-eMIYJAHpV97nO": {
|
||||
"title": "Types of Data Analytics",
|
||||
"description": "Data Analytics has proven to be a critical part of decision-making in modern business ventures. It is responsible for discovering, interpreting, and transforming data into valuable information. Different types of data analytics look at past, present, or predictive views of business operations.\n\nData Analysts, as ambassadors of this domain, employ these types, which are namely Descriptive Analytics, Diagnostic Analytics, Predictive Analytics and Prescriptive Analytics, to answer various questions — What happened? Why did it happen? What could happen? And what should we do next? Understanding these types gives data analysts the power to transform raw datasets into strategic insights.",
|
||||
"links": []
|
||||
"description": "Data Analytics has proven to be a critical part of decision-making in modern business ventures. It is responsible for discovering, interpreting, and transforming data into valuable information. Different types of data analytics look at past, present, or predictive views of business operations.\n\nData Analysts, as ambassadors of this domain, employ these types, to answer various questions:\n\n* Descriptive Analytics _(what happened in the past?)_\n* Diagnostic Analytics _(why did it happened in the past?)_\n* Predictive Analytics _(what will happen in the future?)_\n* Prescriptive Analytics _(how can we make it happen?)_\n\nUnderstanding these types gives data analysts the power to transform raw datasets into strategic insights.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Data Analytics and its type",
|
||||
"url": "https://www.geeksforgeeks.org/data-analytics-and-its-type/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "The 4 Types of Data Analysis: Ultimate Guide",
|
||||
"url": "https://careerfoundry.com/en/blog/data-analytics/different-types-of-data-analysis/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Descriptive vs Diagnostic vs Predictive vs Prescriptive Analytics: What's the Difference?",
|
||||
"url": "https://www.youtube.com/watch?v=QoEpC7jUb9k",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Types of Data Analytics",
|
||||
"url": "https://www.youtube.com/watch?v=lsZnSgxMwBA",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hWDh0ooidbqZb000ENVok": {
|
||||
"title": "Descriptive Analytics",
|
||||
@@ -63,7 +84,7 @@
|
||||
]
|
||||
},
|
||||
"DFMR-0MbmVCCrJu0I9JWG": {
|
||||
"title": "Prespective Analytics",
|
||||
"title": "Prescriptive Analytics",
|
||||
"description": "Prescriptive analytics, a crucial type of data analytics, is essential for making data-driven decisions in business and organizational contexts. As a data analyst, the goal of prescriptive analytics is to recommend various actions using predictions on the basis of known parameters to help decision makers understand likely outcomes. Prescriptive analytics employs a blend of techniques and tools such as algorithms, machine learning, computational modelling procedures, and decision-tree structures to enable automated decision making. Therefore, prescriptive analytics not only anticipates what will happen and when it will happen, but also explains why it will happen, contributing to the significance of a data analyst’s role in an organization.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
@@ -136,12 +157,12 @@
|
||||
"description": "The visualization of data is an essential skill in the toolkit of every data analyst. This practice is about transforming complex raw data into a graphical format that allows for an easier understanding of large data sets, trends, outliers, and important patterns. Whether pie charts, line graphs, bar graphs, or heat maps, data visualization techniques not only streamline data analysis, but also facilitate a more effective communication of the findings to others. This key concept underscores the importance of presenting data in a digestible and visually appealing manner to drive data-informed decision making in an organization.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Data visualisation beginner's guide",
|
||||
"title": "Data visualization beginner's guide",
|
||||
"url": "https://www.tableau.com/en-gb/learn/articles/data-visualization",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Data Visualisation in 2024",
|
||||
"title": "Data Visualization in 2024",
|
||||
"url": "https://www.youtube.com/watch?v=loYuxWSsLNc",
|
||||
"type": "video"
|
||||
}
|
||||
@@ -183,6 +204,11 @@
|
||||
"title": "Analaysis / Reporting with Excel",
|
||||
"description": "Excel is a powerful tool utilized by data analysts worldwide to store, manipulate, and analyze data. It offers a vast array of features such as pivot tables, graphs and a powerful suite of formulas and functions to help sift through large sets of data. A data analyst uses Excel to perform a wide range of tasks, from simple data entry and cleaning, to more complex statistical analysis and predictive modeling. Proficiency in Excel is often a key requirement for a data analyst, as its versatility and ubiquity make it an indispensable tool in the field of data analysis.",
|
||||
"links": [
|
||||
{
|
||||
"title": "Microsoft Excel Course",
|
||||
"url": "https://support.microsoft.com/en-us/office/excel-video-training-9bc05390-e94c-46af-a5b3-d7c22f6990bb",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "W3Schools - Excel",
|
||||
"url": "https://www.w3schools.com/excel/index.php",
|
||||
@@ -214,6 +240,11 @@
|
||||
"title": "DATEDIF function",
|
||||
"url": "https://support.microsoft.com/en-gb/office/datedif-function-25dba1a4-2812-480b-84dd-8b32a451b35c",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "How to use DATEDIF in Excel",
|
||||
"url": "https://www.excel-easy.com/examples/datedif.html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -403,15 +434,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"i4VCwFm-wc9cqE73i-BIb": {
|
||||
"title": "Learn SQL",
|
||||
"description": "Structured Query Language, or SQL, is an essential tool for every data analyst. As a domain-specific language used in programming and designed for managing data held in relational database management systems, SQL allows analysts to manipulate and analyse large volumes of data efficiently. Understanding SQL allows a data analyst to extract insights from data stored in databases, conduct complex queries, and create elaborate data reports. SQL is recognized for its effectiveness in data manipulation and its compatibility with other coding languages, making it a fundamental competency in the data analytics field.",
|
||||
"links": []
|
||||
},
|
||||
"i2uEcaO4bJhcZ5ayRs2CQ": {
|
||||
"title": "Learn a Programming Lang.",
|
||||
"description": "We have two main programming languages when it comes to data analysis: Python and R. Both have extensive libraries to help with decision-making processes in various situations, assisting in manipulating, modeling, and visualizing data. Python is a versatile language, used not only for data analysis but also for web development, automation, artificial intelligence, and more. R, on the other hand, was specifically created for statistical analysis and data visualization, making it an excellent choice for statisticians and researchers. It is known for its advanced visualization capabilities, allowing the creation of highly customizable and sophisticated graphs and plots.\n\nWith potential doubts about which language to choose to advance in a data career, it is ideal to consider your goals and/or the current market needs and choose which language to learn. If you are more interested in a career that combines data analysis with software development, automation, or artificial intelligence, Python may be the best choice. If your focus is purely on statistics and data visualization, R might be more suitable.",
|
||||
"links": []
|
||||
"description": "We have two main programming languages when it comes to data analysis: Python and R. Both have extensive libraries to help with decision-making processes in various situations, assisting in manipulating, modeling, and visualizing data. Python is a versatile language, used not only for data analysis but also for web development, automation, artificial intelligence, and more. R, on the other hand, was specifically created for statistical analysis and data visualization, making it an excellent choice for statisticians and researchers. It is known for its advanced visualization capabilities, allowing the creation of highly customizable and sophisticated graphs and plots.\n\nWith potential doubts about which language to choose to advance in a data career, it is ideal to consider your goals and/or the current market needs and choose which language to learn. If you are more interested in a career that combines data analysis with software development, automation, or artificial intelligence, Python may be the best choice. If your focus is purely on statistics and data visualization, R might be more suitable.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Python Data Science Handbook",
|
||||
"url": "https://jakevdp.github.io/PythonDataScienceHandbook/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"g_EBQizZsIe-vn8ir6FTv": {
|
||||
"title": "R",
|
||||
@@ -491,6 +523,11 @@
|
||||
"title": "Ggplot2",
|
||||
"description": "When it comes to data visualization in R programming, ggplot2 stands tall as one of the primary tools for data analysts. This data visualization library, which forms part of the tidyverse suite of packages, facilitates the creation of complex and sophisticated visual narratives. With its grammar of graphics philosophy, ggplot2 enables analysts to build graphs and charts layer by layer, thereby offering detailed control over graphical features and design. Its versatility in creating tailored and aesthetically pleasing graphics is a vital asset for any data analyst tackling exploratory data analysis, reporting, or dashboard building.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "ggplot2 website",
|
||||
"url": "https://ggplot2.tidyverse.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Make beautiful graphs in R",
|
||||
"url": "https://www.youtube.com/watch?v=qnw1xDnt_Ec",
|
||||
@@ -619,6 +656,11 @@
|
||||
"title": "Data Transformation",
|
||||
"description": "Data Transformation, also known as Data Wrangling, is an essential part of a Data Analyst's role. This process involves the conversion of data from a raw format into another format to make it more appropriate and valuable for a variety of downstream purposes such as analytics. Data Analysts transform data to make the data more suitable for analysis, ensure accuracy, and to improve data quality. The right transformation techniques can give the data a structure, multiply its value, and enhance the accuracy of the analytics performed by serving meaningful results.",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is data transformation?",
|
||||
"url": "https://www.qlik.com/us/data-management/data-transformation",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about Data Analysis",
|
||||
"url": "https://app.daily.dev/tags/data-analysis?ref=roadmapsh",
|
||||
@@ -679,9 +721,14 @@
|
||||
"description": "Dispersion in descriptive analysis, specifically for a data analyst, offers a crucial way to understand the variability or spread in a set of data. Descriptive analysis focus on describing and summarizing data to find patterns, relationships, or trends. Distinct measures of dispersion such as range, variance, standard deviation, and interquartile range gives data analysts insight into how spread out data points are, and how reliable any patterns detected may be. This understanding of dispersion helps data analysts in identifying outliers, drawing meaningful conclusions, and making informed predictions.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Standard Deviation and Variance",
|
||||
"url": "https://www.mathsisfun.com/data/standard-deviation.html",
|
||||
"title": "What is dispersion?",
|
||||
"url": "https://www.investopedia.com/terms/d/dispersion.asp",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Statistics 101 - Measures of Dispersion",
|
||||
"url": "https://www.youtube.com/watch?v=goXdWMZxlqM",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -751,8 +798,19 @@
|
||||
},
|
||||
"yn1sstYMO9du3rpfQqNs9": {
|
||||
"title": "Average",
|
||||
"description": "When focusing on data analysis, understanding key statistical concepts is crucial. Amongst these, central tendency is a foundational element. Central Tendency refers to the measure that determines the center of a distribution. The average is a commonly used statistical tool by which data analysts discern trends and patterns. As one of the most recognized forms of central tendency, figuring out the \"average\" involves summing all values in a data set and dividing by the number of values. This provides analysts with a 'typical' value, around which the remaining data tends to cluster, facilitating better decision-making based on existing data.",
|
||||
"links": []
|
||||
"description": "When focusing on data analysis, understanding key statistical concepts is crucial. Amongst these, central tendency is a foundational element. Central Tendency refers to the measure that determines the center of a distribution. The average is a commonly used statistical tool by which data analysts discern trends and patterns. As one of the most recognized forms of central tendency, figuring out the \"average\" involves summing all values in a data set and dividing by the number of values. This provides analysts with a 'typical' value, around which the remaining data tends to cluster, facilitating better decision-making based on existing data.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "How to calculate the average",
|
||||
"url": "https://support.microsoft.com/en-gb/office/calculate-the-average-of-a-group-of-numbers-e158ef61-421c-4839-8290-34d7b1e68283#:~:text=Average%20This%20is%20the%20arithmetic,by%206%2C%20which%20is%205.",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Average Formula",
|
||||
"url": "https://www.cuemath.com/average-formula/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tSxtyJhL5wjU0XJcjsJmm": {
|
||||
"title": "Range",
|
||||
@@ -770,12 +828,12 @@
|
||||
"description": "Data analysts heavily rely on statistical concepts to analyze and interpret data, and one such fundamental concept is variance. Variance, an essential measure of dispersion, quantifies the spread of data, providing insight into the level of variability within the dataset. Understanding variance is crucial for data analysts as the reliability of many statistical models depends on the assumption of constant variance across observations. In other words, it helps analysts determine how much data points diverge from the expected value or mean, which can be pivotal in identifying outliers, understanding data distribution, and driving decision-making processes. However, variance can't be interpreted in the original units of measurement due to its squared nature, which is why it is often used in conjunction with its square root, the standard deviation.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "",
|
||||
"title": "What is variance?",
|
||||
"url": "https://www.investopedia.com/terms/v/variance.asp",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "https://www.scribbr.co.uk/stats/variance-meaning/",
|
||||
"title": "How to calculate variance",
|
||||
"url": "https://www.scribbr.co.uk/stats/variance-meaning/",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -816,6 +874,11 @@
|
||||
"title": "Kurtosis: Definition, Types, and Importance",
|
||||
"url": "https://www.investopedia.com/terms/k/kurtosis.asp",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is Kurtosis?",
|
||||
"url": "https://www.youtube.com/watch?v=AsxEDBhESJg",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -869,8 +932,19 @@
|
||||
},
|
||||
"tvDdXwaRPsUSTqJGaLS3P": {
|
||||
"title": "Matplotlib",
|
||||
"description": "For a Data Analyst, understanding data and being able to represent it in a visually insightful form is a crucial part of effective decision-making in any organization. Matplotlib, a plotting library for the Python programming language, is an extremely useful tool for this purpose. It presents a versatile framework for generating line plots, scatter plots, histogram, bar charts and much more in a very straightforward manner. This library also allows for comprehensive customizations, offering a high level of control over the look and feel of the graphics it produces, which ultimately enhances the quality of data interpretation and communication.",
|
||||
"links": []
|
||||
"description": "For a Data Analyst, understanding data and being able to represent it in a visually insightful form is a crucial part of effective decision-making in any organization. Matplotlib, a plotting library for the Python programming language, is an extremely useful tool for this purpose. It presents a versatile framework for generating line plots, scatter plots, histogram, bar charts and much more in a very straightforward manner. This library also allows for comprehensive customizations, offering a high level of control over the look and feel of the graphics it produces, which ultimately enhances the quality of data interpretation and communication.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Matplotlib Website",
|
||||
"url": "https://matplotlib.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learn Matplotlib in 6 minutes",
|
||||
"url": "https://www.youtube.com/watch?v=nzKy9GY12yo",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"-cJb8gEBvdVFf7FlgG3Ud": {
|
||||
"title": "Seaborn",
|
||||
@@ -890,8 +964,19 @@
|
||||
},
|
||||
"n3M49lgNPn28hm7kzki-a": {
|
||||
"title": "ggplot2",
|
||||
"description": "ggplot2 is an important and powerful tool in the data analyst's toolkit, especially for visualizing and understanding complex datasets. Built within the R programming language, it provides a flexible, cohesive environment for creating graphs. The main strength of ggplot2 lies in its ability to produce sophisticated and tailored visualizations. This allows data analysts to communicate data-driven findings in an efficient and effective manner, enabling clear communication to stakeholders about relevant insights and patterns identified within the data.",
|
||||
"links": []
|
||||
"description": "ggplot2 is an important and powerful tool in the data analyst's toolkit, especially for visualizing and understanding complex datasets. Built within the R programming language, it provides a flexible, cohesive environment for creating graphs. The main strength of ggplot2 lies in its ability to produce sophisticated and tailored visualizations. This allows data analysts to communicate data-driven findings in an efficient and effective manner, enabling clear communication to stakeholders about relevant insights and patterns identified within the data.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "ggplot2 website",
|
||||
"url": "https://ggplot2.tidyverse.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Make beautiful graphs in R",
|
||||
"url": "https://www.youtube.com/watch?v=qnw1xDnt_Ec",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"EVk1H-QLtTlpG7lVEenDt": {
|
||||
"title": "Bar Charts",
|
||||
@@ -1055,6 +1140,11 @@
|
||||
"title": "Correlation",
|
||||
"url": "https://www.mathsisfun.com/data/correlation.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is correlation analysis?",
|
||||
"url": "https://blog.flexmr.net/correlation-analysis-definition-exploration",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1233,8 +1323,8 @@
|
||||
"description": "K-Nearest Neighbors (KNN) is a simple yet powerful algorithm used in the field of machine learning, which a Data Analyst might employ for tasks such as classification or regression. It works based on the principle of proximity, where the prediction of new instance's category depends upon the category of its nearest neighbors. For a Data Analyst working with complex data sets, it's crucial to understand how the KNN algorithm operates, its applicability, pros, and cons. This will facilitate making well-informed decisions about when to utilize it for the best possible outcome in data analysis.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "https://www.ibm.com/topics/knn#:~:text=The k-nearest neighbors (KNN,used in machine learning today.)",
|
||||
"url": "https://www.ibm.com/topics/knn#:~:text=The%20k%2Dnearest%20neighbors%20(KNN,used%20in%20machine%20learning%20today.)",
|
||||
"title": "What is the k-nearest neighbors (KNN) algorithm?",
|
||||
"url": "https://www.ibm.com/topics/knn#:~:text=The%20k%2Dnearest%20neighbors%20KNN,used%20in%20machine%20learning%20today.",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -1265,12 +1355,12 @@
|
||||
"description": "Parallel processing is an efficient form of data processing that allows Data Analysts to deal with larger volumes of data at a faster pace. It is a computational method that allows multiple tasks to be performed concurrently, instead of sequentially, thus, speeding up data processing. Parallel processing proves to be invaluable for Data Analysts, as they are often tasked with analyzing huge data sets and compiling reports in real-time. As the demand for rapid data processing and quick analytics is on the rise, the technique of parallel processing forms a critical element in the versatile toolkit of a Data Analyst.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is parallel processing?",
|
||||
"title": "What Is Parallel Processing?",
|
||||
"url": "https://www.spiceworks.com/tech/iot/articles/what-is-parallel-processing/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "How parallel computing works?",
|
||||
"title": "How Parallel Computing Works",
|
||||
"url": "https://computer.howstuffworks.com/parallel-processing.htm",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -1459,7 +1549,18 @@
|
||||
},
|
||||
"iTmtpXe7dR4XKslgpsk2q": {
|
||||
"title": "Data Storage Solutions",
|
||||
"description": "As a business enterprise expands, so does its data. For data analysts, the surge in information means they need efficient and scalable data storage solutions to manage vast volumes of structured and unstructured data, collectively referred to as Big Data. Big Data storage solutions are critical in preserving the integrity of data while also providing quick and easy access to the data when needed. These solutions use software and hardware components to securely store massive amounts of information across numerous servers, allowing data analysts to perform robust data extraction, data processing and complex data analyses. There are several options, from the traditional Relational Database Management Systems (RDBMS) to the more recent NoSQL databases, Hadoop ecosystems, and Cloud storage solutions, each offering unique capabilities and benefits to cater for different big data needs.",
|
||||
"links": []
|
||||
"description": "As a business enterprise expands, so does its data. For data analysts, the surge in information means they need efficient and scalable data storage solutions to manage vast volumes of structured and unstructured data, collectively referred to as Big Data. Big Data storage solutions are critical in preserving the integrity of data while also providing quick and easy access to the data when needed. These solutions use software and hardware components to securely store massive amounts of information across numerous servers, allowing data analysts to perform robust data extraction, data processing and complex data analyses. There are several options, from the traditional Relational Database Management Systems (RDBMS) to the more recent NoSQL databases, Hadoop ecosystems, and Cloud storage solutions, each offering unique capabilities and benefits to cater for different big data needs.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "SQL Roadmap",
|
||||
"url": "https://roadmap.sh/sql",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "PostgreSQL Roadmap",
|
||||
"url": "https://roadmap.sh/postgresql-dba",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -232,8 +232,24 @@
|
||||
},
|
||||
"X0xUzEP0S6SyspvqyoDDk": {
|
||||
"title": "Technical Documentation",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Technical documentation refers to the process of creating and maintaining written descriptions of software, hardware, and other technical products or systems. It involves communicating complex information in a clear, concise, and organized manner to help users understand, operate, and maintain the product or system. Effective technical documentation can take many forms, including user manuals, guides, tutorials, release notes, and API documentation, and is typically created by technical writers, developers, and subject matter experts. The goal of technical documentation is to provide accurate, up-to-date, and easily accessible information that enables users to get the most out of a product or system, while also reducing support queries and improving overall user experience.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Technical Writer Roadmap",
|
||||
"url": "https://roadmap.sh/technical-writer",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Technical Writing - MDN Docs",
|
||||
"url": "https://developer.mozilla.org/en-US/blog/technical-writing/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Technical Documentation - Wikipedia",
|
||||
"url": "https://en.wikipedia.org/wiki/Technical_documentation",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"urbtoZtuJryK-6TJ3lmRN": {
|
||||
"title": "Social Media",
|
||||
@@ -353,18 +369,76 @@
|
||||
},
|
||||
"aSYXa25_0O2qQl1O-N3xl": {
|
||||
"title": "Basic Programming Skills",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Basic programming skills are essential for Developer Relations professionals to effectively communicate with developers, understand their needs, and provide technical support. These skills include proficiency in at least one programming language, understanding of data structures and algorithms, and familiarity with development tools and technologies. Having basic programming skills enables Developer Relations professionals to create educational content, provide technical guidance, and participate in code reviews.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "TheNewStack.io - Devrel",
|
||||
"url": "https://thenewstack.io/devrel-for-beginners-how-to-get-started/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Getting Started With Devrel- Dev.to",
|
||||
"url": "https://dev.to/rejoice/getting-started-with-devrel-22n3",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "How to become a DevRel",
|
||||
"url": "https://www.pluralsight.com/resources/blog/tech-operations/developer-relations-getting-a-devrel-job",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"KdFYmj36M2jrGfsYkukpo": {
|
||||
"title": "IDEs",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The concept of Integrated Development Environments (IDEs) traces its roots back to the 1960s and 1970s when basic text editors and simple programming tools were used in early computing. The first notable IDEs emerged with the rise of Unix systems in the 1970s, such as the EMACS text editor, which included features like code editing and debugging. Today, IDEs have become essential for developers, supporting multiple programming languages and integrating cloud-based tools, continuous integration, and real-time collaboration. IDEs like Visual Studio Code, IntelliJ IDEA, and Eclipse are widely adopted by developers across industries.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "History of IDEs",
|
||||
"url": "https://multiqos.com/blogs/guide-to-integrated-development-environment/#:~:text=While%20TurboPascal%20may%20have%20popularized,significant%20popularity%20in%20the%201980s.",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Visual Studio Code",
|
||||
"url": "https://code.visualstudio.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "JetBrains IDEs",
|
||||
"url": "https://www.jetbrains.com/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"j5nNSYI8s-cH8EA6G1EWY": {
|
||||
"title": "VS Code",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Visual Studio Code (VSCode) was first announced by Microsoft in 2015 and quickly became one of the most popular and widely used Integrated Development Environments (IDEs). Built on Electron, a framework that allows web technologies like JavaScript, HTML, and CSS to create desktop applications, VSCode offers a lightweight and highly extensible platform for developers. VSCode focuses on being a streamlined code editor with the ability to install extensions that add features such as debugging, version control, and language-specific tooling. Microsoft's vision was to create a flexible environment that could cater to all types of developers, from beginners to seasoned professionals.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Visual Studio Code",
|
||||
"url": "https://code.visualstudio.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Docs - Visual Studio Code",
|
||||
"url": "https://code.visualstudio.com/docs",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "FreeCodeCamp Crash Course",
|
||||
"url": "https://www.youtube.com/watch?v=WPqXP_kLzpo",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "VSCode Basics",
|
||||
"url": "https://www.youtube.com/watch?v=B-s71n0dHUk",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "VSCode in 100 Seconds",
|
||||
"url": "https://www.youtube.com/watch?v=KMxo3T_MTvY",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NCnKS435DCl-8vilr1_XE": {
|
||||
"title": "JetBrains IDEs",
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
"title": "HTML",
|
||||
"description": "HTML stands for HyperText Markup Language. It is used on the frontend and gives the structure to the webpage which you can style using CSS and make interactive using JavaScript.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Interactive HTML Course",
|
||||
"url": "https://github.com/denysdovhan/learnyouhtml",
|
||||
"type": "opensource"
|
||||
},
|
||||
{
|
||||
"title": "W3Schools: Learn HTML",
|
||||
"url": "https://www.w3schools.com/html/html_intro.asp",
|
||||
@@ -18,20 +13,15 @@
|
||||
"url": "https://app.daily.dev/tags/html?ref=roadmapsh",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "HTML Full Course for Beginners",
|
||||
"url": "https://youtu.be/mJgBOIoGihA",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "HTML Full Course - Build a Website Tutorial",
|
||||
"url": "https://www.youtube.com/watch?v=pQN-pnXPaVg",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "HTML Tutorial for Beginners: HTML Crash Course",
|
||||
"url": "https://www.youtube.com/watch?v=qz0aGYrrlhU",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "HTML and CSS Full Course - Beginner To Pro",
|
||||
"url": "https://youtu.be/a_iQb1lnAEQ",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -45,13 +35,8 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learn to Code HTML & CSS",
|
||||
"url": "https://learn.shayhowe.com/html-css/building-your-first-web-page/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What The Flexbox!",
|
||||
"url": "https://flexbox.io/",
|
||||
"title": "Web.dev by Google — Learn CSS",
|
||||
"url": "https://web.dev/learn/css/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -60,29 +45,24 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "CSS Crash Course For Absolute Beginners",
|
||||
"url": "https://www.youtube.com/watch?v=yfoY53QXEnI",
|
||||
"title": "CSS Complete Course",
|
||||
"url": "https://youtu.be/n4R2E7O-Ngo",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "HTML and CSS Tutorial",
|
||||
"url": "https://www.youtube.com/watch?v=D-h8L5hgW-w",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "CSS Masterclass - Tutorial & Course for Beginners",
|
||||
"url": "https://www.youtube.com/watch?v=FqmB-Zj2-PA",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"T9PB6WQf-Fa9NXKKvVOy_": {
|
||||
"title": "JavaScript",
|
||||
"description": "JavaScript allows you to add interactivity to your pages. Common examples that you may have seen on the websites are sliders, click interactions, popups and so on.\n\nVisit the following resources to learn more:\n\nWe also have this [JavaScript roadmap](/javascript). You don't need to follow it right now, just learn from some courses and revisit the roadmap later in your journey.",
|
||||
"description": "JavaScript allows you to add interactivity to your pages. Common examples that you may have seen on the websites are sliders, click interactions, popups and so on.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "W3Schools – JavaScript Tutorial",
|
||||
"url": "https://www.w3schools.com/js/",
|
||||
"title": "Visit Dedicated JavaScript Roadmap",
|
||||
"url": "https://roadmap.sh/javascript",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -91,8 +71,8 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Exploring JS: JavaScript books for programmers",
|
||||
"url": "https://exploringjs.com/",
|
||||
"title": "Build 30 Javascript projects in 30 days",
|
||||
"url": "https://javascript30.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -104,11 +84,6 @@
|
||||
"title": "JavaScript Crash Course for Beginners",
|
||||
"url": "https://youtu.be/hdI2bqOjy3c?t=2",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Build a Netflix Landing Page Clone with HTML, CSS & JS",
|
||||
"url": "https://youtu.be/P7t13SGytRk",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -282,17 +257,17 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated React Roadmap",
|
||||
"url": "/react",
|
||||
"url": "https://roadmap.sh/react",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "React Website",
|
||||
"url": "https://reactjs.org/",
|
||||
"url": "https://react.dev/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Official Getting Started",
|
||||
"url": "https://reactjs.org/tutorial/tutorial.html",
|
||||
"url": "https://react.dev/learn/tutorial-tic-tac-toe",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -675,7 +650,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated PostgreSQL DBA Roadmap",
|
||||
"url": "/postgresql-dba",
|
||||
"url": "https://roadmap.sh/postgresql-dba",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
|
||||
@@ -378,12 +378,17 @@
|
||||
"links": []
|
||||
},
|
||||
"AaRZiItRcn8fYb5R62vfT": {
|
||||
"title": "Assembly",
|
||||
"description": "**Assembly** is a low-level programming language, often used for direct hardware manipulation, real-time systems, and to write performance-critical code. It provides a strong correspondence between its instructions and the architecture's machine-code instructions, since it directly represents the specific commands of the computer's CPU structure. However, it's closer to machine language (binary code) than to human language, which makes it difficult to read and understand. The syntax varies greatly, which depends upon the CPU architecture for which it's designed, thus Assembly language written for one type of processor can't be used on another. Despite its complexity, time-intensive coding process and machine-specific nature, Assembly language is still utilized for speed optimization and hardware manipulation where high-level languages may not be sufficient.",
|
||||
"title": "GDScript",
|
||||
"description": "GDScript is a high-level, dynamically-typed programming language designed specifically for the Godot Engine, an open-source game development platform. It is tailored for ease of use and rapid development of game logic and functionality. GDScript features a syntax similar to Python, which simplifies learning and coding for developers familiar with Python, while providing direct access to Godot's rich set of built-in functions and game-specific APIs. The language integrates closely with Godot's scene system and scripting environment, enabling developers to create and manipulate game objects, handle input, and control game behavior efficiently.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Code walkthrough of a game written in x64 assembly",
|
||||
"url": "https://www.youtube.com/watch?v=WUoqlp30M78",
|
||||
"title": "GDScript Website",
|
||||
"url": "https://gdscript.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "How to program in Godot - GDScript Tutorial",
|
||||
"url": "https://www.youtube.com/watch?v=e1zJS31tr88",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
@@ -400,8 +405,14 @@
|
||||
},
|
||||
"lIb5MeDoqVj6HycveOgTS": {
|
||||
"title": "Computer Graphics",
|
||||
"description": "Computer Graphics is a subfield of computer science that studies methods for digitally synthesizing and manipulating visual content. It involves creating and manipulating visual content using specialized computer software and hardware. This field is primarily used in the creation of digital and video games, CGI in films, and also in visual effects for commercials. The field is divided into two major categories: **Raster graphics** and **Vector graphics**. Raster graphics, also known as bitmap, involve the representation of images through a dot matrix data structure, while Vector graphics involve the use of polygons to represent images in computer graphics. Both of these methods have their unique usage scenarios. Other concepts integral to the study of computer graphics include rendering (including both real-time rendering and offline rendering), animation, and 3D modeling. Generally, computer graphics skills are essential for game developers and animation experts.",
|
||||
"links": []
|
||||
"description": "Computer Graphics is a subfield of computer science that studies methods for digitally synthesizing and manipulating visual content. It involves creating and manipulating visual content using specialized computer software and hardware. This field is primarily used in the creation of digital and video games, CGI in films, and also in visual effects for commercials. The field is divided into two major categories: **Raster graphics** and **Vector graphics**. Raster graphics, also known as bitmap, involve the representation of images through a dot matrix data structure, while Vector graphics involve the use of polygons to represent images in computer graphics. Both of these methods have their unique usage scenarios. Other concepts integral to the study of computer graphics include rendering (including both real-time rendering and offline rendering), animation, and 3D modeling. Generally, computer graphics skills are essential for game developers and animation experts.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "How do Video Game Graphics Work?",
|
||||
"url": "https://www.youtube.com/watch?v=C8YtdC8mxTU",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"JW5c_0JEtO-OiBoXUia6A": {
|
||||
"title": "Ray Tracing",
|
||||
@@ -430,8 +441,14 @@
|
||||
},
|
||||
"WVgozaQPFbYthZLWMbNUg": {
|
||||
"title": "Rendering Equation",
|
||||
"description": "The **Render Equation**, also known as the **Rendering Equation**, is a fundamental principle in computer graphics that serves as the basis for most advanced lighting algorithms today. First introduced by James Kajiya in 1986, it defines how light interacts with physical objects in a given environment. The equation tries to simulate light's behavior, taking into account aspects such as transmission, absorption, scattering, and emission. The equation can be computationally intensive to solve accurately. It's worth mentioning, however, that many methods have been developed to approximate and solve it, allowing the production of highly realistic images in computer graphics.",
|
||||
"links": []
|
||||
"description": "The **Render Equation**, also known as the **Rendering Equation**, is a fundamental principle in computer graphics that serves as the basis for most advanced lighting algorithms today. First introduced by James Kajiya in 1986, it defines how light interacts with physical objects in a given environment. The equation tries to simulate light's behavior, taking into account aspects such as transmission, absorption, scattering, and emission. The equation can be computationally intensive to solve accurately. It's worth mentioning, however, that many methods have been developed to approximate and solve it, allowing the production of highly realistic images in computer graphics.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Interactive Graphics 12 - The Rendering Equation",
|
||||
"url": "https://www.youtube.com/watch?v=wawf7Am6xy0",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eI2jym4AAz3ani-lreSKE": {
|
||||
"title": "Reflection",
|
||||
@@ -445,7 +462,7 @@
|
||||
},
|
||||
"odfZWKtPbb-lC35oeTCNV": {
|
||||
"title": "Specular",
|
||||
"description": "",
|
||||
"description": "`Specular` reflections are mirror-like reflections. In these cases, the rays of light are reflected, more than they are absorbed. The angle of incidence is equal to the angle of reflection, that is to say that the angle at which the light enters the medium and then bounces off, the angle of the beam that bounced off would be the same.\n\nLearn more from the following resources:\n\n\\-[@video@Specular reflection](https://www.youtube.com/watch?v=2cFvJkc4pQk)",
|
||||
"links": []
|
||||
},
|
||||
"THMmnx8p_P0X-dSPoHvst": {
|
||||
@@ -455,13 +472,35 @@
|
||||
},
|
||||
"iBZ1JsEWI0xuLgUvfWfl-": {
|
||||
"title": "Texture",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`Texture` is the visual quality of an object. Where the `mesh` determines the shape or `topology` of an object, the texture describes the quality of said object. For instance, if there is a spherical mesh, is it supposed to be shiny? is it supposed to be rough? is it supposed to be of rock or of wood? questions of this ilk are often resolved using textures. Textures are often just 2D images that are wrapped onto 3D meshes. The 3D mesh is first divided into segments and unfurled; the 3D meshes are converted into 2D chunks, this process is known as `UV Unwrapping`. Once a mesh has been unwrapped, the textures in the form of an image are applied to the 2D chunks of the 3D mesh, this way the texture knows how to properly wrap around the mesh and avoid any conflicts. Textures determine the visual feel and aesthetics of the game.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "How Nintendo textures work",
|
||||
"url": "https://www.youtube.com/watch?v=WrCMzHngLxI",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "How Pixar textures work",
|
||||
"url": "https://www.youtube.com/watch?v=o_I6jxlN-Ck",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"r4UkMd5QURbvJ3Jlr_H9H": {
|
||||
"title": "Bump",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`Bump` is very similar to texture. It is, as a matter of fact, a type of texture itself. If you take the texture of a bricked wall, it will becoming increasingly obvious that the amount of detail present inside the wall, if geometrically processed would be incredibly demanding and wasteful. In order to combat this ineffeciency, the `bump` maps were created. Traditionally, a flat texture would just be an image of something called a `color map`, that is to say, where does each individual color of the pixel should be to represent a texture. When you take the picture of your floor, wall, or any object, that image in essence is the color map. The bump map is different as it informs the texture about it's `normal` values. So, if you take a flat 2D mesh and apply a bump map on it, it will render the same 2D mesh with all the normal values baked into the flat 2D mesh, creating a graphically effect mimicking 3-dimensionality.\n\nThere is also something known as a normal map, and displacement maps.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Normals, Normal maps and Bump maps",
|
||||
"url": "https://www.youtube.com/watch?v=l5PYyzsZED8",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Bump, normal and displacement",
|
||||
"url": "https://www.youtube.com/watch?v=43Ilra6fNGc",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"YGeGleEN203nokiZIYJN8": {
|
||||
"title": "Parallax",
|
||||
@@ -480,8 +519,14 @@
|
||||
},
|
||||
"WK6fLWJq9Vh2ySVrSqd-U": {
|
||||
"title": "Color",
|
||||
"description": "In the realm of computer graphics, color plays an integral role. It can be defined in various color models such as RGB (Red, Green, Blue), CYMK (Cyan, Yellow, Magenta, Black), and others. RGB is a color model that combines the primary colors (red, green, blue) in different amounts to produce a spectrum of colors. This model is often used in digital displays. In contrast, CMYK is a color model used in color printing. It uses cyan, magyenta, yellow, and black as the primary colors. HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value) are other useful models that represent colors based on human perceptions. Another important element of color in computer graphics is the color depth, also known as bit depth, which determines the number of colors that can be displayed at once.",
|
||||
"links": []
|
||||
"description": "In the realm of computer graphics, color plays an integral role. It can be defined in various color models such as RGB (Red, Green, Blue), CYMK (Cyan, Yellow, Magenta, Black), and others. RGB is a color model that combines the primary colors (red, green, blue) in different amounts to produce a spectrum of colors. This model is often used in digital displays. In contrast, CMYK is a color model used in color printing. It uses cyan, magyenta, yellow, and black as the primary colors. HSL (Hue, Saturation, Lightness) and HSV (Hue, Saturation, Value) are other useful models that represent colors based on human perceptions. Another important element of color in computer graphics is the color depth, also known as bit depth, which determines the number of colors that can be displayed at once.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Pixar in a Box - Color",
|
||||
"url": "https://www.khanacademy.org/computing/pixar/animate/ball/v/intro-animation",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"1S1qPogijW2SQCiF7KLZe": {
|
||||
"title": "Visual Perception",
|
||||
@@ -688,8 +733,14 @@
|
||||
},
|
||||
"ztoW8fBY73Es624A_tjd7": {
|
||||
"title": "Behavior Tree",
|
||||
"description": "The **Behavior Tree** is a decision-making system used in game development, primarily for AI character behavior. These trees help define the actions an AI character will take, based on predefined tasks and conditions. The tree structure starts from a single root, branching out to nodes that represent these decisions or tasks. The tasks can be simple, such as moving from one point to another, or can be complex decisions like whether to attack or retreat. This kind of structure is advantageous because it is easy to add, remove, or modify tasks without breaking the tree or affecting other tasks. This makes it highly flexible and easy to manage, irrespective of the complexity of the tasks.",
|
||||
"links": []
|
||||
"description": "The **Behavior Tree** is a decision-making system used in game development, primarily for AI character behavior. These trees help define the actions an AI character will take, based on predefined tasks and conditions. The tree structure starts from a single root, branching out to nodes that represent these decisions or tasks. The tasks can be simple, such as moving from one point to another, or can be complex decisions like whether to attack or retreat. This kind of structure is advantageous because it is easy to add, remove, or modify tasks without breaking the tree or affecting other tasks. This makes it highly flexible and easy to manage, irrespective of the complexity of the tasks.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Unreal Engine 5 Tutorial - AI Part 2: Behavior Tree",
|
||||
"url": "https://www.youtube.com/watch?v=hbHqv9ov8IM&list=PL4G2bSPE_8uklDwraUCMKHRk2ZiW29R6e&index=3&t=16s",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"4ZCVUpYrCT14d_JULulLe": {
|
||||
"title": "Fuzzy Logic",
|
||||
@@ -748,13 +799,25 @@
|
||||
},
|
||||
"sz1047M8_kScjth84yPwU": {
|
||||
"title": "Decision Tree Learning",
|
||||
"description": "`Decision Tree Learning` is an important concept in game development, particularly in the development of artificial intelligence for game characters. It is a kind of machine learning method that is based on using decision tree models to predict or classify information. A decision tree is a flowchart-like model, where each internal node denotes a test on an attribute, each branch represents an outcome of that test, and each leaf node holds a class label (decision made after testing all attributes). By applying decision tree learning models, computer-controlled characters can make decisions based on different conditions or states. They play a key role in creating complex and interactive gameplay experiences, by enabling game characters to adapt to the player's actions and the ever-changing game environment.",
|
||||
"links": []
|
||||
"description": "`Decision Tree Learning` is an important concept in game development, particularly in the development of artificial intelligence for game characters. It is a kind of machine learning method that is based on using decision tree models to predict or classify information. A decision tree is a flowchart-like model, where each internal node denotes a test on an attribute, each branch represents an outcome of that test, and each leaf node holds a class label (decision made after testing all attributes). By applying decision tree learning models, computer-controlled characters can make decisions based on different conditions or states. They play a key role in creating complex and interactive gameplay experiences, by enabling game characters to adapt to the player's actions and the ever-changing game environment.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Decision trees - A friendly introduction",
|
||||
"url": "https://www.youtube.com/watch?v=HkyWAhr9v8g",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ltkEyfuDxExs7knqs79ya": {
|
||||
"title": "Deep Learning",
|
||||
"description": "Deep Learning is a sub-field of machine learning, inspired by the structure and function of the human brain, specifically designed to process complex input/output transformations. It uses artificial neural networks with many layers (hence the term 'deep' learning) to model complex, non-linear hypotheses and discover hidden patterns within large datasets. Deep learning techniques are crucial in game development, primarily in creating intelligent behaviors and features in gaming agents, procedural content generation, and player profiling. You might have heard about the uses of deep learning technologies in popular, cutting-edge games like Google DeepMind's AlphaGo. Coding languages like Python, R, and frameworks like TensorFlow, Keras, and PyTorch are commonly used for deep learning tasks. Learning Deep Learning can be a prominent game-changer in your game development journey.",
|
||||
"links": []
|
||||
"description": "Deep Learning is a sub-field of machine learning, inspired by the structure and function of the human brain, specifically designed to process complex input/output transformations. It uses artificial neural networks with many layers (hence the term 'deep' learning) to model complex, non-linear hypotheses and discover hidden patterns within large datasets. Deep learning techniques are crucial in game development, primarily in creating intelligent behaviors and features in gaming agents, procedural content generation, and player profiling. You might have heard about the uses of deep learning technologies in popular, cutting-edge games like Google DeepMind's AlphaGo. Coding languages like Python, R, and frameworks like TensorFlow, Keras, and PyTorch are commonly used for deep learning tasks. Learning Deep Learning can be a prominent game-changer in your game development journey.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "But what is a neural network? | Chapter 1, Deep learning",
|
||||
"url": "https://www.youtube.com/watch?v=aircAruvnKk",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"AoH2r4EOHyZd8YaV24rBk": {
|
||||
"title": "Artificial Neural Network",
|
||||
@@ -809,8 +872,14 @@
|
||||
},
|
||||
"PuhXaRZ-Ql5PCqzMyz3en": {
|
||||
"title": "Translucency & Transparency",
|
||||
"description": "In the realm of physically-based rendering, **translucency** and **transparency** act as key aspects in creating visually authentic and compelling images. Transparency refers to the property of an object that allows light to pass through it unhindered, hence making the object clear or invisible. This is commonly seen in materials such as glass, clear plastic, and water. On the other hand, translucency describes how light interacts with a semi-transparent object. Instead of passing directly through, light enters the object, travels within for some distance and then exits at a different location. Common examples of such surfaces include human skin, marble, milk, or wax, which exhibit a soft, diffused lighting effect when light rays pass through them. The technique to achieve this effect in graphics involves subsurface scattering, where incoming light is scattered beneath the object's surface, illuminated it in a way that showcases the material's internal structure.",
|
||||
"links": []
|
||||
"description": "In the realm of physically-based rendering, **translucency** and **transparency** act as key aspects in creating visually authentic and compelling images. Transparency refers to the property of an object that allows light to pass through it unhindered, hence making the object clear or invisible. This is commonly seen in materials such as glass, clear plastic, and water. On the other hand, translucency describes how light interacts with a semi-transparent object. Instead of passing directly through, light enters the object, travels within for some distance and then exits at a different location. Common examples of such surfaces include human skin, marble, milk, or wax, which exhibit a soft, diffused lighting effect when light rays pass through them. The technique to achieve this effect in graphics involves subsurface scattering, where incoming light is scattered beneath the object's surface, illuminated it in a way that showcases the material's internal structure.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Learn OpenGL - Blending",
|
||||
"url": "https://learnopengl.com/Advanced-OpenGL/Blending",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"H3hkafXO9zqEnWuwHa38P": {
|
||||
"title": "Conservation of Energy",
|
||||
@@ -824,7 +893,13 @@
|
||||
},
|
||||
"YrQgfjsdLCIUxrwflpEHO": {
|
||||
"title": "Microsurface Scattering",
|
||||
"description": "Microsurface scattering, also known as sub-surface scattering, is an important phenomenon in Physically Based Rendering (PBR). This process involves the penetration of light into the surface of a material, where it is scattered by interacting with the material. In other words, when light strikes an object, rather than simply bouncing off the surface, some of it goes into the object and gets scattered around inside before getting re-emitted. It is key to achieving more realistic rendering of translucent materials like skin, marble, milk, and more. Consider it essential for replicating how light interacts with real-world materials in a convincing manner in your game.",
|
||||
"links": []
|
||||
"description": "Microsurface scattering, also known as sub-surface scattering, is an important phenomenon in Physically Based Rendering (PBR). This process involves the penetration of light into the surface of a material, where it is scattered by interacting with the material. In other words, when light strikes an object, rather than simply bouncing off the surface, some of it goes into the object and gets scattered around inside before getting re-emitted. It is key to achieving more realistic rendering of translucent materials like skin, marble, milk, and more. Consider it essential for replicating how light interacts with real-world materials in a convincing manner in your game.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "The 4 main types of subsurface scattering",
|
||||
"url": "https://www.youtube.com/watch?v=GkjvYSbGHg4",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,11 @@
|
||||
"url": "https://www.datacamp.com/blog/all-about-git",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Version Control (Git) - The Missing Semester of Your CS Education",
|
||||
"url": "https://missing.csail.mit.edu/2020/version-control/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GUI Clients",
|
||||
"url": "https://git-scm.com/downloads/guis",
|
||||
@@ -100,7 +105,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "About repositories",
|
||||
"url": "hhttps://docs.github.com/en/repositories/creating-and-managing-repositories/about-repositories",
|
||||
"url": "https://docs.github.com/en/repositories/creating-and-managing-repositories/about-repositories",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -215,6 +220,11 @@
|
||||
"title": ".gitignore",
|
||||
"description": "Ignored files are tracked in a special file named `.gitignore` that is checked in at the root of your repository. There is no explicit git ignore command: instead the `.gitignore` file must be edited and committed by hand when you have new files that you wish to ignore. `.gitignore` files contain patterns that are matched against file names in your repository to determine whether or not they should be ignored.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "gitignore - A collection of useful .gitignore templates",
|
||||
"url": "https://github.com/github/gitignore",
|
||||
"type": "opensource"
|
||||
},
|
||||
{
|
||||
"title": "gitignore Documentation",
|
||||
"url": "https://git-scm.com/docs/gitignore/en",
|
||||
@@ -257,6 +267,11 @@
|
||||
"url": "https://git-scm.com/book/en/v2/Git-Branching-Basic-Branching-and-Merging",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learn Git Branching",
|
||||
"url": "https://learngitbranching.js.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git Branches Tutorial",
|
||||
"url": "https://www.youtube.com/watch?v=e2IbNHi4uCI",
|
||||
@@ -285,7 +300,7 @@
|
||||
"description": "Renaming a branch in Git means changing the name of a branch to something different while preserving its history and the commits it contains. The branch itself remains the same in terms of the code and history it tracks, but the reference (the name by which you refer to it) is updated\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Renaming a branch - GitHub Docs",
|
||||
"title": "Renaming a Branch - GitHub Docs",
|
||||
"url": "https://docs.github.com/github/administering-a-repository/renaming-a-branch",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -351,15 +366,26 @@
|
||||
},
|
||||
"NeSvgS2yA5x8qbcJHrV__": {
|
||||
"title": "GitHub Essentials",
|
||||
"description": "GitHub Essentials refers to the core features and functionalities that form the foundation of GitHub's version control and collaboration platform. These essentials include repositories for storing and managing code, branches for parallel development, pull requests for code review and merging, issues for tracking tasks and bugs, and collaborative tools like project boards and wikis. Understanding and mastering these fundamental components allows developers to effectively manage their projects, collaborate with team members, and contribute to open-source initiatives, making GitHub an indispensable tool in modern software development workflows.",
|
||||
"links": []
|
||||
"description": "GitHub Essentials refers to the core features and functionalities that form the foundation of GitHub's version control and collaboration platform. These essentials include repositories for storing and managing code, branches for parallel development, pull requests for code review and merging, issues for tracking tasks and bugs, and collaborative tools like project boards and wikis. Understanding and mastering these fundamental components allows developers to effectively manage their projects, collaborate with team members, and contribute to open-source initiatives, making GitHub an indispensable tool in modern software development workflows.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Github Essentials - Microsoft",
|
||||
"url": "https://learn.microsoft.com/en-us/contribute/content/git-github-fundamentals",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Hello World",
|
||||
"url": "https://docs.github.com/en/get-started/start-your-journey/hello-world",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"i7fIIHcBEk473te8bniJ5": {
|
||||
"title": "Creating Account",
|
||||
"description": "To get started with GitHub, you'll need to create a free personal account on [GitHub.com](http://GitHub.com) and verify your email address. Every person who uses [GitHub.com](http://GitHub.com) signs in to a personal account. Your personal account is your identity on [GitHub.com](http://GitHub.com) and has a username and profile.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Creating an account on GitHub",
|
||||
"title": "Creating an Account on GitHub",
|
||||
"url": "https://docs.github.com/en/get-started/start-your-journey/creating-an-account-on-github",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -413,7 +439,7 @@
|
||||
"description": "A GitHub Profile README is a special repository that allows users to showcase their skills, projects, and personality directly on their GitHub profile. To create one, you need to make a new repository with the same name as your GitHub username. This repository should contain a [README.md](http://README.md) file, which GitHub will automatically display on your profile page. The README can be customized with Markdown formatting, allowing you to add text, images, links, and even dynamic content like GitHub stats or recent blog posts. This feature provides a unique opportunity to make your GitHub profile more engaging and informative for visitors, effectively serving as a personalized landing page for your GitHub presence.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Managing your profile README",
|
||||
"title": "Managing your Profile README",
|
||||
"url": "https://docs.github.com/en/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/managing-your-profile-readme",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -440,7 +466,7 @@
|
||||
"description": "In Git, a remote is a reference to a repository that exists on another server or system. Remotes allow you to access and interact with a copy of your repository that is stored elsewhere, making it possible to collaborate with others, share your work, and maintain multiple copies of your repository for backup and disaster recovery purposes. When you add a remote to your local repository, Git creates a reference to the remote repository, enabling you to push changes from your local repository to the remote one, pull changes from the remote to your local one, or fetch changes from the remote without updating your local copy. This enables distributed development and helps maintain a centralized version of your project's history, making it easier to track changes, manage conflicts, and ensure that everyone has access to the most up-to-date code.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "About remote repositories",
|
||||
"title": "About Remote Repositories",
|
||||
"url": "https://docs.github.com/en/get-started/getting-started-with-git/about-remote-repositories",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -477,7 +503,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GIT Push and Pull Tutorial",
|
||||
"title": "Git Push and Pull Tutorial",
|
||||
"url": "https://www.datacamp.com/tutorial/git-push-pull",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -572,22 +598,22 @@
|
||||
"description": "Cloning a repository in Git and GitHub involves creating a local copy of a remote repository on your computer. This allows you to work on the project locally, commit changes, and later push those changes back to the remote repository.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git clone",
|
||||
"title": "git clone",
|
||||
"url": "https://git-scm.com/docs/git-clone/en",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Cloning a repository",
|
||||
"title": "Cloning a Repository",
|
||||
"url": "https://docs.github.com/en/repositories/creating-and-managing-repositories/cloning-a-repository",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Clone a git respository",
|
||||
"title": "Clone a Git Repository",
|
||||
"url": "https://www.atlassian.com/git/tutorials/setting-up-a-repository/git-clone",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Cloning remote respository into local machine",
|
||||
"title": "Cloning Remote Repository into local machine",
|
||||
"url": "https://youtu.be/xeQih8LVtZM?si=djlyTDpLNS0oyqQH",
|
||||
"type": "video"
|
||||
}
|
||||
@@ -690,8 +716,14 @@
|
||||
},
|
||||
"oWMaOWU06juoIuzXNe-wt": {
|
||||
"title": "Mentions",
|
||||
"description": "Mentions on GitHub allow you to notify specific users or teams about comments, issues, pull requests, or other activities. This feature improves collaboration by encouraging participation and discussion among team members, increasing visibility of important topics, and streamlining communication within your repository. To use mentions, simply type `@username` or `@teamname` in a comment, and GitHub will auto-complete the mention as you type, automatically linking their username to the comment and notifying them about the discussion.",
|
||||
"links": []
|
||||
"description": "Mentions on GitHub allow you to notify specific users or teams about comments, issues, pull requests, or other activities. This feature improves collaboration by encouraging participation and discussion among team members, increasing visibility of important topics, and streamlining communication within your repository. To use mentions, simply type `@username` or `@teamname` in a comment, and GitHub will auto-complete the mention as you type, automatically linking their username to the comment and notifying them about the discussion.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Mention Somebody",
|
||||
"url": "https://github.blog/news-insights/mention-somebody-they-re-notified/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"XstmIysIi_lWo6RzszLBt": {
|
||||
"title": "Reactions",
|
||||
@@ -706,8 +738,19 @@
|
||||
},
|
||||
"0rHDUbAdXqH9zQW2VfJ8v": {
|
||||
"title": "Merge Strategies",
|
||||
"description": "When combining changes from one branch into another, Git provides various merge strategies to choose from. These methods allow for flexibility and customization in integrating code updates into your main branch. The available options include:\n\n* Fast Forward (FF)\n* Non-Fast Forward\n* Rebase\n* Squash\n* Cherry Picking",
|
||||
"links": []
|
||||
"description": "When combining changes from one branch into another, Git provides various merge strategies to choose from. These methods allow for flexibility and customization in integrating code updates into your main branch. The available options include:\n\n* Fast Forward (FF)\n* Non-Fast Forward\n* Rebase\n* Squash\n* Cherry Picking\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Merge Strategies",
|
||||
"url": "https://git-scm.com/docs/merge-strategies",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git Merge Options",
|
||||
"url": "https://www.atlassian.com/git/tutorials/using-branches/merge-strategy",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"agtPWS8j6i6wQPk10cy8E": {
|
||||
"title": "Fast-Forward vs Non-FF",
|
||||
@@ -798,17 +841,17 @@
|
||||
"description": "Cherry-picking in Git allows you to apply a specific commit from one branch to another, without merging the entire branch. This is useful when you want to bring in a specific feature or fix from one branch to another without incorporating all the changes from the source branch.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "git-cherry-pick-docs",
|
||||
"title": "git-cherry-pick docs",
|
||||
"url": "https://git-scm.com/docs/git-cherry-pick",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git cherry pick",
|
||||
"title": "Git Cherry Pick",
|
||||
"url": "https://www.atlassian.com/git/tutorials/cherry-pick",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git-CHERRY-PICK-Tutorial",
|
||||
"title": "Git Cherry Pick - Tutorial",
|
||||
"url": "https://youtu.be/i657Bg_HAWI?si=3jjn2X8Hi1na--F4",
|
||||
"type": "video"
|
||||
}
|
||||
@@ -866,7 +909,7 @@
|
||||
"description": "Pull Request (PR) guidelines are essential for maintaining a smooth and efficient code review process in collaborative development environments. These guidelines typically outline best practices for creating, formatting, and submitting PRs, ensuring that changes are well-documented, easy to review, and align with the project's standards. They may cover aspects such as PR size, commit message formatting, documentation requirements, and testing expectations. By establishing clear PR guidelines, teams can streamline their workflow, improve code quality, and facilitate effective communication among contributors.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Best practices for pull requests",
|
||||
"title": "Best Practices for Pull Requests",
|
||||
"url": "https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/getting-started/best-practices-for-pull-requests",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -898,7 +941,7 @@
|
||||
"description": "Contribution guidelines are essential for collaborative projects on GitHub as they help streamline collaboration, set expectations for contributions, and maintain the project's quality and consistency.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Setting guidelines for respository contributors",
|
||||
"title": "Setting Guidelines for Repository Contributors",
|
||||
"url": "https://docs.github.com/articles/setting-guidelines-for-repository-contributors",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -962,10 +1005,21 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"github-wikis@lONqOqD-4slxa9B5i9ADX.md": {
|
||||
"lONqOqD-4slxa9B5i9ADX": {
|
||||
"title": "GitHub Wikis",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "GitHub Wikis are collaborative documentation spaces integrated directly into GitHub repositories. They provide a platform for teams to create, edit, and organize project-related information, such as documentation, guidelines, and FAQs. Wikis support Markdown formatting, making it easy to structure content and include images or links. With version control and the ability to clone wiki repositories, teams can collaboratively maintain up-to-date documentation alongside their code, enhancing project understanding and facilitating knowledge sharing among contributors and users.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "About Wikis",
|
||||
"url": "https://docs.github.com/en/communities/documenting-your-project-with-wikis/about-wikis",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Documenting your project with Wikis",
|
||||
"url": "https://docs.github.com/en/communities/documenting-your-project-with-wikis",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"i3AbARgzQtxtlB-1AS8zv": {
|
||||
"title": "Clean Git History",
|
||||
@@ -977,7 +1031,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git best practice tip: clean commit history",
|
||||
"title": "Git Best Practice Tip: Clean Commit History",
|
||||
"url": "https://youtu.be/bZpiVijzd2g?si=8lJTlR3LfY9ZUd77",
|
||||
"type": "video"
|
||||
}
|
||||
@@ -985,8 +1039,19 @@
|
||||
},
|
||||
"yMx3LdadPz4g25CL3N8da": {
|
||||
"title": "Working in a Team",
|
||||
"description": "Working in a team on GitHub involves collaborative development using Git's distributed version control system. Team members can work on separate branches, create pull requests for code reviews, and merge changes into the main codebase. GitHub's features like issues, projects, and discussions facilitate communication and project management. Effective teamwork on GitHub requires clear communication, adherence to agreed-upon workflows, and proper use of Git commands to manage code changes and resolve conflicts. This collaborative approach enables teams to work efficiently on complex projects, maintain code quality, and track progress effectively.\n\nGitHub also offers an organization and team management interface, allowing teams to manage projects, members, and collaboration settings.",
|
||||
"links": []
|
||||
"description": "Working in a team on GitHub involves collaborative development using Git's distributed version control system. Team members can work on separate branches, create pull requests for code reviews, and merge changes into the main codebase. GitHub's features like issues, projects, and discussions facilitate communication and project management. Effective teamwork on GitHub requires clear communication, adherence to agreed-upon workflows, and proper use of Git commands to manage code changes and resolve conflicts. This collaborative approach enables teams to work efficiently on complex projects, maintain code quality, and track progress effectively.\n\nGitHub also offers an organization and team management interface, allowing teams to manage projects, members, and collaboration settings.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Getting Started with Teams",
|
||||
"url": "https://docs.github.com/en/get-started/onboarding/getting-started-with-github-team",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Github Team Docs",
|
||||
"url": "https://docs.github.com/organizations/organizing-members-into-teams/about-teams",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RMrxQLhrINO5g4Mhxh5qS": {
|
||||
"title": "GitHub Organizations",
|
||||
@@ -1025,12 +1090,12 @@
|
||||
"description": "GitHub Organizations allow you to create teams within your organization, which helps in organizing members based on their roles and responsibilities.\n\n* Grouping: Team members can be grouped together according to the company or group's structure.\n* Access permissions: Access permissions can be cascaded from one team member to another.\n* Mentions: Team mentions allow for easy referencing of specific teams in repository discussions.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Organizing members into teams",
|
||||
"title": "Organizing Members into Teams",
|
||||
"url": "https://docs.github.com/en/organizations/organizing-members-into-teams",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Best practices for organizations and teams using GitHub Enterprise Cloud",
|
||||
"title": "Best Practices for Organizations and Teams using GitHub Enterprise Cloud",
|
||||
"url": "https://github.blog/enterprise-software/devops/best-practices-for-organizations-and-teams-using-github-enterprise-cloud/",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -1086,10 +1151,10 @@
|
||||
},
|
||||
"sxvT2hGko2PDRBoBrCGWD": {
|
||||
"title": "Roadmaps",
|
||||
"description": "GitHub roadmaps are a feature that helps you visualize and organize plans for your projects, allowing you to create a high-level view of milestones and goals, and collaborate on planning and tracking progress with team members.\n\nVisit the following resources to learn more:",
|
||||
"description": "GitHub Roadmaps are a feature that helps you visualize and organize plans for your projects, allowing you to create a high-level view of milestones and goals, and collaborate on planning and tracking progress with team members.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Customizing the roadmap layout",
|
||||
"title": "Customizing the Roadmap Layout",
|
||||
"url": "https://docs.github.com/en/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/customizing-the-roadmap-layout",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -1121,7 +1186,7 @@
|
||||
"description": "GitHub Discussions is a collaborative communication feature within GitHub repositories that provides a dedicated space for community conversations, questions, and knowledge sharing. It allows team members, contributors, and users to engage in threaded discussions, share ideas, ask for help, and make announcements outside of specific code changes or issues. This feature enhances project collaboration by centralizing important conversations, reducing noise in the issue tracker, and fostering a sense of community around open-source projects or team initiatives.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "official GitHub Discussions Docs",
|
||||
"title": "GitHub Discussions Docs",
|
||||
"url": "https://docs.github.com/en/discussions",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -1209,7 +1274,7 @@
|
||||
},
|
||||
"qFEonbCMLri8iA0yONwuf": {
|
||||
"title": "git log options",
|
||||
"description": "`git log` is a command in Git that shows the commit history of your repository. It provides a detailed view of all commits, including their hashes, authors, dates, and messages.\n\nHere are some common git log options:\n\n* `-2`: Only show the last two commits.\n* `--all`: Show all branches in the repository.\n* `--graph`: Display the commit history as a graph.\n* `--pretty`: Enable clean colorized output.\n* `--no-color`: Disable colorized output.\n* `--stat`: Show a statistical summary of changes.\n* `**-S`: Only show commits with modified files.\n\nYou can combine these options to tailor your log output to suit your needs.\n\nFor example, `git log -2 --graph` will display the last two commits in graph form.\n\nVisit the following resources to learn more:",
|
||||
"description": "`git log` is a command in Git that shows the commit history of your repository. It provides a detailed view of all commits, including their hashes, authors, dates, and messages.\n\nHere are some common git log options:\n\n* `-2`: Only show the last two commits.\n* `-- <file-name>`: Show the commits that modified a specific file.\n* `--all`: Show all branches in the repository.\n* `--graph`: Display the commit history as a graph.\n* `--pretty`: Enable clean colorized output.\n* `--no-color`: Disable colorized output.\n* `--stat`: Show a statistical summary of changes.\n* `**-S`: Only show commits with modified files.\n\nYou can combine these options to tailor your log output to suit your needs.\n\nFor example, `git log -2 --graph` will display the last two commits in graph form.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Log",
|
||||
@@ -1225,8 +1290,24 @@
|
||||
},
|
||||
"0Yi4cryT2v2SGBjouOas3": {
|
||||
"title": "Undoing Changes",
|
||||
"description": "If mistakes or unwanted changes have been committed to your Git repository, there are ways to correct them. Two common methods for reverting changes include:\n\n* Git Reset: Resets the branch to a previous commit.\n* Git Revert: Creates a new commit that reverts specified changes.",
|
||||
"links": []
|
||||
"description": "If mistakes or unwanted changes have been committed to your Git repository, there are ways to correct them. Two common methods for reverting changes include:\n\n* Git Reset: Resets the branch to a previous commit.\n* Git Revert: Creates a new commit that reverts specified changes.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Undoing Changes",
|
||||
"url": "https://git-scm.com/book/en/v2/Git-Tools-Reset-Demystified",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Undo Anything in Git",
|
||||
"url": "https://github.blog/open-source/git/how-to-undo-almost-anything-with-git/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Undoing Changes in Git",
|
||||
"url": "https://www.atlassian.com/git/tutorials/undoing-changes",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dLr55Om7IOvI53c1DgTKc": {
|
||||
"title": "git revert",
|
||||
@@ -1249,7 +1330,7 @@
|
||||
"description": "Git reset is a command that allows you to \"undo\" or reset your current branch to a previous state by moving its HEAD pointer, effectively discarding changes made since then. When using git reset, it's essential to specify one of the three modes: soft, hard, or mixed. The mode you choose will determine how Git interacts with files in your working directory and staging area.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git reset",
|
||||
"title": "git reset",
|
||||
"url": "https://www.atlassian.com/git/tutorials/undoing-changes/git-reset",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -1266,7 +1347,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "--soft documentation",
|
||||
"url": "https://git-scm.com/docs/git-reset#Documentation/git-reset.txt---hard",
|
||||
"url": "https://git-scm.com/docs/git-reset#Documentation/git-reset.txt---soft",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
@@ -1288,15 +1369,26 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "--mixed documentation",
|
||||
"url": "https://git-scm.com/docs/git-reset#Documentation/git-reset.txt---hard",
|
||||
"url": "https://git-scm.com/docs/git-reset#Documentation/git-reset.txt---mixed",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"-0zQvCHG8jS_ghSjmTeIx": {
|
||||
"title": "Viewing Diffs",
|
||||
"description": "Viewing diffs in Git is crucial for understanding the changes made to your code. This is especially important when collaborating with others or reviewing your own work over time. Diffs show you exactly what lines have been added, modified, or removed between different versions of your files. This feature helps in code review processes, troubleshooting issues, and maintaining a clear history of your project's evolution. Git provides various commands and tools to view these differences, making it easier to track and manage changes effectively.",
|
||||
"links": []
|
||||
"description": "Viewing diffs in Git is crucial for understanding the changes made to your code. This is especially important when collaborating with others or reviewing your own work over time. Diffs show you exactly what lines have been added, modified, or removed between different versions of your files. This feature helps in code review processes, troubleshooting issues, and maintaining a clear history of your project's evolution. Git provides various commands and tools to view these differences, making it easier to track and manage changes effectively.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Diff Documentation",
|
||||
"url": "https://git-scm.com/docs/git-diff",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git Diff",
|
||||
"url": "https://www.atlassian.com/git/tutorials/saving-changes/git-diff",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Rwpeltygwzcf6hnuZNURE": {
|
||||
"title": "Between Commits",
|
||||
@@ -1364,8 +1456,19 @@
|
||||
},
|
||||
"sOoC-XxEoIvwKct00oKlX": {
|
||||
"title": "Rewriting History",
|
||||
"description": "In certain situations, you might need to modify or remove commits from your Git repository's history. This can be achieved using various methods:\n\n* `git commit --amend`: Allows you to edit the most recent commit.\n* `git rebase`: Replaces one branch with another, preserving the commit history.\n* `git filter-branch`: Removes specific commits from a branch without altering the original branch.\n* `git push --force`: Updates the remote repository while respecting existing pull requests.\n\nRewriting history in Git is typically necessary when:\n\n* Fixing mistakes: Correcting errors or typos in commit messages.\n* Removing sensitive data: Deleting confidential information from commits, like API keys or database credentials.\n* Simplifying complex histories: Reorganizing branches to improve clarity and reduce complexity.",
|
||||
"links": []
|
||||
"description": "In certain situations, you might need to modify or remove commits from your Git repository's history. This can be achieved using various methods:\n\n* `git commit --amend`: Allows you to edit the most recent commit.\n* `git rebase`: Replaces one branch with another, preserving the commit history.\n* `git filter-branch`: Removes specific commits from a branch without altering the original branch.\n* `git push --force`: Updates the remote repository while respecting existing pull requests.\n\nRewriting history in Git is typically necessary when:\n\n* Fixing mistakes: Correcting errors or typos in commit messages.\n* Removing sensitive data: Deleting confidential information from commits, like API keys or database credentials.\n* Simplifying complex histories: Reorganizing branches to improve clarity and reduce complexity.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Tools - Rewriting History",
|
||||
"url": "https://git-scm.com/book/en/v2/Git-Tools-Rewriting-History",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Methods of Rewriting History in Git",
|
||||
"url": "https://www.atlassian.com/git/tutorials/rewriting-history",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"NjPnEXLf1Lt9qzgxccogv": {
|
||||
"title": "git commit --amend",
|
||||
@@ -1398,7 +1501,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "git rebase ",
|
||||
"title": "git rebase",
|
||||
"url": "https://www.atlassian.com/git/tutorials/rewriting-history/git-rebase",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -1416,8 +1519,24 @@
|
||||
},
|
||||
"BKVA6Q7DXemAYjyQOA0nh": {
|
||||
"title": "git filter-branch",
|
||||
"description": "You can use `git filter-branch` to rewrite Git revision history by applying custom filters on each revision.",
|
||||
"links": []
|
||||
"description": "You can use `git filter-branch` to rewrite Git revision history by applying custom filters on each revision.\n\n* Filter types: You can modify trees (e.g., removing a file or running a Perl script) or information about each commit.\n* Preserving original data: The command preserves all original commit times, merge information, and other details unless specified otherwise.\n* Rewriting specific branches: Only the positive refs mentioned in the command line are rewritten; if no filters are specified, commits are recommitted without changes.\n\nNotably, there exists a simpler, safer, and more powerful alternative: `git filter-repo`. This tool is actively promoted by Git and offers a streamlined approach to filtering revisions, making it a preferred choice for rewriting your Git history, especially when managing large repositories.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "git filter-branch",
|
||||
"url": "https://git-scm.com/docs/git-filter-branch",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "git filter-repo",
|
||||
"url": "https://github.com/newren/git-filter-repo",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Removing sensitive data from a repository",
|
||||
"url": "https://docs.github.com/en/authentication/keeping-your-account-and-data-secure/removing-sensitive-data-from-a-repository",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"OQOmxg9mCfcjt80hpvXkA": {
|
||||
"title": "git push --force",
|
||||
@@ -1650,8 +1769,19 @@
|
||||
},
|
||||
"fjAFNjNNbPOzme9Uk_fDV": {
|
||||
"title": "Submodules",
|
||||
"description": "In Git, submodules allow you to include another repository within a project. This feature enables the management of external dependencies as part of the main project.\n\n* Including external repositories: Submodules can be used to include other Git repositories within your project.\n* Managing dependencies: They provide a way to manage and track changes in external dependencies.",
|
||||
"links": []
|
||||
"description": "In Git, submodules allow you to include another repository within a project. This feature enables the management of external dependencies as part of the main project.\n\n* Including external repositories: Submodules can be used to include other Git repositories within your project.\n* Managing dependencies: They provide a way to manage and track changes in external dependencies.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Submodules",
|
||||
"url": "https://git-scm.com/book/en/v2/Git-Tools-Submodules",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Git Submodules Tutorial",
|
||||
"url": "https://www.atlassian.com/git/tutorials/git-submodule",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"x4bnsPVTiX2xOCSyrgWpF": {
|
||||
"title": "Adding / Updating",
|
||||
@@ -1671,7 +1801,7 @@
|
||||
},
|
||||
"d0-u_-_vtPK8tnUpnj_NB": {
|
||||
"title": "What and Why use?",
|
||||
"description": "Git submodules are a feature that allows you to include one Git repository within another. They are useful for managing external dependencies or shared components across projects.\n\nKey points:\n\n1. Separate repositories with independent histories\n2. Parent repository tracks specific submodule commits\n3. Enables code reuse and modular project structure\n4. Helps manage dependencies and keep main repository focused\n5. Facilitates collaboration on complex projects\n\nBenefits:\n\n* Including third-party libraries\n* Sharing common code\n* Managing multi-component projects\n* Keeping main repository lightweight\n\nNote: While powerful, submodules can add complexity to your workflow, so careful consideration is needed before implementation.\n\nLearn more from the following resources:",
|
||||
"description": "Git submodules are a feature that allows you to include one Git repository within another. They are useful for managing external dependencies or shared components across projects.\n\nKey points\n----------\n\n1. Separate repositories with independent histories\n2. Parent repository tracks specific submodule commits\n3. Enables code reuse and modular project structure\n4. Helps manage dependencies and keep main repository focused\n5. Facilitates collaboration on complex projects\n\nBenefits\n--------\n\n* Including third-party libraries\n* Sharing common code\n* Managing multi-component projects\n* Keeping main repository lightweight\n\nNote: While powerful, submodules can add complexity to your workflow, so careful consideration is needed before implementation.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Git Submodules: Core Concept, Workflows, and Tips",
|
||||
@@ -1690,7 +1820,7 @@
|
||||
"description": "GitHub CLI is a command-line interface tool that brings GitHub functionality to your terminal. It allows developers to interact with GitHub directly from the command line, enabling them to manage repositories, create issues, pull requests, and perform various GitHub operations without leaving their terminal environment. This powerful tool streamlines workflows, enhances productivity, and provides a seamless integration between local development and GitHub's collaborative features, making it easier for developers to incorporate GitHub into their daily coding routines.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "official GitHub CLI Docs",
|
||||
"title": "GitHub CLI Docs",
|
||||
"url": "https://cli.github.com/",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -1716,7 +1846,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GitHub CLI quickstart",
|
||||
"title": "GitHub CLI Quickstart",
|
||||
"url": "https://docs.github.com/en/github-cli/github-cli/quickstart",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -1788,6 +1918,16 @@
|
||||
"title": "YouTube: GitHub Actions Playlist",
|
||||
"url": "https://www.youtube.com/watch?v=-hVG9z0fCac&list=PLArH6NjfKsUhvGHrpag7SuPumMzQRhUKY&pp=iAQB",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "Github Actions",
|
||||
"url": "https://docs.github.com/en/actions",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What are Github Actions",
|
||||
"url": "https://www.youtube.com/watch?v=URmeTqglS58",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1795,6 +1935,16 @@
|
||||
"title": "YAML Syntax",
|
||||
"description": "YAML (YAML Ain't Markup Language) is a human-readable data serialization standard for all programming languages. It is designed to be easily readable by humans while also being machine-parsable. Key features of YAML include:\n\n1. Simplicity: YAML uses a minimalist syntax with significant whitespace and indentation.\n \n2. Versatility: It can represent various data types, including scalars, lists, and associative arrays.\n \n3. Readability: Its clear, concise format makes it easy for both humans and machines to understand.\n \n4. Language-independent: YAML can be used with any programming language that has a YAML parser.\n \n\nYAML is commonly used for:\n\n* Configuration files: Many applications and tools use YAML for their configuration settings.\n* Data exchange: It serves as a lightweight alternative to XML or JSON for data transfer between systems.\n* Data storage: YAML can be used to store structured data in a human-readable format.\n* DevOps and CI/CD: It's widely used in tools like Docker, Kubernetes, and various CI/CD platforms for defining workflows and configurations.\n\nUnderstanding YAML syntax is crucial for working with modern development tools, especially in the realms of DevOps, cloud computing, and containerization.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "YAML",
|
||||
"url": "https://yaml.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "YAML Cheatsheet",
|
||||
"url": "https://cheatsheets.zip/yaml",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is YAML?",
|
||||
"url": "https://circleci.com/blog/what-is-yaml-a-beginner-s-guide/",
|
||||
@@ -1943,7 +2093,7 @@
|
||||
},
|
||||
"PUnYNBrAZWoZiopjtNgnA": {
|
||||
"title": "Usecases",
|
||||
"description": "GitHub Actions offer a wide range of automation possibilities for your development workflow. Here are some common use cases:\n\n1. Continuous Integration (CI): Automatically build and test your code on every push or pull request.\n2. Continuous Deployment (CD): Automatically deploy your application to various environments after successful builds.\n3. Code Quality Checks: Run linters, formatters, and other code quality tools automatically.\n4. Dependency Updates: Automatically create pull requests for outdated dependencies.\n5. Issue and PR Management: Automatically label, assign, or close issues and pull requests based on certain conditions.\n6. Scheduled Tasks: Run periodic maintenance tasks, backups, or data processing jobs.\n7. Security Scanning: Perform automated security checks on your codebase and dependencies.\n8. Documentation Generation: Automatically generate and publish documentation for your project.\n9. Cross-platform Testing: Test your code on multiple operating systems and environments simultaneously.\n10. Release Management: Automate the creation of release notes and asset uploads for new versions.\n\nThese use cases demonstrate how GitHub Actions can streamline your development process, improve code quality, and increase productivity.\n\nLearn more from the following resources:",
|
||||
"description": "GitHub Actions offer a wide range of automation possibilities for your development workflow. Here are some common use cases:\n\n1. Continuous Integration (CI): Automatically build and test your code on every push or pull request.\n2. Continuous Deployment (CD): Automatically deploy your application to various environments after successful builds.\n3. Code Quality Checks: Run linters, formatters, and other code quality tools automatically.\n4. Dependency Updates: Automatically create pull requests for outdated dependencies.\n5. Issue and PR Management: Automatically label, assign, or close issues and pull requests based on certain conditions.\n6. Scheduled Tasks: Run periodic maintenance tasks, backups, or data processing jobs.\n7. Security Scanning: Perform automated security checks on your codebase and dependencies.\n8. Documentation Generation: Automatically generate and publish documentation for your project.\n9. Cross-platform Testing: Test your code on multiple operating systems and environments simultaneously.\n10. Release Management: Automate the creation of release notes and asset uploads for new versions.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "GitHub Actions Documentation",
|
||||
@@ -2110,12 +2260,12 @@
|
||||
"description": "The GitHub API is a powerful tool that allows developers to interact with the GitHub platform programmatically. It provides access to various GitHub features, such as user data, repository information, and commit history, through both REST and GraphQL interfaces. The API supports authentication, implements rate limiting, and offers webhooks for real-time notifications, enabling developers to automate tasks, create custom integrations, and build applications that leverage GitHub's functionality.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "official API Docs",
|
||||
"title": "Github API Docs",
|
||||
"url": "https://docs.github.com/en/rest?apiVersion=2022-11-28",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Getting started",
|
||||
"title": "Getting Started",
|
||||
"url": "https://docs.github.com/en/rest/using-the-rest-api/getting-started-with-the-rest-api?apiVersion=2022-11-28",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -2182,7 +2332,7 @@
|
||||
},
|
||||
"qrdOARfqGPF9xhF6snbAn": {
|
||||
"title": "OAuth Apps",
|
||||
"description": "GitHub OAuth Apps are a way to integrate with the GitHub platform using OAuth authentication. They allow developers to create custom integrations that can automate tasks, provide real-time notifications, and build custom workflows.\n\nVisit the following resources to learn more:",
|
||||
"description": "GitHub OAuth Apps allow developers to integrate with GitHub using OAuth 2.0 authentication. They enable secure, token-based access to specific GitHub resources like repositories, issues, and pull requests. OAuth Apps can automate tasks, personalize interactions, and provide real-time notifications through webhooks, all while allowing users to approve only the necessary permissions without sharing their credentials.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Creating an OAuth app",
|
||||
@@ -2243,7 +2393,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Ceating a GitHub Pages site",
|
||||
"title": "Creating a GitHub Pages site",
|
||||
"url": "https://docs.github.com/en/pages/getting-started-with-github-pages/creating-a-github-pages-site",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -2259,12 +2409,12 @@
|
||||
"description": "A GitHub Gist is a small code or text snippet that can be shared with others. It is a simple way to share code, configuration files, or other snippets of text without creating a full-fledged repository. Gists are useful for sharing examples, demos, or tutorials, and they can also serve as a starting point for larger projects. Each gist has a unique URL that can be shared with others, allowing them to view and edit the content. Gists support various file types, including code files, text files, and even images. They also provide features like syntax highlighting, line numbers, and commit history.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Creating gists",
|
||||
"title": "Creating Gists",
|
||||
"url": "https://docs.github.com/en/get-started/writing-on-github/editing-and-sharing-content-with-gists/creating-gists",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "REST API endpoints for gists",
|
||||
"title": "REST API endpoints for Gists",
|
||||
"url": "https://docs.github.com/en/rest/gists/gists?apiVersion=2022-11-28",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -2307,7 +2457,7 @@
|
||||
"description": "On GitHub Pages, users can customize their site's URL by connecting a custom domain to their repository. This feature allows users to use their own domain name instead of the default [GitHub.io](http://GitHub.io) subdomain, giving their site a more professional and personalized look.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Configuring a custom domain for your GitHub Pages site",
|
||||
"title": "Configuring a Custom Domain for Your GitHub Pages Site",
|
||||
"url": "https://docs.github.com/en/pages/configuring-a-custom-domain-for-your-github-pages-site",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -2430,7 +2580,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Dependabot quickstart guide",
|
||||
"title": "Dependabot Quick-start Guide",
|
||||
"url": "https://docs.github.com/en/code-security/getting-started/dependabot-quickstart-guide",
|
||||
"type": "article"
|
||||
},
|
||||
|
||||
@@ -112,8 +112,29 @@
|
||||
},
|
||||
"IduGSdUa2Fi7VFMLKgmsS": {
|
||||
"title": "iOS Architecture",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "iOS architecture refers to the design principles and patterns used to build iOS applications. It focuses on how to structure code, manage data, and ensure a smooth user experience. These architectural patterns help developers create maintainable, scalable, and testable applications while following best practices specific to iOS development. Use cases of these architectures may vary according to the requirements of the application. For example, MVC is used for simple apps, while MVVM is considered when the app is large and complex.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Model-View-Controller Pattern in swift (MVC) for Beginners",
|
||||
"url": "https://ahmedaminhassanismail.medium.com/model-view-controller-pattern-in-swift-mvc-for-beginners-35db8d479832",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "MVVM in iOS Swift",
|
||||
"url": "https://medium.com/@zebayasmeen76/mvvm-in-ios-swift-6afb150458fd",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "MVC Design Pattern Explained with Example",
|
||||
"url": "https://youtu.be/sbYaWJEAYIY?t=2",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "MVVM Design Pattern Explained with Example",
|
||||
"url": "https://www.youtube.com/watch?v=sLHVxnRS75w",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"IdGdLNgJI3WmONEFsMq-d": {
|
||||
"title": "Core OS",
|
||||
@@ -965,6 +986,11 @@
|
||||
"title": "SwiftUI",
|
||||
"description": "SwiftUI is Apple's modern declarative framework for building user interfaces across all Apple platforms. Introduced in 2019, it allows developers to create UIs using Swift code, describing the desired layout and behavior rather than implementing them imperatively. SwiftUI offers a more concise and intuitive approach to UI development, with features like automatic support for Dark Mode, dynamic type, and localization. It uses a state-driven approach, automatically updating the UI when underlying data changes. While newer than UIKit, SwiftUI is rapidly evolving and gaining adoption, offering seamless integration with UIKit when needed.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "HackingWithSwift - 100 Days of SwiftUI",
|
||||
"url": "https://www.hackingwithswift.com/100/swiftui",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "SwiftUI Documentation",
|
||||
"url": "https://developer.apple.com/xcode/swiftui/",
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
"description": "JavaScript, often abbreviated JS, is a programming language that is one of the core technologies of the World Wide Web, alongside HTML and CSS. It lets us add interactivity to pages e.g. you might have seen sliders, alerts, click interactions, popups, etc on different websites -- all of that is built using JavaScript. Apart from being used in the browser, it is also used in other non-browser environments as well such as Node.js for writing server-side code in JavaScript, Electron for writing desktop applications, React Native for mobile applications, and so on.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "You Dont Know JS Yet (book series)",
|
||||
"title": "You Don't Know JS Yet (book series)",
|
||||
"url": "https://github.com/getify/You-Dont-Know-JS",
|
||||
"type": "opensource"
|
||||
},
|
||||
@@ -200,7 +200,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Understanding hoisting ",
|
||||
"title": "Understanding Hoisting",
|
||||
"url": "https://www.digitalocean.com/community/tutorials/understanding-hoisting-in-javascript",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -307,7 +307,7 @@
|
||||
},
|
||||
"q85z6x1Lc-yLWepwtIT2_": {
|
||||
"title": "const",
|
||||
"description": "Constants are block-scoped, much like variables declared using the `let` keyword. The value of a constant can't be changed through reassignment (i.e. by using the assignment operator), and it can't be redeclared (i.e. through a variable declaration). However, if a constant is an object or array its properties or items can be updated or removed.\n\nVisit the following resources to learn more:",
|
||||
"description": "Constants are block-scoped, much like variables declared using the `let` keyword. The value of a constant can't be changed through reassignment (i.e. by using the assignment operator), and it can't be re-declared (i.e. through a variable declaration). However, if a constant is an object or array its properties or items can be updated or removed.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "JavaScript Constants - CodeGuage",
|
||||
@@ -360,7 +360,7 @@
|
||||
},
|
||||
"oC4o6GLEES_nUgCJu9Q6I": {
|
||||
"title": "Global",
|
||||
"description": "Variables declared Globally (outside any function) have Global Scope. Global variables can be accessed from anywhere in a JavaScript program. Variables declared with `var`, `let` and `const` are quite similar when declared outside a block.\n\nVisit the following resources to learn more:",
|
||||
"description": "Variables declared Globally (outside any function) have Global Scope. Global variables can be accessed from anywhere in a JavaScript program. Variables declared with `var`, `let` and `const` are quite similar when declared outside a block.\n\nNote\n----\n\nIf you assign a value to a variable that has not been declared i.e `potato = true` it will automatically become a _GLOBAL_ variable.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "JavaScript Scope",
|
||||
@@ -423,12 +423,17 @@
|
||||
},
|
||||
"1RcwBHU3jzx0YxxUGZic4": {
|
||||
"title": "string",
|
||||
"description": "String is a primitive type that holds a sequence of characters. String in Javascript is written within a pair of single quotation marks `''` or double quotation marks `\"\"`. Both quotes can be used to contain a string but only if the starting quote is the same as the end quote.\n\nVisit the following resources to learn more:",
|
||||
"description": "String is a primitive type that holds a sequence of characters. String in Javascript is written within a pair of single quotation marks `''`, double quotation marks `\"\"`, or backticks ` `` ` (template literals). All types of quotes can be used to contain a string but only if the starting quote is the same as the end quote.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "String",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "JavaScript Strings",
|
||||
"url": "https://javascript.info/string",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -445,7 +450,7 @@
|
||||
},
|
||||
"GZ_SXsWmP7AsXRTc4WUMw": {
|
||||
"title": "number",
|
||||
"description": "The `Number` data type in JavaScript represents floating-point numbers, such as 37 or -9.25. The `Number` constructor provides constants and methods to work with numbers, and values of other types can be converted to numbers using the `Number()` function.\n\n### Example\n\n let num1 = 255; // integer\n let num2 = 255.0; // floating-point number with no fractional part\n let num3 = 0xff; // hexadecimal notation\n let num4 = 0b11111111; // binary notation\n let num5 = 0.255e3; // exponential notation\n \n console.log(num1 === num2); // true\n console.log(num1 === num3); // true\n console.log(num1 === num4); // true\n console.log(num1 === num5); // true\n \n\nIn this example:\n\n* `255` and `255.0` are equivalent, as JavaScript treats both as the same number.\n* `0xff` represents `255` in hexadecimal notation.\n* `0b11111111` represents `255` in binary notation.\n* `0.255e3` is `255` in exponential notation.\n* All these different representations are equal to `255` in JavaScript.",
|
||||
"description": "The `Number` data type in JavaScript represents floating-point numbers, such as 37 or -9.25. The `Number` constructor provides constants and methods to work with numbers, and values of other types can be converted to numbers using the `Number()` function.\n\nExample\n-------\n\n let num1 = 255; // integer\n let num2 = 255.0; // floating-point number with no fractional part\n let num3 = 0xff; // hexadecimal notation\n let num4 = 0b11111111; // binary notation\n let num5 = 0.255e3; // exponential notation\n \n console.log(num1 === num2); // true\n console.log(num1 === num3); // true\n console.log(num1 === num4); // true\n console.log(num1 === num5); // true\n \n\nIn this example:\n\n* `255` and `255.0` are equivalent, as JavaScript treats both as the same number.\n* `0xff` represents `255` in hexadecimal notation.\n* `0b11111111` represents `255` in binary notation.\n* `0.255e3` is `255` in exponential notation.\n* All these different representations are equal to `255` in JavaScript.",
|
||||
"links": []
|
||||
},
|
||||
"6lUF0neW1piiP1RsaVxEX": {
|
||||
@@ -498,7 +503,7 @@
|
||||
},
|
||||
"R6ICrk6vjoBxx5nRGo4Jg": {
|
||||
"title": "Symbol",
|
||||
"description": "Symbols are a unique and immutable primitive data type in JavaScript, introduced in ECMAScript 6 (ES6). They are often used to create unique property keys for objects, ensuring that no property key collisions occur. Each Symbol value is unique, even if created with the same description. Symbols can be created using the Symbol() function, and their primary use case is to add hidden or special properties to objects that won’t interfere with other properties or methods.\n\nLearn more from the following resources:",
|
||||
"description": "Symbols are a unique and immutable primitive data type in JavaScript, introduced in ECMAScript 6 (ES6). They are often used to create unique property keys for objects, ensuring no property key collisions occur. Each Symbol value is distinct, even when multiple are created with the same description. Symbols can be created using the Symbol() function, and their primary use case is to add hidden or special properties to objects that won’t interfere with other properties or methods.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Symbol data type in JavaScript",
|
||||
@@ -509,6 +514,16 @@
|
||||
"title": "Symbol type",
|
||||
"url": "https://javascript.info/symbol",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Symbol",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Symbol",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Symbols in Javascript",
|
||||
"url": "https://www.youtube.com/watch?v=E5Bblr-SFbA",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -580,12 +595,12 @@
|
||||
"description": "You can use the typeOf operator to find the data type of a JavaScript variable. It returns a string indicating the type of provided operand's value.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Typeof Reference",
|
||||
"title": "typeof Reference",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/typeof",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Typeof Live Examples",
|
||||
"title": "typeof Live Examples",
|
||||
"url": "https://www.w3schools.com/js/tryit.asp?filename=tryjs_typeof_all",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -695,7 +710,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What you need to know about Javascripts Implicit Coercion",
|
||||
"title": "What you need to know about JavaScript Implicit Coercion",
|
||||
"url": "https://dev.to/promisetochi/what-you-need-to-know-about-javascripts-implicit-coercion-e23",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -1245,7 +1260,7 @@
|
||||
},
|
||||
"-z-4VTaC3tOThqChgyoMs": {
|
||||
"title": "Error Objects",
|
||||
"description": "When a runtime error occurs, a new `Error` object is created and thrown. With this `Error` object, we can determine the type of the Error and handle it according to its type.\n\nTypes of Errors:\n----------------\n\nBesides error constructors, Javascript also has other core Error constructors.\n\n* [@article@AggregateError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError)\n* [@article@EvalError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError)\n* [@article@InternalError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError)\n* [@article@RangeError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError)\n* [@article@ReferenceError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError)\n* [@article@SyntaxError](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError)\n\nExample\n-------\n\n try {\n willGiveErrorSometime();\n } catch (error) {\n if (error instanceof RangeError) {\n rangeErrorHandler(error);\n } else if (error instanceof ReferenceError) {\n referenceErrorHandle(error);\n } else {\n errorHandler(error);\n }\n }\n \n\nVisit the following resources to learn more:",
|
||||
"description": "When a runtime error occurs, a new `Error` object is created and thrown. With this `Error` object, we can determine the type of the Error and handle it according to its type.\n\nTypes of Errors\n---------------\n\nBesides error constructors, Javascript also has other core Error constructors. Like\n\n* AggregateError - A collection of errors thrown simultaneously.\n* EvalError - An error occurred during the evaluation of a JavaScript expression.\n* InternalError - An internal JavaScript error, often indicating a bug in the engine.\n* RangeError - A value is outside the allowed range for a given operation.\n* ReferenceError - A variable or object is referenced before it's declared or doesn't exist.\n* SyntaxError - The code contains incorrect syntax, preventing it from being parsed.\n\nExample\n-------\n\n try {\n willGiveErrorSometime();\n } catch (error) {\n if (error instanceof RangeError) {\n rangeErrorHandler(error);\n } else if (error instanceof ReferenceError) {\n referenceErrorHandle(error);\n } else {\n errorHandler(error);\n }\n }\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Error Object - MDN",
|
||||
@@ -1256,6 +1271,36 @@
|
||||
"title": "Control flow & Error handling - MDN",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Control_flow_and_error_handling",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "AggregateError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "EvalError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/EvalError",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "InternalError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/InternalError",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "RangeError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/RangeError",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "ReferenceError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/ReferenceError",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "SyntaxError",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/SyntaxError",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1415,7 +1460,7 @@
|
||||
]
|
||||
},
|
||||
"k9rSR-YQ8B_iRcXNm2btP": {
|
||||
"title": "Unary Opeartors",
|
||||
"title": "Unary Operators",
|
||||
"description": "JavaScript Unary Operators are the special operators that consider a single operand and perform all the types of operations on that single operand. These operators include unary plus, unary minus, prefix increments, postfix increments, prefix decrements, and postfix decrements.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
@@ -1480,7 +1525,7 @@
|
||||
},
|
||||
"fr0NChxMXLpJizyMhXcXS": {
|
||||
"title": "Arrow Functions",
|
||||
"description": "Arrow Function is a new way of creating functions with the '=>' operator with a shorter syntax.\n\nVisit the following resources to learn more:",
|
||||
"description": "Arrow Function is a new way of creating functions with the '=>' operator with a shorter syntax.\n\nExample\n-------\n\n const sayHello = () => {\n console.log(`Hello from Arrow Function !`);\n }\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "MDN - Arrow Function Expressions",
|
||||
@@ -1496,7 +1541,7 @@
|
||||
},
|
||||
"YZlCoPvZuX5MmpLOTj5d4": {
|
||||
"title": "IIFEs",
|
||||
"description": "Immediately-Invoked Function Expression is a function that is executed immediately after it is created.\n\nVisit the following resources to learn more:",
|
||||
"description": "Immediately-Invoked Function Expression is a function that is executed immediately after it is created.\n\nExample\n-------\n\n // An Async IIFE\n ( async() => {\n \n const x = 1;\n const y = 9;\n \n console.log(`Hello, The Answer is ${x+y}`);\n \n })();\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "IIFE — MDN Docs",
|
||||
@@ -1779,18 +1824,46 @@
|
||||
},
|
||||
"gsyY3Oa3Jf0W5K_lyqBYO": {
|
||||
"title": "call",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `call()` method allows you to invoke a function with a given `this` value, and arguments provided individually.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Call Method - MDN Docs",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/call",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"-BtF34cEzI6J8sZCDRlRE": {
|
||||
"title": "apply",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The apply() method of Function instances calls this function with a given this value, and arguments provided as an array (or an array-like object).\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "apply() - MDN",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/apply",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dbercnxXVTJXMpYSDNGb2": {
|
||||
"title": "bind",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `bind()` method in JavaScript allows you to create a new function with a specific context and optionally preset arguments. Unlike `call()` or `apply()`, `bind()` does not immediately invoke the function. Instead, it returns a new function that can be called later, either as a regular function or with additional arguments. This is particularly useful when you want to ensure that a function retains a specific context, regardless of how or when it's invoked.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "bind()",
|
||||
"url": "https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Function/bind",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Function binding",
|
||||
"url": "https://javascript.info/bind",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Javascript Function Bind()",
|
||||
"url": "https://www.w3schools.com/js/js_function_bind.asp",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sFOqx6_7poVIVuXhJVY0E": {
|
||||
"title": "Asynchronous JavaScript",
|
||||
@@ -1935,7 +2008,7 @@
|
||||
},
|
||||
"PJSdqvh5OBwPCNpn3q_S5": {
|
||||
"title": "Callback Hell",
|
||||
"description": "The callback hell is when we try to write asynchronous JavaScript in a way where execution happens visually from top to bottom, creating a code that has a pyramid shape with many }) at the end.\n\nVisit the following resources to learn more:",
|
||||
"description": "The callback hell is when we try to write asynchronous JavaScript in a way where execution happens visually from top to bottom, creating a code that has a pyramid shape with many **})** at the end.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Callbacks in Callbacks - Pyramid of Doom",
|
||||
@@ -1998,7 +2071,7 @@
|
||||
},
|
||||
"kL5rfWxXe4J44ENru1uJS": {
|
||||
"title": "Fetch",
|
||||
"description": "The fetch() method in JavaScript is used to request to the server and load the information on the webpages. The request can be of any APIs that return the data of the format JSON or XML. This method returns a promise.\n\nVisit the following resources to learn more:",
|
||||
"description": "The `fetch()` method in JavaScript is used to request to the server and load the information on the webpages. The request can be of any APIs that return the data of the format JSON or XML. This method returns a promise.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Fetch MDN Docs",
|
||||
@@ -2014,6 +2087,11 @@
|
||||
"title": "Network request - Fetch",
|
||||
"url": "https://javascript.info/fetch",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Abort a fetch request manually in JavaScript",
|
||||
"url": "https://www.amitmerchant.com/abort-fetch-request-manually-in-javascript/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2113,7 +2191,7 @@
|
||||
},
|
||||
"4EXeGkOpfAViB9Uo4zL6O": {
|
||||
"title": "CommonJS",
|
||||
"description": "CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ESModules standard used by browsers and other JavaScript runtimes, but CJS is still widely used in backend Node.js applications. Sometimes these modules will be written with a .cjs extension.\n\nVisit the following resources to learn more:",
|
||||
"description": "CommonJS modules are the original way to package JavaScript code for Node.js. Node.js also supports the ESModules standard used by browsers and other JavaScript run-times, but CJS is still widely used in backend Node.js applications. Sometimes these modules will be written with a .cjs extension.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "How the CJS Module System Works",
|
||||
@@ -2197,7 +2275,7 @@
|
||||
},
|
||||
"bhuGtcyqPFKu-900aESYz": {
|
||||
"title": "DOM APIs",
|
||||
"description": "With HTML DOM, JavaScript can access and change all the elements of an HTML document such as its attributes, CSS styles, remove elements, add and create new elements on the page. Web API means application programming inteface for the web. All browsers have a set og built-in Web APIs to support complex operations, and to help accessing data. Like Geolocation API, Web Storage, Web History and others.\n\nVisit the following resources to learn more:",
|
||||
"description": "With HTML DOM, JavaScript can access and change all the elements of an HTML document such as its attributes, CSS styles, remove elements, add and create new elements on the page. Web API means application programming interface for the web. All browsers have a set of built-in Web APIs to support complex operations, and to help accessing data. Like Geo-location API, Web Storage, Web History and others.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "DOM- MDN Docs",
|
||||
@@ -2229,11 +2307,16 @@
|
||||
},
|
||||
"rc5WzBBOm2cus-rQl8EOE": {
|
||||
"title": "Using Browser DevTools",
|
||||
"description": "These are a set of tools built into the browser to aid frontend developers diagnose and solve various issues in their applications — such as JavaScript and logical bugs, CSS styling issues or even just making quick temporary alterations to the DOM.\n\nTo enter the dev tools, right click and click **Inspect** (or press `ctrl+shift+c`/`cmd+opt+c`) to enter the Elements panel. Here you can debug CSS and HTML issues. If you want to see logged messages or interact with javascript, enter the **Console** tab from the tabs above (or press `ctrl+shift+j` or `F12` /`cmd+opt+j` to enter it directly). Another very useful feature in the Chrome dev tools is the Lighthouse (for checking performance).\n\nNOTE: This isn't a chrome-specific feature, and most browsers (Chromium based or otherwise) will have their own, largely-similar set of devtools.\n\nVisit the following resources to learn more:",
|
||||
"description": "These are a set of tools built into the browser to aid frontend developers diagnose and solve various issues in their applications — such as JavaScript and logical bugs, CSS styling issues or even just making quick temporary alterations to the DOM.\n\nTo enter the dev tools, right click and click **Inspect** (or press `ctrl+shift+c`/`cmd+opt+c`) to enter the Elements panel. Here you can debug CSS and HTML issues. If you want to see logged messages or interact with javascript, enter the **Console** tab from the tabs above (or press `ctrl+shift+j` or `F12` / `cmd+opt+j` to enter it directly). Another very useful feature in the Chrome dev tools is the Lighthouse (for checking performance).\n\nNOTE: This isn't a chrome-specific feature, and most browsers (Chromium based or otherwise) will have their own, largely-similar set of devtools.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Official Docs",
|
||||
"url": "https://developer.chrome.com/docs/devtools/overview/",
|
||||
"url": "https://developer.chrome.com/docs/devtools/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Debug JavaScript with Chrome Dev Tools",
|
||||
"url": "https://developer.chrome.com/docs/devtools/javascript/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -2264,7 +2347,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Effective Javascript Debugging ",
|
||||
"title": "Effective Javascript Debugging",
|
||||
"url": "https://medium.com/swlh/effective-javascript-debugging-memory-leaks-75059b2436f6",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -2287,7 +2370,7 @@
|
||||
},
|
||||
"ECxISKUAU7js_JsfSHzud": {
|
||||
"title": "Debugging Performance",
|
||||
"description": "Enter the dev tools and check out the Lighthouse tab. This is essentially a series of tests which analyses the currently open website on a bunch of metrics related to performance, page speed, accessibility, etc. Feel free to run the tests by clicking the **Analyse Page Load** button (you might want to do this in an incognito tab to avoid errors arising from extensions you're using). Once you have the results, take your time and read through them (and do click through to the reference pages mentioned alongside each test result to know more about it!)\n\nVisit the following resources to learn more:",
|
||||
"description": "Enter the dev tools and check out the Lighthouse tab. This is essentially a series of tests which analyses the currently open website on a bunch of metrics related to performance, page speed, accessibility, etc. Feel free to run the tests by clicking the **Analyze Page Load** button (you might want to do this in an incognito tab to avoid errors arising from extensions you're using). Once you have the results, take your time and read through them (and do click through to the reference pages mentioned alongside each test result to know more about it!)\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Analyze runtime performance",
|
||||
|
||||
@@ -1,13 +1,18 @@
|
||||
{
|
||||
"_7uvOebQUI4xaSwtMjpEd": {
|
||||
"title": "Programming Fundamentals",
|
||||
"description": "Programming is the key requirement for MLOps. You need to be proficient in atleast one programming language. Python is the most popular language for MLOps.",
|
||||
"description": "ML programming fundamentals encompass the essential skills and concepts needed to develop machine learning models effectively. Key aspects include understanding data structures and algorithms, as well as proficiency in programming languages commonly used in ML, such as Python and R. Familiarity with libraries and frameworks like TensorFlow, PyTorch, and scikit-learn is crucial for implementing machine learning algorithms and building models. Additionally, concepts such as data preprocessing, feature engineering, model evaluation, and hyperparameter tuning are vital for optimizing performance. A solid grasp of statistics and linear algebra is also important, as these mathematical foundations underpin many ML techniques, enabling practitioners to analyze data and interpret model results accurately.",
|
||||
"links": []
|
||||
},
|
||||
"Vh81GnOUOZvDOlOyI5PwT": {
|
||||
"title": "Python",
|
||||
"description": "Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its significant use of indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming. Python is often described as a \"batteries included\" language due to its comprehensive standard library.\n\nTo start learning Python, here are some useful resources:\n\nRemember, practice is key, and the more you work with Python, the more you'll appreciate its utility in the world of cyber security.",
|
||||
"description": "Python is an interpreted high-level general-purpose programming language. Its design philosophy emphasizes code readability with its significant use of indentation. Its language constructs as well as its object-oriented approach aim to help programmers write clear, logical code for small and large-scale projects. Python is dynamically-typed and garbage-collected. It supports multiple programming paradigms, including structured (particularly, procedural), object-oriented and functional programming. Python is often described as a \"batteries included\" language due to its comprehensive standard library.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Python Roadmap",
|
||||
"url": "https://roadmap.sh/python",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python.org",
|
||||
"url": "https://www.python.org/",
|
||||
@@ -32,11 +37,11 @@
|
||||
},
|
||||
"vdVq3RQvQF3mF8PQc6DMg": {
|
||||
"title": "Go",
|
||||
"description": "Go is an open source programming language supported by Google. Go can be used to write cloud services, CLI tools, used for API development, and much more.\n\nVisit the following resources to learn more:",
|
||||
"description": "Go, also known as Golang, is an open-source programming language developed by Google that emphasizes simplicity, efficiency, and strong concurrency support. Designed for modern software development, Go features a clean syntax, garbage collection, and built-in support for concurrent programming through goroutines and channels, making it well-suited for building scalable, high-performance applications, especially in cloud computing and microservices architectures. Go's robust standard library and tooling ecosystem, including a powerful package manager and testing framework, further streamline development processes, promoting rapid application development and deployment. Visit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Go Roadmap",
|
||||
"url": "/golang",
|
||||
"url": "https://roadmap.sh/golang",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -49,16 +54,6 @@
|
||||
"url": "https://go.dev/doc/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Go by Example - annotated example programs",
|
||||
"url": "https://gobyexample.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "W3Schools Go Tutorial ",
|
||||
"url": "https://www.w3schools.com/go/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Making a RESTful JSON API in Go",
|
||||
"url": "https://thenewstack.io/make-a-restful-json-api-go/",
|
||||
@@ -75,16 +70,27 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Go Class by Matt",
|
||||
"url": "https://www.youtube.com/playlist?list=PLoILbKo9rG3skRCj37Kn5Zj803hhiuRK6",
|
||||
"title": "Go Programming Course",
|
||||
"url": "https://www.youtube.com/watch?v=un6ZyFkqFKo",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mMzqJF2KQ49TDEk5F3VAI": {
|
||||
"title": "Bash",
|
||||
"description": "Understanding bash is essential for MLOps tasks.\n\n* **Book Suggestion:** _The Linux Command Line, 2nd Edition_ by William E. Shotts",
|
||||
"links": []
|
||||
"description": "Bash (Bourne Again Shell) is a Unix shell and command language used for interacting with the operating system through a terminal. It allows users to execute commands, automate tasks via scripting, and manage system operations. As the default shell for many Linux distributions, it supports command-line utilities, file manipulation, process control, and text processing. Bash scripts can include loops, conditionals, and functions, making it a powerful tool for system administration, automation, and task scheduling.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "bash-guide",
|
||||
"url": "https://github.com/Idnan/bash-guide",
|
||||
"type": "opensource"
|
||||
},
|
||||
{
|
||||
"title": "Bash Scripting Course",
|
||||
"url": "https://www.youtube.com/watch?v=tK9Oc6AEnR4",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"oUhlUoWQQ1txx_sepD5ev": {
|
||||
"title": "Version Control Systems",
|
||||
@@ -104,8 +110,13 @@
|
||||
},
|
||||
"06T5CbZAGJU6fJhCmqCC8": {
|
||||
"title": "Git",
|
||||
"description": "[Git](https://git-scm.com/) is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.\n\nVisit the following resources to learn more:",
|
||||
"description": "Git is a distributed version control system used to track changes in source code during software development. It enables multiple developers to collaborate on a project by managing versions of code, allowing for branching, merging, and tracking of revisions. Git ensures that changes are recorded with a complete history, enabling rollback to previous versions if necessary. It supports distributed workflows, meaning each developer has a complete local copy of the project’s history, facilitating seamless collaboration, conflict resolution, and efficient management of code across different teams or environments.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Learn Git & GitHub",
|
||||
"url": "https://roadmap.sh/git-github",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learn Git with Tutorials, News and Tips - Atlassian",
|
||||
"url": "https://www.atlassian.com/git",
|
||||
@@ -130,28 +141,23 @@
|
||||
},
|
||||
"7t7jSb3YgyWlhgCe8Se1I": {
|
||||
"title": "GitHub",
|
||||
"description": "GitHub is a provider of Internet hosting for software development and version control using Git. It offers the distributed version control and source code management functionality of Git, plus its own features.\n\nVisit the following resources to learn more:",
|
||||
"description": "GitHub is a web-based platform built on top of Git that provides version control, collaboration tools, and project management features for software development. It enables developers to host Git repositories, collaborate on code through pull requests, and review and track changes. GitHub also offers additional features like issue tracking, continuous integration, automated workflows, and documentation hosting. With its social coding environment, GitHub fosters open-source contributions and team collaboration, making it a central hub for many software development projects.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Learn Git & GitHub",
|
||||
"url": "https://roadmap.sh/git-github",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GitHub Website",
|
||||
"url": "https://github.com",
|
||||
"type": "opensource"
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GitHub Documentation",
|
||||
"url": "https://docs.github.com/en/get-started/quickstart",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "How to Use Git in a Professional Dev Team",
|
||||
"url": "https://ooloo.io/project/github-flow",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learn Git Branching",
|
||||
"url": "https://learngitbranching.js.org/?locale=en_us",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about GitHub",
|
||||
"url": "https://app.daily.dev/tags/github?ref=roadmapsh",
|
||||
@@ -161,28 +167,24 @@
|
||||
"title": "What is GitHub?",
|
||||
"url": "https://www.youtube.com/watch?v=w3jLJU7DT5E",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Git vs. GitHub: Whats the difference?",
|
||||
"url": "https://www.youtube.com/watch?v=wpISo9TNjfU",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Git and GitHub for Beginners",
|
||||
"url": "https://www.youtube.com/watch?v=RGOj5yH7evk",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Git and GitHub - CS50 Beyond 2019",
|
||||
"url": "https://www.youtube.com/watch?v=eulnSXkhE7I",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"00GZcwe25QYi7rDzaOoMt": {
|
||||
"title": "Cloud Computing",
|
||||
"description": "**Cloud Computing** refers to the delivery of computing services over the internet rather than using local servers or personal devices. These services include servers, storage, databases, networking, software, analytics, and intelligence. Cloud Computing enables faster innovation, flexible resources, and economies of scale. There are various types of cloud computing such as public clouds, private clouds, and hybrids clouds. Furthermore, it's divided into different services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). These services differ mainly in the level of control an organization has over their data and infrastructures.",
|
||||
"links": []
|
||||
"description": "**Cloud Computing** refers to the delivery of computing services over the internet rather than using local servers or personal devices. These services include servers, storage, databases, networking, software, analytics, and intelligence. Cloud Computing enables faster innovation, flexible resources, and economies of scale. There are various types of cloud computing such as public clouds, private clouds, and hybrids clouds. Furthermore, it's divided into different services like Infrastructure as a Service (IaaS), Platform as a Service (PaaS), and Software as a Service (SaaS). These services differ mainly in the level of control an organization has over their data and infrastructures.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is cloud computing?",
|
||||
"url": "https://azure.microsoft.com/en-gb/resources/cloud-computing-dictionary/what-is-cloud-computing",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is Cloud Computing? | Amazon Web Services",
|
||||
"url": "https://www.youtube.com/watch?v=mxT233EdY5c",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"u3E7FGW4Iwdsu61KYFxCX": {
|
||||
"title": "AWS / Azure / GCP",
|
||||
@@ -212,12 +214,28 @@
|
||||
},
|
||||
"kbfucfIO5KCsuv3jKbHTa": {
|
||||
"title": "Cloud-native ML Services",
|
||||
"description": "Most of the cloud providers offer managed services for machine learning. These services are designed to help data scientists and machine learning engineers to build, train, and deploy machine learning models at scale. These services are designed to be cloud-native, meaning they are designed to work with other cloud services and are optimized for the cloud environment.\n\nHere are the services offered by the major cloud providers:\n\n* **Amazon Web Services (AWS)**: SageMaker\n* **Google Cloud Platform (GCP)**: AI Platform\n* **Microsoft Azure**: Azure Machine Learning",
|
||||
"links": []
|
||||
"description": "Most of the cloud providers offer managed services for machine learning. These services are designed to help data scientists and machine learning engineers to build, train, and deploy machine learning models at scale. These services are designed to be cloud-native, meaning they are designed to work with other cloud services and are optimized for the cloud environment.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "AWS Sage Maker",
|
||||
"url": "https://aws.amazon.com/sagemaker/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Azure ML",
|
||||
"url": "https://azure.microsoft.com/en-gb/products/machine-learning",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is Cloud Native?",
|
||||
"url": "https://www.youtube.com/watch?v=fp9_ubiKqFU",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tKeejLv8Q7QX40UtOjpav": {
|
||||
"title": "Containerization",
|
||||
"description": "Containers are a construct in which [cgroups](https://en.wikipedia.org/wiki/Cgroups), [namespaces](https://en.wikipedia.org/wiki/Linux_namespaces), and [chroot](https://en.wikipedia.org/wiki/Chroot) are used to fully encapsulate and isolate a process. This encapsulated process, called a container image, shares the kernel of the host with other containers, allowing containers to be significantly smaller and faster than virtual machines.\n\nThese images are designed for portability, allowing for full local testing of a static image, and easy deployment to a container management platform.\n\nVisit the following resources to learn more:",
|
||||
"description": "Containers are a construct in which cgroups, namespaces, and chroot are used to fully encapsulate and isolate a process. This encapsulated process, called a container image, shares the kernel of the host with other containers, allowing containers to be significantly smaller and faster than virtual machines.\n\nThese images are designed for portability, allowing for full local testing of a static image, and easy deployment to a container management platform.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What are Containers?",
|
||||
@@ -274,8 +292,13 @@
|
||||
},
|
||||
"XQoK9l-xtN2J8ZV8dw53X": {
|
||||
"title": "Kubernetes",
|
||||
"description": "Kubernetes is an [open source](https://github.com/kubernetes/kubernetes) container management platform, and the dominant product in this space. Using Kubernetes, teams can deploy images across multiple underlying hosts, defining their desired availability, deployment logic, and scaling logic in YAML. Kubernetes evolved from Borg, an internal Google platform used to provision and allocate compute resources (similar to the Autopilot and Aquaman systems of Microsoft Azure).\n\nThe popularity of Kubernetes has made it an increasingly important skill for the DevOps Engineer and has triggered the creation of Platform teams across the industry. These Platform engineering teams often exist with the sole purpose of making Kubernetes approachable and usable for their product development colleagues.\n\nVisit the following resources to learn more:",
|
||||
"description": "Kubernetes is an open source container management platform, and the dominant product in this space. Using Kubernetes, teams can deploy images across multiple underlying hosts, defining their desired availability, deployment logic, and scaling logic in YAML. Kubernetes evolved from Borg, an internal Google platform used to provision and allocate compute resources (similar to the Autopilot and Aquaman systems of Microsoft Azure). The popularity of Kubernetes has made it an increasingly important skill for the DevOps Engineer and has triggered the creation of Platform teams across the industry. These Platform engineering teams often exist with the sole purpose of making Kubernetes approachable and usable for their product development colleagues.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Kubernetes Roadmap",
|
||||
"url": "https://roadmap.sh/kubernetes",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Kubernetes Website",
|
||||
"url": "https://kubernetes.io/",
|
||||
@@ -286,11 +309,6 @@
|
||||
"url": "https://kubernetes.io/docs/home/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Primer: How Kubernetes Came to Be, What It Is, and Why You Should Care",
|
||||
"url": "https://thenewstack.io/primer-how-kubernetes-came-to-be-what-it-is-and-why-you-should-care/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Kubernetes: An Overview",
|
||||
"url": "https://thenewstack.io/kubernetes-an-overview/",
|
||||
@@ -310,28 +328,93 @@
|
||||
},
|
||||
"ulka7VEVjz6ls5SnI6a6z": {
|
||||
"title": "Machine Learning Fundamentals",
|
||||
"description": "An MLOps engineer should have a basic understanding of machine learning models.\n\n* **Courses:** [MLCourse.ai](https://mlcourse.ai/), [Fast.ai](https://course.fast.ai)\n* **Book Suggestion:** _Applied Machine Learning and AI for Engineers_ by Jeff Prosise",
|
||||
"links": []
|
||||
"description": "Machine learning fundamentals encompass the key concepts and techniques that enable systems to learn from data and make predictions or decisions without being explicitly programmed. At its core, machine learning involves algorithms that can identify patterns in data and improve over time with experience. Key areas include supervised learning (where models are trained on labeled data), unsupervised learning (where models identify patterns in unlabeled data), and reinforcement learning (where agents learn to make decisions based on feedback from their actions). Essential components also include data preprocessing, feature selection, model training, evaluation metrics, and the importance of avoiding overfitting. Understanding these fundamentals is crucial for developing effective machine learning applications across various domains. Learn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Fundamentals of Machine Learning - Microsoft",
|
||||
"url": "https://learn.microsoft.com/en-us/training/modules/fundamentals-machine-learning/",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "MLCourse.ai",
|
||||
"url": "https://mlcourse.ai/",
|
||||
"type": "course"
|
||||
},
|
||||
{
|
||||
"title": "Fast.ai",
|
||||
"url": "https://course.fast.ai",
|
||||
"type": "course"
|
||||
}
|
||||
]
|
||||
},
|
||||
"VykbCu7LWIx8fQpqKzoA7": {
|
||||
"title": "Data Engineering Fundamentals",
|
||||
"description": "Data Engineering is essentially dealing with the collection, validation, storage, transformation, and processing of data. The objective is to provide reliable, efficient, and scalable data pipelines and infrastructure that allow data scientists to convert data into actionable insights. It involves steps like data ingestion, data storage, data processing, and data provisioning. Important concepts include designing, building, and maintaining data architecture, databases, processing systems, and large-scale processing systems. It is crucial to have extensive technical knowledge in various tools and programming languages like SQL, Python, Hadoop, and more.",
|
||||
"links": []
|
||||
"description": "Data Engineering is essentially dealing with the collection, validation, storage, transformation, and processing of data. The objective is to provide reliable, efficient, and scalable data pipelines and infrastructure that allow data scientists to convert data into actionable insights. It involves steps like data ingestion, data storage, data processing, and data provisioning. Important concepts include designing, building, and maintaining data architecture, databases, processing systems, and large-scale processing systems. It is crucial to have extensive technical knowledge in various tools and programming languages like SQL, Python, Hadoop, and more.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Data Engineering 101",
|
||||
"url": "https://www.redpanda.com/guides/fundamentals-of-data-engineering",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Fundamentals of Data Engineering",
|
||||
"url": "https://www.youtube.com/watch?v=mPSzL8Lurs0",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cOg3ejZRYE-u-M0c89IjM": {
|
||||
"title": "Data Pipelines",
|
||||
"description": "Data pipelines refer to a set of processes that involve moving data from one system to another, for purposes such as data integration, data migration, data transformation, or data synchronization. These processes can involve a variety of data sources and destinations, and may often require data to be cleaned, enriched, or otherwise transformed along the way. It's a key concept in data engineering to ensure that data is appropriately processed from its source to the location where it will be used, typically a data warehouse, data mart, or a data lake. As such, data pipelines play a crucial part in building an effective and efficient data analytics setup, enabling the flow of data to be processed for insights.\n\nIt is important to understand the difference between ELT and ETL pipelines. ELT stands for Extract, Load, Transform, and refers to a process where data is first extracted from source systems, then loaded into a target system, and finally transformed within the target system. ETL, on the other hand, stands for Extract, Transform, Load, and refers to a process where data is first extracted from source systems, then transformed, and finally loaded into a target system. The choice between ELT and ETL pipelines depends on the specific requirements of the data processing tasks at hand, and the capabilities of the systems involved.",
|
||||
"links": []
|
||||
"description": "Data pipelines are a series of automated processes that transport and transform data from various sources to a destination for analysis or storage. They typically involve steps like data extraction, cleaning, transformation, and loading (ETL) into databases, data lakes, or warehouses. Pipelines can handle batch or real-time data, ensuring that large-scale datasets are processed efficiently and consistently. They play a crucial role in ensuring data integrity and enabling businesses to derive insights from raw data for reporting, analytics, or machine learning.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is a data pipeline?",
|
||||
"url": "https://www.ibm.com/topics/data-pipeline",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What are data pipelines?",
|
||||
"url": "https://www.youtube.com/watch?v=oKixNpz6jNo",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wOogVDV4FIDLXVPwFqJ8C": {
|
||||
"title": "Data Lakes & Warehouses",
|
||||
"description": "\"**Data Lakes** are large-scale data repository systems that store raw, untransformed data, in various formats, from multiple sources. They're often used for big data and real-time analytics requirements. Data lakes preserve the original data format and schema which can be modified as necessary. On the other hand, **Data Warehouses** are data storage systems which are designed for analyzing, reporting and integrating with transactional systems. The data in a warehouse is clean, consistent, and often transformed to meet wide-range of business requirements. Hence, data warehouses provide structured data but require more processing and management compared to data lakes.\"",
|
||||
"links": []
|
||||
"description": "\"**Data Lakes** are large-scale data repository systems that store raw, untransformed data, in various formats, from multiple sources. They're often used for big data and real-time analytics requirements. Data lakes preserve the original data format and schema which can be modified as necessary. On the other hand, **Data Warehouses** are data storage systems which are designed for analyzing, reporting and integrating with transactional systems. The data in a warehouse is clean, consistent, and often transformed to meet wide-range of business requirements. Hence, data warehouses provide structured data but require more processing and management compared to data lakes.\"\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Data lake definition",
|
||||
"url": "https://azure.microsoft.com/en-gb/resources/cloud-computing-dictionary/what-is-a-data-lake",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is a data lake?",
|
||||
"url": "https://www.youtube.com/watch?v=LxcH6z8TFpI",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "@hat is a data warehouse?",
|
||||
"url": "https://www.youtube.com/watch?v=k4tK2ttdSDg",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Berd78HvnulNEGOsHCf8n": {
|
||||
"title": "Data Ingestion Architecture",
|
||||
"description": "Data ingestion is the process of collecting, transferring, and loading data from various sources to a destination where it can be stored and analyzed. There are several data ingestion architectures that can be used to collect data from different sources and load it into a data warehouse, data lake, or other storage systems. These architectures can be broadly classified into two categories: batch processing and real-time processing. How you choose to ingest data will depend on the volume, velocity, and variety of data you are working with, as well as the latency requirements of your use case.\n\nLambda and Kappa architectures are two popular data ingestion architectures that combine batch and real-time processing to handle large volumes of data efficiently.",
|
||||
"links": []
|
||||
"description": "Data ingestion is the process of collecting, transferring, and loading data from various sources to a destination where it can be stored and analyzed. There are several data ingestion architectures that can be used to collect data from different sources and load it into a data warehouse, data lake, or other storage systems. These architectures can be broadly classified into two categories: batch processing and real-time processing. How you choose to ingest data will depend on the volume, velocity, and variety of data you are working with, as well as the latency requirements of your use case.\n\nLambda and Kappa architectures are two popular data ingestion architectures that combine batch and real-time processing to handle large volumes of data efficiently.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Data Ingestion Patterns",
|
||||
"url": "https://docs.aws.amazon.com/whitepapers/latest/aws-cloud-data-ingestion-patterns-practices/data-ingestion-patterns.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is a data pipeline?",
|
||||
"url": "https://www.youtube.com/watch?v=kGT4PcTEPP8",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"pVSlVHXIap0unFxLGM-lQ": {
|
||||
"title": "Airflow",
|
||||
@@ -351,8 +434,13 @@
|
||||
},
|
||||
"UljuqA89_SlCSDWWMD_C_": {
|
||||
"title": "Spark",
|
||||
"description": "Apache Spark is an open-source distributed computing system used for big data processing and analytics. It provides an interface for programming entire clusters with implicit data parallelism and fault tolerance.\n\nVisit the following resources to learn more:",
|
||||
"description": "Apache Spark is an open-source distributed computing system designed for big data processing and analytics. It offers a unified interface for programming entire clusters, enabling efficient handling of large-scale data with built-in support for data parallelism and fault tolerance. Spark excels in processing tasks like batch processing, real-time data streaming, machine learning, and graph processing. It’s known for its speed, ease of use, and ability to process data in-memory, significantly outperforming traditional MapReduce systems. Spark is widely used in big data ecosystems for its scalability and versatility across various data processing tasks.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "ApacheSpark",
|
||||
"url": "https://spark.apache.org/documentation.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Spark By Examples",
|
||||
"url": "https://sparkbyexamples.com",
|
||||
@@ -388,7 +476,7 @@
|
||||
},
|
||||
"o6GQ3-8DgDtHzdX6yeg1w": {
|
||||
"title": "Flink",
|
||||
"description": "Apache Flink is a distributed stream processing framework that is used to process large amounts of data in real-time. It is designed to be highly scalable and fault-tolerant. Flink is built on top of the Apache Kafka messaging system and is used to process data streams in real-time.\n\nVisit the following resources to learn more:",
|
||||
"description": "Apache Flink is an open-source stream processing framework designed for real-time and batch data processing with low latency and high throughput. It supports event time processing, fault tolerance, and stateful operations, making it ideal for applications like real-time analytics, fraud detection, and event-driven systems. Flink is highly scalable, integrates with various data systems, and is widely used in industries for large-scale, real-time data processing tasks.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Apache Flink Documentation",
|
||||
@@ -399,12 +487,17 @@
|
||||
"title": "Explore top posts about Apache Flink",
|
||||
"url": "https://app.daily.dev/tags/apache-flink?ref=roadmapsh",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Apache Flink Tutorialpoint",
|
||||
"url": "https://www.tutorialspoint.com/apache_flink/apache_flink_introduction.htm",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"iTsEHVCo6KGq7H2HMgy5S": {
|
||||
"title": "MLOps Principles",
|
||||
"description": "Awareness of MLOps principles and maturity factors is required.\n\n* **Books:**\n * _Designing Machine Learning Systems_ by Chip Huyen\n * _Introducing MLOps_ by Mark Treveil and Dataiku\n* **Assessment:** [MLOps maturity assessment](https://marvelousmlops.substack.com/p/mlops-maturity-assessment)\n* **Great resource on MLOps:** [ml-ops.org](https://ml-ops.org)",
|
||||
"description": "MLOps (Machine Learning Operations) principles focus on streamlining the deployment, monitoring, and management of machine learning models in production environments. Key principles include:\n\n1. **Collaboration**: Foster collaboration between data scientists, developers, and operations teams to ensure alignment on model goals, performance, and lifecycle management.\n \n2. **Automation**: Automate workflows for model training, testing, deployment, and monitoring to enhance efficiency, reduce errors, and speed up the development lifecycle.\n \n3. **Version Control**: Implement version control for both code and data to track changes, reproduce experiments, and maintain model lineage.\n \n4. **Continuous Integration and Deployment (CI/CD)**: Establish CI/CD pipelines tailored for machine learning to facilitate rapid model iteration and deployment.\n \n5. **Monitoring and Governance**: Continuously monitor model performance and data drift in production to ensure models remain effective and compliant with regulatory requirements.\n \n6. **Scalability**: Design systems that can scale to handle varying workloads and accommodate changes in data volume and complexity.\n \n7. **Reproducibility**: Ensure that experiments can be reliably reproduced by standardizing environments and workflows, making it easier to validate and iterate on models.\n \n\nThese principles help organizations efficiently manage the lifecycle of machine learning models, from development to deployment and beyond.",
|
||||
"links": []
|
||||
},
|
||||
"l1xasxQy2vAY34NWaqKEe": {
|
||||
@@ -435,23 +528,62 @@
|
||||
},
|
||||
"a6vawajw7BpL6plH_nuAz": {
|
||||
"title": "CI/CD",
|
||||
"description": "Critical for traceable and reproducible ML model deployments.\n\n* **Books:**\n * _Learning GitHub Actions_ by Brent Laster\n * _Learning Git_ by Anna Skoulikari\n* **Tutorials & Courses:** [Git & GitHub for beginners](https://www.youtube.com/watch?v=RGOj5yH7evk), [Python to Production guide](https://www.udemy.com/course/setting-up-the-linux-terminal-for-software-development/), [Version Control Missing Semester](https://missing.csail.mit.edu/2020/version-control/), [https://learngitbranching.js.org/](https://learngitbranching.js.org/)\n* **Tool:** [Pre-commit hooks](https://marvelousmlops.substack.com/p/welcome-to-pre-commit-heaven)",
|
||||
"links": []
|
||||
"description": "CI/CD (Continuous Integration and Continuous Deployment/Delivery) is a software development practice that automates the process of integrating code changes, running tests, and deploying updates. Continuous Integration focuses on regularly merging code changes into a shared repository, followed by automated testing to ensure code quality. Continuous Deployment extends this by automatically releasing every validated change to production, while Continuous Delivery ensures code is always in a deployable state, but requires manual approval for production releases. CI/CD pipelines improve code reliability, reduce integration risks, and speed up the development lifecycle.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is CI/CD?",
|
||||
"url": "https://www.redhat.com/en/topics/devops/what-is-ci-cd",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "CI/CD In 5 Minutes",
|
||||
"url": "https://www.youtube.com/watch?v=42UP1fxi2SY",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fes7M--Y8i08_zeP98tVV": {
|
||||
"title": "Orchestration",
|
||||
"description": "Systems like Airflow and Mage are important in ML engineering.\n\n* **Course:** [Introduction to Airflow in Python](https://app.datacamp.com/learn/courses/introduction-to-airflow-in-python)\n* **Note:** Airflow is also featured in the _ML Engineering with Python_ book and [_The Full Stack 7-Steps MLOps Framework_](https://www.pauliusztin.me/courses/the-full-stack-7-steps-mlops-framework).",
|
||||
"links": []
|
||||
"description": "ML orchestration refers to the process of managing and coordinating the various tasks and workflows involved in the machine learning lifecycle, from data preparation and model training to deployment and monitoring. It involves integrating multiple tools and platforms to streamline operations, automate repetitive tasks, and ensure seamless collaboration among data scientists, engineers, and operations teams. By using orchestration frameworks, organizations can enhance reproducibility, scalability, and efficiency, enabling them to manage complex machine learning pipelines and improve the overall quality of models in production. This ensures that models are consistently updated and maintained, facilitating rapid iteration and adaptation to changing data and business needs.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "ML Observability: what, why, how",
|
||||
"url": "https://ubuntu.com/blog/ml-observability",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fGGWKmAJ50Ke6wWJBEgby": {
|
||||
"title": "Experiment Tracking & Model Registry",
|
||||
"description": "**Experiment Tracking** is an essential part of MLOps, providing a system to monitor and record the different experiments conducted during the machine learning model development process. This involves capturing, organizing and visualizing the metadata associated with each experiment, such as hyperparameters used, models produced, metrics like accuracy or loss, and other information about the computational environment. This tracking allows for reproducibility of experiments, comparison across different experiment runs, and helps in identifying the best models.\n\nLogging metadata, parameters, and artifacts of training runs.\n\n* **Tool:** MLflow\n* **Courses:** [MLflow Udemy course](https://www.udemy.com/course/mlflow-course/), [End-to-end machine learning (MLflow piece)](https://www.udemy.com/course/sustainable-and-scalable-machine-learning-project-development/)",
|
||||
"links": []
|
||||
"description": "**Experiment Tracking** is an essential part of MLOps, providing a system to monitor and record the different experiments conducted during the machine learning model development process. This involves capturing, organizing and visualizing the metadata associated with each experiment, such as hyperparameters used, models produced, metrics like accuracy or loss, and other information about the computational environment. This tracking allows for reproducibility of experiments, comparison across different experiment runs, and helps in identifying the best models.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Experiment Tracking",
|
||||
"url": "https://madewithml.com/courses/mlops/experiment-tracking/#dashboard",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "ML Flow Model Registry",
|
||||
"url": "https://mlflow.org/docs/latest/model-registry.html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"6XgP_2NLuiw654zvTyueT": {
|
||||
"title": "Data Lineage & Feature Stores",
|
||||
"description": "**Data Lineage** refers to the life-cycle of data, including its origins, movements, characteristics and quality. It's a critical component in MLOps for tracking the journey of data through every process in a pipeline, from raw input to model output. Data lineage helps in maintaining transparency, ensuring compliance, and facilitating data debugging or tracing data related bugs. It provides a clear representation of data sources, transformations, and dependencies thereby aiding in audits, governance, or reproduction of machine learning models.\n\nFeature stores are a crucial component of MLOps infrastructure.\n\n* **Tutorial:** Creating a feature store with Feast [Part 1](https://kedion.medium.com/creating-a-feature-store-with-feast-part-1-37c380223e2f) [Part 2](https://kedion.medium.com/feature-storage-for-ml-with-feast-part-2-34df1971a8d3) [Part 3](https://kedion.medium.com/feature-storage-for-ml-with-feast-a061899fc4a2)\n* **Tool:** DVC for data tracking\n* **Course:** [End-to-end machine learning (DVC piece)](https://www.udemy.com/course/sustainable-and-scalable-machine-learning-project-development/)",
|
||||
"links": []
|
||||
"description": "**Data Lineage** refers to the life-cycle of data, including its origins, movements, characteristics and quality. It's a critical component in MLOps for tracking the journey of data through every process in a pipeline, from raw input to model output. Data lineage helps in maintaining transparency, ensuring compliance, and facilitating data debugging or tracing data related bugs. It provides a clear representation of data sources, transformations, and dependencies thereby aiding in audits, governance, or reproduction of machine learning models.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is Data Lineage?",
|
||||
"url": "https://www.ibm.com/topics/data-lineage",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is a feature store",
|
||||
"url": "https://www.snowflake.com/guides/what-feature-store-machine-learning/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"zsW1NRb0dMgS-KzWsI0QU": {
|
||||
"title": "Model Training & Serving",
|
||||
@@ -460,33 +592,39 @@
|
||||
},
|
||||
"r4fbUwD83uYumEO1X8f09": {
|
||||
"title": "Monitoring & Observability",
|
||||
"description": "**Monitoring** in MLOps primarily involves tracking the performance of machine learning (ML) models in production to ensure that they continually deliver accurate and reliable results. Such monitoring is necessary because the real-world data that these models handle may change over time, a scenario known as data drift. These changes can adversely affect model performance. Monitoring helps to detect any anomalies in the model’s behaviour or performance and such alerts can trigger the retraining of models with new data. From a broader perspective, monitoring also involves tracking resources and workflows to detect and rectify any operational issues in the MLOps pipeline.",
|
||||
"description": "**Monitoring** in MLOps primarily involves tracking the performance of machine learning (ML) models in production to ensure that they continually deliver accurate and reliable results. Such monitoring is necessary because the real-world data that these models handle may change over time, a scenario known as data drift. These changes can adversely affect model performance. Monitoring helps to detect any anomalies in the model’s behaviour or performance and such alerts can trigger the retraining of models with new data. From a broader perspective, monitoring also involves tracking resources and workflows to detect and rectify any operational issues in the MLOps pipeline.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "ML Monitoring vs Observability article",
|
||||
"url": "https://marvelousmlops.substack.com/p/ml-monitoring-vs-ml-observability",
|
||||
"title": "ML Monitoring vs ML Observability",
|
||||
"url": "https://medium.com/marvelous-mlops/ml-monitoring-vs-ml-observability-understanding-the-differences-fff574a8974f",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Machine learning monitoring concepts",
|
||||
"url": "https://app.datacamp.com/learn/courses/machine-learning-monitoring-concepts",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Monitoring ML in Python",
|
||||
"url": "https://app.datacamp.com/learn/courses/monitoring-machine-learning-in-python",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Prometheus, Grafana",
|
||||
"url": "https://www.udemy.com/course/mastering-prometheus-and-grafana/",
|
||||
"type": "article"
|
||||
"title": "ML Observability vs ML Monitoring: What's the difference?",
|
||||
"url": "https://www.youtube.com/watch?v=k1Reed3QIYE",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sf67bSL7HAx6iN7S6MYKs": {
|
||||
"title": "Infrastructure as Code",
|
||||
"description": "Essential for a reproducible MLOps framework.\n\n* **Course:** [Terraform course for beginners](https://www.youtube.com/watch?v=SLB_c_ayRMo)\n* **Video:** [8 Terraform best practices by Techworld by Nana](https://www.youtube.com/watch?v=gxPykhPxRW0)\n* **Book Suggestion:** _Terraform: Up and Running, 3rd Edition_ by Yevgeniy Brikman",
|
||||
"links": []
|
||||
"description": "Infrastructure as Code (IaC) is a modern approach to managing and provisioning IT infrastructure through machine-readable configuration files, rather than manual processes. It enables developers and operations teams to define and manage infrastructure resources—such as servers, networks, and databases—using code, which can be versioned, tested, and deployed like application code. IaC tools, like Terraform and AWS CloudFormation, allow for automated, repeatable deployments, reducing human error and increasing consistency across environments. This practice facilitates agile development, enhances collaboration between teams, and supports scalable and efficient infrastructure management.",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is Infrastructure as Code?",
|
||||
"url": "https://www.redhat.com/en/topics/automation/what-is-infrastructure-as-code-iac",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Terraform course for beginners",
|
||||
"url": "https://www.youtube.com/watch?v=SLB_c_ayRMo",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "8 Terraform best practices",
|
||||
"url": "https://www.youtube.com/watch?v=gxPykhPxRW0",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -1244,8 +1244,8 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about JavaScript",
|
||||
"url": "https://app.daily.dev/tags/javascript?ref=roadmapsh",
|
||||
"title": "Explore top posts about NestJS",
|
||||
"url": "https://app.daily.dev/tags/nestjs?ref=roadmapsh",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -1616,6 +1616,11 @@
|
||||
"title": "Drizzle",
|
||||
"description": "Drizzle lets you build your project the way you want, without interfering with your project or structure. Using Drizzle you can define and manage database schemas in TypeScript, access your data in a SQL-like or relational way, and take advantage of opt-in tools to make your developer experience amazing.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Drizzle Github",
|
||||
"url": "https://github.com/drizzle-team/drizzle-orm",
|
||||
"type": "opensource"
|
||||
},
|
||||
{
|
||||
"title": "Drizzle Website",
|
||||
"url": "https://orm.drizzle.team/",
|
||||
@@ -1626,11 +1631,6 @@
|
||||
"url": "https://orm.drizzle.team/docs/overview",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Drizzle Github",
|
||||
"url": "https://github.com/drizzle-team/drizzle-orm",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Getting Started with Drizzle",
|
||||
"url": "https://dev.to/franciscomendes10866/getting-started-with-drizzle-orm-a-beginners-tutorial-4782",
|
||||
@@ -1942,6 +1942,11 @@
|
||||
"title": "Child Process Docs",
|
||||
"url": "https://nodejs.org/api/child_process.html#child-process",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Securing Node.js Against Command Injection",
|
||||
"url": "https://www.nodejs-security.com/blog/securing-your-nodejs-apps-by-analyzing-real-world-command-injection-examples",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -2080,7 +2085,58 @@
|
||||
},
|
||||
"M62lAWBOrTe99TfpFOQ-Y": {
|
||||
"title": "Common Built-in Modules",
|
||||
"description": "These are the common modules that come with `Node.js` out of the box. This module provides tools or APIs for performing out certain standard `Node.js` operations. like interacting with the file system, url parsing, or logging information to the console.",
|
||||
"links": []
|
||||
"description": "These are the core modules that come with `Node.js` out of the box. This module provides tools or APIs for performing out certain standard `Node.js` operations. like interacting with the file system, url parsing, or logging information to the console.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Nodejs fs module",
|
||||
"url": "https://nodejs.org/api/fs.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs url module",
|
||||
"url": "https://nodejs.org/api/url.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs console module",
|
||||
"url": "https://nodejs.org/api/console.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs util module",
|
||||
"url": "https://nodejs.org/api/util.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs events module",
|
||||
"url": "https://nodejs.org/api/events.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs os module",
|
||||
"url": "https://nodejs.org/api/os.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs worker threads module",
|
||||
"url": "https://nodejs.org/api/worker_threads.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs child process module",
|
||||
"url": "https://nodejs.org/api/child_process.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs process object",
|
||||
"url": "https://nodejs.org/api/process.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nodejs crypto module",
|
||||
"url": "https://nodejs.org/api/crypto.html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -2,7 +2,13 @@
|
||||
"lDIy56RyC1XM7IfORsSLD": {
|
||||
"title": "Introduction",
|
||||
"description": "PostgreSQL is a powerful, open-source Object-Relational Database Management System (ORDBMS) that is known for its robustness, extensibility, and SQL compliance. It was initially developed at the University of California, Berkeley, in the 1980s and has since become one of the most popular open-source databases in the world.",
|
||||
"links": []
|
||||
"links": [
|
||||
{
|
||||
"title": "History of POSTGRES to PostgreSQL",
|
||||
"url": "https://www.postgresql.org/docs/current/history.html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"soar-NBWCr4xVKj7ttfnc": {
|
||||
"title": "What are Relational Databases?",
|
||||
@@ -98,11 +104,6 @@
|
||||
"title": "Data Types",
|
||||
"description": "PostgreSQL offers a rich and diverse set of data types, catering to a wide range of applications and ensuring data integrity and performance. These include standard numeric types such as integers, floating-point numbers, and serial types for auto-incrementing fields. Character types like VARCHAR and TEXT handle varying lengths of text, while DATE, TIME, and TIMESTAMP support a variety of temporal data requirements. PostgreSQL also supports a comprehensive set of Boolean, enumerated (ENUM), and composite types, enabling more complex data structures. Additionally, it excels with its support for JSON and JSONB data types, allowing for efficient storage and querying of semi-structured data. The inclusion of array types, geometric data types, and the PostGIS extension for geographic data further extends PostgreSQL's versatility, making it a powerful tool for a broad spectrum of data management needs.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "",
|
||||
"url": "https://www.instaclustr.com/blog/postgresql-data-types-mappings-to-sql-jdbc-and-java-data-types/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Data Types",
|
||||
"url": "https://www.postgresql.org/docs/current/datatype.html",
|
||||
@@ -112,6 +113,11 @@
|
||||
"title": "An introduction to PostgreSQL data types",
|
||||
"url": "https://www.prisma.io/dataguide/postgresql/introduction-to-data-types",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "PostgreSQL® Data Types: Mappings to SQL, JDBC, and Java Data Types",
|
||||
"url": "https://www.instaclustr.com/blog/postgresql-data-types-mappings-to-sql-jdbc-and-java-data-types/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -306,7 +312,12 @@
|
||||
"description": "Multi-Version Concurrency Control (MVCC) is a technique used by PostgreSQL to allow multiple transactions to access the same data concurrently without conflicts or delays. It ensures that each transaction has a consistent snapshot of the database and can operate on its own version of the data.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "",
|
||||
"title": "Intro to MVCC",
|
||||
"url": "https://www.postgresql.org/docs/current/mvcc-intro.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Multiversion concurrency control - Wikipedia",
|
||||
"url": "https://en.wikipedia.org/wiki/Multiversion_concurrency_control",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -539,7 +550,7 @@
|
||||
"description": "PostgreSQL offers a comprehensive set of data types to cater to diverse data needs, including numeric types like `INTEGER`, `FLOAT`, and `SERIAL` for auto-incrementing fields; character types such as `VARCHAR` and `TEXT` for variable-length text; and temporal types like `DATE`, `TIME`, and `TIMESTAMP` for handling date and time data. Additionally, PostgreSQL supports `BOOLEAN` for true/false values, `ENUM` for enumerated lists, and composite types for complex structures. It also excels with `JSON` and `JSONB` for storing and querying semi-structured data, arrays for storing multiple values in a single field, and geometric types for spatial data. These data types ensure flexibility and robust data management for various applications.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "",
|
||||
"title": "PostgreSQL® Data Types: Mappings to SQL, JDBC, and Java Data Types",
|
||||
"url": "https://www.instaclustr.com/blog/postgresql-data-types-mappings-to-sql-jdbc-and-java-data-types/",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -758,6 +769,11 @@
|
||||
"title": "PostgreSQL INTERSECT Operator",
|
||||
"url": "https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-intersect/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "PostgreSQL EXCEPT Operator",
|
||||
"url": "https://www.postgresqltutorial.com/postgresql-tutorial/postgresql-except/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -850,7 +866,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Query Planning@",
|
||||
"title": "Query Planning",
|
||||
"url": "https://www.postgresql.org/docs/current/runtime-config-query.html",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -2075,6 +2091,16 @@
|
||||
"url": "https://www.postgresql.org/docs/8.1/triggers.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "PostgreSQL Triggers",
|
||||
"url": "https://www.postgresqltutorial.com/postgresql-triggers/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Understanding PostgreSQL Triggers",
|
||||
"url": "https://hevodata.com/learn/postgresql-triggers/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Using PostgreSQL triggers to automate processes with Supabase",
|
||||
"url": "https://www.youtube.com/watch?v=0N6M5BBe9AE",
|
||||
|
||||
@@ -58,6 +58,11 @@
|
||||
"title": "Python for Beginners: Data Types",
|
||||
"url": "https://thenewstack.io/python-for-beginners-data-types/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python Variables and Data Types",
|
||||
"url": "https://www.youtube.com/playlist?list=PLBlnK6fEyqRhN-sfWgCU1z_Qhakc1AGOn",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -95,6 +100,17 @@
|
||||
"title": "Type Conversion and Casting",
|
||||
"url": "https://www.programiz.com/python-programming/type-conversion-and-casting",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fNTb9y3zs1HPYclAmu_Wv": {
|
||||
"title": "Exceptions",
|
||||
"description": "Python exceptions are events that occur during the execution of a program and disrupt the normal flow of the program's instructions. When an exception is raised, it indicates that an error has occurred. Python provides a way to handle these exceptions using try-except blocks, allowing developers to manage errors gracefully and ensure the program can continue or exit smoothly.",
|
||||
"links": [
|
||||
{
|
||||
"title": "Exceptions Documentation",
|
||||
"url": "https://docs.python.org/3/tutorial/errors.html#exceptions",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python Exceptions: An Introduction",
|
||||
@@ -115,17 +131,6 @@
|
||||
"title": "Python Try Except",
|
||||
"url": "https://www.w3schools.com/python/python_try_except.asp",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"fNTb9y3zs1HPYclAmu_Wv": {
|
||||
"title": "Exceptions",
|
||||
"description": "Python exceptions are events that occur during the execution of a program and disrupt the normal flow of the program's instructions. When an exception is raised, it indicates that an error has occurred. Python provides a way to handle these exceptions using try-except blocks, allowing developers to manage errors gracefully and ensure the program can continue or exit smoothly.",
|
||||
"links": [
|
||||
{
|
||||
"title": "Exceptions Documentation",
|
||||
"url": "https://docs.python.org/3/tutorial/errors.html#exceptions",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Exception Handling in Python",
|
||||
@@ -227,6 +232,21 @@
|
||||
"title": "Loops in Python",
|
||||
"url": "https://www.geeksforgeeks.org/loops-in-python/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python \"while\" Loops (Indefinite Iteration)",
|
||||
"url": "https://realpython.com/python-while-loop/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python \"for\" Loops (Definite Iteration)",
|
||||
"url": "https://realpython.com/python-for-loop/#the-guts-of-the-python-for-loop",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Python For Loops",
|
||||
"url": "https://www.youtube.com/watch?v=KWgYha0clzw",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -326,11 +346,6 @@
|
||||
"url": "https://www.programiz.com/dsa",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "DSA Course by Google",
|
||||
"url": "https://www.udacity.com/course/data-structures-and-algorithms-in-python--ud513",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about Algorithms",
|
||||
"url": "https://app.daily.dev/tags/algorithms?ref=roadmapsh",
|
||||
@@ -613,6 +628,11 @@
|
||||
"title": "OOP in Python One Shot",
|
||||
"url": "https://www.youtube.com/watch?v=Ej_02ICOIgs",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Python OOP Tutorial",
|
||||
"url": "https://www.youtube.com/watch?v=IbMDCwVm63M",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
@@ -1114,16 +1134,10 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"_IXXTSwQOgYzYIUuKVWNE": {
|
||||
"title": "virutalenv",
|
||||
"description": "`virtualenv` is a tool to create isolated Python environments. It creates a folder which contains all the necessary executables to use the packages that a Python project would need.\n\nLearn more about `virtualenv` by visiting the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Virtual Environments",
|
||||
"url": "https://virtualenv.pypa.io/en/latest/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
"virtualenv@_IXXTSwQOgYzYIUuKVWNE.md": {
|
||||
"title": "virtualenv",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"N5VaKMbgQ0V_BC5tadV65": {
|
||||
"title": "pyenv",
|
||||
@@ -1207,10 +1221,16 @@
|
||||
}
|
||||
]
|
||||
},
|
||||
"black@DS6nuAUhUYcqiJDmQisKM.md": {
|
||||
"DS6nuAUhUYcqiJDmQisKM": {
|
||||
"title": "black",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "black is a code formatter for Python. It is a tool that automatically formats Python code to adhere to the PEP 8 style guide. It is a great tool to use in your Python projects to ensure that your code is formatted consistently and correctly.",
|
||||
"links": [
|
||||
{
|
||||
"title": "black documentation",
|
||||
"url": "https://black.readthedocs.io/en/stable/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tsh_vbhzKz1-H9Vh69tsK": {
|
||||
"title": "yapf",
|
||||
|
||||
@@ -220,7 +220,23 @@
|
||||
"0uiGsC5SWavNdlFqizkKe": {
|
||||
"title": "Rendering",
|
||||
"description": "React follows a declarative approach to rendering components, which means that developers specify what a component should look like, and React takes care of rendering the component to the screen. This is in contrast to an imperative approach, where developers would write code to manually manipulate the DOM (Document Object Model) to update the UI.\n\nThe virtual DOM (VDOM) is an important aspect of how React works. It is a lightweight in-memory representation of the DOM (Document Object Model), and it is used to optimize the rendering of components in a React application.\n\n* Components are written as JavaScript classes or functions that define a render method. The render method returns a description of what the component should look like, using JSX syntax.\n* When a component is rendered, React creates a virtual DOM (VDOM) representation of the component. The VDOM is a lightweight in-memory representation of the DOM, and it is used to optimize the rendering of components.\n* React compares the VDOM representation of the component with the previous VDOM representation (if it exists). If there are differences between the two VDOMs, React calculates the minimum number of DOM updates needed to bring the actual DOM into line with the new VDOM.\n* React updates the actual DOM with the minimum number of DOM updates needed to reflect the changes in the VDOM.\n\nThis process is known as reconciliation, and it is an important aspect of how React works. By using a declarative approach and a VDOM, React is able to optimize the rendering of components and improve the performance of web applications.\n\nVisit the following resources to learn more:",
|
||||
"links": []
|
||||
"links": [
|
||||
{
|
||||
"title": "Render and Commit - Official Docs",
|
||||
"url": "https://react.dev/learn/render-and-commit",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Rendering in React - ui.dev",
|
||||
"url": "https://ui.dev/why-react-renders",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Fix the slow render before you fix the re-render",
|
||||
"url": "https://kentcdodds.com/blog/fix-the-slow-render-before-you-fix-the-re-render",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"8OBlgDRUg-CTgDXY-QHyO": {
|
||||
"title": "Component Lifecycle",
|
||||
@@ -554,7 +570,7 @@
|
||||
},
|
||||
"t_laNdMmdLApYszqXRdWg": {
|
||||
"title": "useRef",
|
||||
"description": "useRef is a React hook that provides a way to create a mutable reference that persists across component re-renders. It stores a value that doesn't cause re-renders when it changes.\n\nVisit the following resources to learn more:",
|
||||
"description": "`useRef` is a React hook that provides a way to create a mutable reference that persists across component re-renders. It stores a value that doesn't cause re-renders when it changes.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "useRef",
|
||||
@@ -575,7 +591,7 @@
|
||||
},
|
||||
"w3bNp7OkehI1gjx8NzlC8": {
|
||||
"title": "useMemo",
|
||||
"description": "useMemo is a React hook that memorizes the result of a function. It is used to optimize performance by caching the result of a function and returning the cached result when the inputs to the function have not changed.\n\nLearn more from the following resources:",
|
||||
"description": "`useMemo` is a React hook that memoizes the result of a function. It is used to optimize performance by caching the result of a function and returning the cached result when the inputs to the function have not changed.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "useMemo Docs",
|
||||
@@ -591,7 +607,7 @@
|
||||
},
|
||||
"v48Mv0wQqjXbvy8x6gDjQ": {
|
||||
"title": "useReducer",
|
||||
"description": "useReducer: An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)\n\nLearn more from the following resources:",
|
||||
"description": "`useReducer`: An alternative to useState. Accepts a reducer of type (state, action) => newState, and returns the current state paired with a dispatch method. (If you’re familiar with Redux, you already know how this works.)\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "useReducer Docs",
|
||||
@@ -642,7 +658,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "React Documentation on useCallback",
|
||||
"url": "https://reactjs.org/docs/hooks-reference.html#usecallback",
|
||||
"url": "https://react.dev/reference/react/useCallback",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -675,8 +691,23 @@
|
||||
},
|
||||
"mkyU0ug8MXxV4biHuOity": {
|
||||
"title": "Hooks Best Practices",
|
||||
"description": "Learn the best practices for using React hooks from the following resources:",
|
||||
"description": "To fully leverage the capabilities of React Hooks, it is crucial to adopt best practices that not only enhance code readability but also optimize performance. By adhering to these practices, developers can create cleaner, more maintainable components that make the most of React's powerful features, leading to a more efficient and enjoyable development experience.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Rules of Hooks",
|
||||
"url": "https://react.dev/reference/rules/rules-of-hooks/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "React Hooks Best Practices: Unlocking Efficiency and Elegance",
|
||||
"url": "https://medium.com/womenintechnology/react-hooks-best-practices-unlocking-efficiency-and-elegance-da23f7e1418a",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Mastering React Hooks: Best Practices and Common Pitfalls",
|
||||
"url": "https://dev.to/codesensei/mastering-react-hooks-best-practices-and-common-pitfalls-3d9i",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "React Hooks Cheat Sheet: Best Practices with Examples",
|
||||
"url": "https://blog.logrocket.com/react-hooks-cheat-sheet-solutions-common-problems/",
|
||||
@@ -694,12 +725,12 @@
|
||||
"description": "Routing is an essential concept in Single Page Applications (SPA). When your application is divided into separated logical sections, and all of them are under their own URL, your users can easily share links among each other.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "How to use Routing in React JS: A Comprehensive Guide. ",
|
||||
"title": "How to use Routing in React JS: A Comprehensive Guide.",
|
||||
"url": "https://blog.logrocket.com/react-router-v6-guide/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "React Router 6 – Tutorial for Beginners. ",
|
||||
"title": "React Router 6 – Tutorial for Beginners.",
|
||||
"url": "https://www.youtube.com/watch?v=59IXY5IDrBA",
|
||||
"type": "video"
|
||||
}
|
||||
@@ -936,8 +967,19 @@
|
||||
},
|
||||
"thfnymb_UIiKxakKfiua5": {
|
||||
"title": "Component / Libraries",
|
||||
"description": "React component libraries are collections of pre-built, reusable components that can be used to speed up the development process. They can be styled using CSS in various ways, including traditional CSS files, CSS modules, and CSS-in-JS solutions like styled-components.",
|
||||
"links": []
|
||||
"description": "React component libraries are collections of pre-built, reusable components that can be used to speed up the development process. They can be styled using CSS in various ways, including traditional CSS files, CSS modules, and CSS-in-JS solutions like styled-components.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "MUI: React Component Library",
|
||||
"url": "https://mui.com/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "NextUI.org",
|
||||
"url": "https://nextui.org/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"akVNUPOqaTXaSHoQFlkP_": {
|
||||
"title": "Panda CSS",
|
||||
@@ -1581,12 +1623,33 @@
|
||||
},
|
||||
"ElgRwv5LSVg5FXGx-2K2s": {
|
||||
"title": "TypeScript",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "TypeScript is a strongly typed programming language that builds on JavaScript, giving you better tooling at any scale.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Official Website",
|
||||
"url": "https://www.typescriptlang.org/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "The TypeScript Handbook",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/intro.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about TypeScript",
|
||||
"url": "https://app.daily.dev/tags/typescript?ref=roadmapsh",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "TypeScript for Beginners",
|
||||
"url": "https://www.youtube.com/watch?v=BwuLxPH8IDs",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"K3RZ8ESxWCpLKHePF87Hy": {
|
||||
"title": "Zod",
|
||||
"description": "Zod is a TypeScript-first schema declaration and validation library. I'm using the term \"schema\" to broadly refer to any data type, from a simple string to a complex nested object.\n\nZod is designed to be as developer-friendly as possible. The goal is to eliminate duplicative type declarations. With Zod, you declare a validator once and Zod will automatically infer the static TypeScript type. It's easy to compose simpler types into complex data structures.\n\nVisit the following resources to learn more:",
|
||||
"description": "Zod is a TypeScript-first schema declaration and validation library. I'm using the term \"schema\" to broadly refer to any data type, from a simple string to a complex nested object.\n\nZod is designed to be as developer-friendly as possible. The goal is to eliminate duplicate type declarations. With Zod, you declare a validator once and Zod will automatically infer the static TypeScript type. It's easy to compose simpler types into complex data structures.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Zod Website",
|
||||
@@ -1671,8 +1734,24 @@
|
||||
},
|
||||
"y2dI1DVLWKAkv6VRpgaQa": {
|
||||
"title": "GSock",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`GSAP` (GreenSock Animation Platform) is a framework-agnostic JavaScript animation library that turns developers into animation superheroes. Build high-performance animations that work in every major browser. Animate CSS, SVG, canvas, React, Vue, WebGL, colors, strings, motion paths, generic objects...anything JavaScript can touch!\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "GSAP: Homepage",
|
||||
"url": "https://gsap.com/docs/v3/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "The Beginner's Guide to the GreenSock Animation Platform",
|
||||
"url": "https://www.freecodecamp.org/news/the-beginners-guide-to-the-greensock-animation-platform-7dc9fd9eb826/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Intro to Greensock Web Animation",
|
||||
"url": "https://www.youtube.com/watch?v=EOa7ccPWvXg",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"_F3WMxhzaK9F8_-zHDDMF": {
|
||||
"title": "Suspense",
|
||||
|
||||
929
public/roadmap-content/redis.json
Normal file
@@ -0,0 +1,929 @@
|
||||
{
|
||||
"-3pADOHMDQ0H6ZKNjURyn": {
|
||||
"title": "What is Redis?",
|
||||
"description": "Redis is an open-source, in-memory data structure store, primarily used as a database, cache, and message broker. It supports various data structures like strings, hashes, lists, sets, and sorted sets, making it highly versatile. Redis operates with extremely low latency due to its in-memory nature, enabling fast access to data. It is often used in real-time applications such as session management, leaderboards, or caching mechanisms, where quick data retrieval is critical. Additionally, Redis supports data persistence by periodically writing the dataset to disk, balancing memory speed with data reliability.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is redis?",
|
||||
"url": "https://redis.io/docs/latest/get-started/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"M-EXrTDeAEMz_IkEi-ab4": {
|
||||
"title": "In-memory Data Structure Store",
|
||||
"description": "An in-memory database is a purpose-built database that relies primarily on internal memory for data storage. It enables minimal response times by eliminating the need to access standard disk drives (SSDs). In-memory databases are ideal for applications that require microsecond response times or have large spikes in traffic, such as gaming leaderboards, session stores, and real-time data analytics. The terms main memory database (MMDB), in-memory database system (IMDS), and real-time database system (RTDB) also refer to in-memory databases.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Amazon MemoryDB",
|
||||
"url": "https://aws.amazon.com/memorydb/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"l2aXyO3STnhbFjvUXPpm2": {
|
||||
"title": "Key-value Database",
|
||||
"description": "Key-value Database is a non-relational (NoSQL) database that stores data as a collection of key-value pairs. In this model, each piece of data is associated with a unique identifier (key) that is used to retrieve the corresponding value. This simple structure allows for high performance and scalability, making key-value databases ideal for certain use cases.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is a Key-Value Database?",
|
||||
"url": "https://redis.io/nosql/key-value-databases/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Key Value Store - System Design Interview Basics",
|
||||
"url": "https://www.youtube.com/watch?v=ozJHmm05EXM",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eHuBz_zSZK3rubn7nkd7g": {
|
||||
"title": "Cache",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mgGJTBU8ofvOzl9gYWhnG": {
|
||||
"title": "Message Broker",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"-TjnSOY8txYrhhxRV1OIl": {
|
||||
"title": "Caching",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"bVJASI7bfSYqYnNhX83ng": {
|
||||
"title": "Real-time Analytics",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"URxGmhZHr0Y8nyrYj0gJl": {
|
||||
"title": "Session Management",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ZCyId3aIoLv3duxoJdk2P": {
|
||||
"title": "Pub/Sub Messaging",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Fv1iGX22sApIEifM2IpJz": {
|
||||
"title": "Leaderboards and Counters",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8uRpPJ0iD4XnQPKruQc8P": {
|
||||
"title": "Data Persistence Options",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"uVewcyaFi1Pt2Gs0KrkfA": {
|
||||
"title": "Rich Data Structures",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5-3pd4rLDqRzMzSRVLdXh": {
|
||||
"title": "High Performance and Scalability",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"EvWiEx_AoxAht6sKxzW2l": {
|
||||
"title": "Redis vs SQL/NoSQL DBs",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"1Af5H0BgdAsRdBCNdHz5v": {
|
||||
"title": "When to choose Redis?",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Bf_kLfmy7_uflqC9N0-jt": {
|
||||
"title": "Using Package Managers",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"yBZ79s6mzGdj5AnX2H_Hy": {
|
||||
"title": "Pre-compiled Binaries",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"TDxv0q7jlZ26uZYYlneem": {
|
||||
"title": "Using Docker",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"43LvShQhmoWQ8Nye7fLkz": {
|
||||
"title": "Starting the Server",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"BOGXTjmCLo6WI6mYDsqRu": {
|
||||
"title": "Connecting using Redis CLI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"NhcZM4nUQoSBBf_1qXi6l": {
|
||||
"title": "Basic Commands / SET, GET",
|
||||
"description": "In Redis, the SET and GET commands are fundamental operations used to store and retrieve key-value pairs. Redis is an in-memory key-value store, and these commands form the basis for working with data in Redis.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "SET Docs",
|
||||
"url": "https://redis.io/docs/latest/commands/set/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "GET Docs",
|
||||
"url": "https://redis.io/docs/latest/commands/get/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Redis command cheat sheet",
|
||||
"url": "https://redis.io/learn/howtos/quick-start/cheat-sheet",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"DOdNkTY1yIMipWA2CD9xH": {
|
||||
"title": "Settings and Getting Keys",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"lV_MnUNTB2h925idX0YWk": {
|
||||
"title": "DEL",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"U84XgBFPyIbY0W5afH4cx": {
|
||||
"title": "Overview of Data Types",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ltF4vCT9ZA2XuUuHnuGnN": {
|
||||
"title": "SET",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mQc4H2ZMMSVjh33LJY8mK": {
|
||||
"title": "GET",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5K9qyC4mrhXYWOC8WSq8C": {
|
||||
"title": "INCR",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"t4BXPofF8OCqH5KHwdYVh": {
|
||||
"title": "DECR",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"cPWd53BO6tm-uy4gqLdtZ": {
|
||||
"title": "APPEND",
|
||||
"description": "Redis APPEND command is used to add some value in a key. If the key already exists and is a string, this command appends the value at the end of the string. If key does not exist it is created and set as an empty string,\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "APPEND Docs",
|
||||
"url": "https://redis.io/docs/latest/commands/append/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Redis - String Append Command",
|
||||
"url": "https://www.tutorialspoint.com/redis/strings_append.htm",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"eJQW986HM4Wf1o1i2FnXs": {
|
||||
"title": "STRLEN",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"0v8uLWRCbAqEmKKdYaRQW": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2_E2VwbjTgk4xxTFWfHuV": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"nS0DHhfy4wxHItgOFhulA": {
|
||||
"title": "EXPR",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Vll7VMmGWSI5XGZ9JpHyl": {
|
||||
"title": "TTL",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Kq7G89KaZZMFkrH-9WZoS": {
|
||||
"title": "LPUSH",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jC8G1o7yFj7D_PGmOIgcD": {
|
||||
"title": "RPUSH",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"voa61RTWMJD3Sk8DNJoVQ": {
|
||||
"title": "LPOP",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"brUGqWZ287EWtvl9uUbNt": {
|
||||
"title": "RPOP",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8JTtBy6oD2wFYDizVkcVa": {
|
||||
"title": "LRANGE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"hBFEUXtuzUTzWZKp2qWaZ": {
|
||||
"title": "LINDEX",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4oCcP9FxDJSDMHCEVBCNa": {
|
||||
"title": "LLEN",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9KvHcS5F4Jj5ZXgIAdOQY": {
|
||||
"title": "LMOVE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"eBeEUYY-IL_CMkcm31lUL": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"XTwNCCtzXvZMdaex4gZEh": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Qgkpr9vf9d6-vUg1o8XFj": {
|
||||
"title": "Sets",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"xUKoQps69FFQrJeuhD1pz": {
|
||||
"title": "SADD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"mQ0ILns53n1By0Tq6xSZI": {
|
||||
"title": "SMEMBERS",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"WQWVL5GT_scHdgfCtI7WT": {
|
||||
"title": "SREM",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Ji5ghlcGJtlmErHFqVf3d": {
|
||||
"title": "SISMEMBER",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5aLfNBewK4Dx017qVNO3T": {
|
||||
"title": "SINTER",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2gZL4a9aWGKWLa89iyHTc": {
|
||||
"title": "SCARD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"6QoYa-N2BKNBaRtvNeVNm": {
|
||||
"title": "SUNION",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"JX5ajmcUmkshTO-mLF8lH": {
|
||||
"title": "SDIFF",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2SG4Hr9Tuv6cxmGkrKjYZ": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3hayYoSZepw7pppBubotg": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"b48EUyFGUeSjtT5fOa_m6": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Wl23Jh-ASJOQ850yjaTIU": {
|
||||
"title": "Strings",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4-C4XqACUp4nvcMIj6djF": {
|
||||
"title": "Lists",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"wY46Qj5Inw_ClBNI9PB_2": {
|
||||
"title": "Hashes",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"BOJzn9SWad9oRRdY_ub01": {
|
||||
"title": "HSET",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"MsKg9m5jFwHM2Bzjf-vdu": {
|
||||
"title": "HGET",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"TpR33sJ-tAjeG3jpGTvYR": {
|
||||
"title": "HGETALL",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"E7xFZkqqbzokD5KGTn9zJ": {
|
||||
"title": "HDEL",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"adhLMuSmfYMRyWTwIgnyE": {
|
||||
"title": "HEXISTS",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jtVnUD-na-WffMaS8qYfu": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"QTbkWZ7BpqYmBhUivccPu": {
|
||||
"title": "Sorted Sets",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"0swsBD0sOY-o5lzibT999": {
|
||||
"title": "ZADD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3pFChX6YIItrBz9lxu4XM": {
|
||||
"title": "ZRANGE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OlbixGa5RmdqEt7snY04j": {
|
||||
"title": "ZRANGEBYSCORE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"m0FZDPwNE71zcwM_gUwz0": {
|
||||
"title": "ZREM",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"W4v7FIQr2k-Vbm-HdfKog": {
|
||||
"title": "ZINCRBY",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"AF_kWM4V8n5Ux06IgEVTl": {
|
||||
"title": "ZRANK",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"O-fZM_U-tW0pYtNzN_8Ax": {
|
||||
"title": "ZCOUNT",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"P6TDUCroLlEI7qePBFHIH": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"lxevY15ZyP43s_JrEqMX7": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"o6e_CwxfPoU6qkfWkwKwj": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jCaVx5wvsvuyqtwh6m8si": {
|
||||
"title": "Naming Conventions",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"UlQHqw1dbxZnAKbsWsOgU": {
|
||||
"title": "Retrieval by Pattern",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OSIYDYPGz8Vgo9SU9GGH9": {
|
||||
"title": "Expiration",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jrgaoDnt_RxTu79hk4hCD": {
|
||||
"title": "Atomicity in Redis",
|
||||
"description": "Atomicity in Redis refers to the property that ensures a set of operations is executed as a single, indivisible unit. This means that either all the operations are executed successfully or none of them are. Atomicity is crucial in Redis to maintain consistency, especially when multiple operations need to be performed together.\n\nLearn more from the following resources:\n\n* [@official@Atomicity with Lua](https://redis.io/learn/develop/java/spring/rate-limiting/fixed-window/reactive-lua) -[@article@Atomicity in Redis operations](https://lucaspin.medium.com/atomicity-in-redis-operations-a1d7bc9f4a90)",
|
||||
"links": []
|
||||
},
|
||||
"LHlwjN3WHYUBUafzzwsWQ": {
|
||||
"title": "Pipelining",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"7JzeyTrkZ_1_yxMVrqvZU": {
|
||||
"title": "Batch Operations",
|
||||
"description": "Batch operations in Redis allow you to execute multiple commands efficiently in a single network round-trip. While Redis does not have true batching like some databases (where a set of operations are sent together and processed atomically), it provides ways to send multiple commands together to reduce the overhead of individual network requests. These include Pipelining, Transactions (MULTI/EXEC), and Lua Scripting.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Using pipelining to batch issue commands",
|
||||
"url": "https://www.alibabacloud.com/help/en/redis/use-cases/use-pipelining-to-batch-issue-commands#:~:text=You%20can%20use%20the%20Redis,network%20latency%20and%20improving%20performance.",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"0Q3AkE8leWAyYsww3-BHX": {
|
||||
"title": "Bitmaps",
|
||||
"description": "In Redis, Bitmaps are a data structure that allows you to manipulate individual bits within a string value. While Redis doesn't have a native \"bitmap\" data type, it uses strings to represent bitmaps. The power of bitmaps comes from their ability to perform operations on binary data at the bit level, making them extremely memory-efficient for certain types of applications, like tracking the presence/absence of elements (such as daily active users, features, etc.).\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Redis Bitmap docs",
|
||||
"url": "https://redis.io/docs/latest/develop/data-types/bitmaps/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Redis bitmap explained",
|
||||
"url": "https://youtu.be/oj8LdJQjhJo?si=jem54LfPbZtrpnEP",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"B-YUFhPQNdr1KZNupmR5N": {
|
||||
"title": "SETBIT",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"0HFLJfcrcSnAVTecG3P8W": {
|
||||
"title": "GETBIT",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jpcyXSSib7q4WBPmpgnXA": {
|
||||
"title": "BITCOUNT",
|
||||
"description": "The BITCOUNT command in Redis is used to count the number of bits set to 1 (i.e., the number of binary 1s) in the value stored at a specific key. Since Redis allows string values to be stored as binary data, the BITCOUNT command becomes useful for operations involving bits, like efficiently tracking and counting bits in binary-encoded data.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "BITCOUNT - Docs",
|
||||
"url": "https://redis.io/docs/latest/commands/bitcount/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "BITCOUNT",
|
||||
"url": "https://upstash.com/docs/redis/sdks/ts/commands/bitmap/bitcount",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"tkrxArg_oYH0aQfM8NkD2": {
|
||||
"title": "BITOP",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Df1Eu7CuA-ARYii9JVvnm": {
|
||||
"title": "BITPOS",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"s7PEr-5TAm5EGJm0RSjPJ": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"cszjT3YK8oyhGpqLTQzwX": {
|
||||
"title": "HyperLogLog",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8a4DmPZrX2xGZ7zdWxS63": {
|
||||
"title": "PFADD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"JWT30KIJQHVw0MXI5sGR6": {
|
||||
"title": "PFCOUNT",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"s50jr_XOUcxh65-tGCKf5": {
|
||||
"title": "PFMERGE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"XPeCvikPuu6EJ8UcOLGPh": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"zXs_9n2yEb_eVi0WuOQKH": {
|
||||
"title": "Streams",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"7isWhgrUA6M5IGM2U2tm4": {
|
||||
"title": "XADD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4sKiAtX5aIL4NDsQkilNC": {
|
||||
"title": "XREAD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"CiYFuYE8XudZkR6AW2NQ7": {
|
||||
"title": "XRANGE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"DQJCMEw13lELcw_AwLfrT": {
|
||||
"title": "XLEN",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"zXlSBfa-Gi9_GhSYEzre3": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"4-z4hDKm86qQatYnmE21R": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"_NiUdVQ85qnvryI38k_vQ": {
|
||||
"title": "Geospatial Indexes",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"U3N1EgHFs1-YUaB_VrJfw": {
|
||||
"title": "GEOADD",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"OWWDLuGTbdNwME7v2jxVP": {
|
||||
"title": "GEOSEARCH",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"GNMjrLPkpTphneoQ0GoZF": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"FCbdKnkI1ZHGekT6yiGua": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"9W_jaK1DSEZHRKdPcUM7h": {
|
||||
"title": "Pub/Sub",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"55BCntuWlaQiLPqNtb-2i": {
|
||||
"title": "SUBSCRIBE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"5gkZzm2F4vu6IxUoJLYbK": {
|
||||
"title": "UNSUBSCRIBE",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"gIPo-2CNqE1BsOaDzmkCU": {
|
||||
"title": "PUBLISH",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"V-d6q-3Sf0dl5v8xiCQwl": {
|
||||
"title": "More Commands",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"MvyE_JUJej0UB9xe8Anfj": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"YHbWlKrQqptUDbaQVy0_A": {
|
||||
"title": "Transactions",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"c-y5Eck8VtSyIf8RAW9p7": {
|
||||
"title": "WATCH",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Ljy-Mc0EBBX4_vXfYZ5-4": {
|
||||
"title": "EXEC",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"U6hST1MkS16T2CHV3-Ise": {
|
||||
"title": "MULTI",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"msW0Wd2H-6FFNDnjC64t-": {
|
||||
"title": "Optimistic Locking",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Veb30QrPYNjUn13dtGbUr": {
|
||||
"title": "Lua Scripting",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"rjeq3i9oX8IGyQzo--L3c": {
|
||||
"title": "EVAL",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3X0x_PcJGWBVPL-LSVAln": {
|
||||
"title": "EVALSHA",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"kF_nGo845XDwLkwcQt008": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"bQaek7f3dAaZfSUhwovm1": {
|
||||
"title": "Persistence Options",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"D3pZdAjwPFMRxX1-iyu5-": {
|
||||
"title": "How RDB Works?",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"_pb2DPrFUUZabKxWsuFUo": {
|
||||
"title": "Configuring Save Interval",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Z6yJwUkcDX08HoMyf1LwX": {
|
||||
"title": "Usecases / Best Practices",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"PTj6oxvpw8vP295WvAI80": {
|
||||
"title": "How AOF Works?",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ibaZ34-laQtUyxAsERi7o": {
|
||||
"title": "AOF rewrite & compaction",
|
||||
"description": "Persistence refers to the writing of data to durable storage, such as a solid-state disk (SSD). Redis provides a range of persistence options of which AOF (Append Only File) is one of the options. AOF persistence logs every write operation received by the server. These operations can then be replayed again at server startup, reconstructing the original dataset.The rewrite will create a small optimized version of the current Append Only File.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Persistence in redis",
|
||||
"url": "https://redis.io/docs/latest/operate/oss_and_stack/management/persistence/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Enabling redis persistence",
|
||||
"url": "https://youtu.be/qBKnUeR0p10?si=TPvcFtpFMcTZB-Be",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"9ToKTUqbi-NV5Wcwb21PT": {
|
||||
"title": "Truncation / Corruption",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"VvOQUO22ZF8VvDSqHENNU": {
|
||||
"title": "Usecases",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"vzp7DUpjklzIA0E9WxJQA": {
|
||||
"title": "Usecases / Best Practices",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"80035BzcB-fKCvD_3N8zE": {
|
||||
"title": "No Persistence Option",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"3S-qqOlfr60HR4VvDr4He": {
|
||||
"title": "RDB vs AOF Tradeoffs",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"S5Y26m1oHCQpB-oLCdtac": {
|
||||
"title": "Hybrid Persistence",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"rSD8nJ-uNpHJVe5Hn66h7": {
|
||||
"title": "Replication Basics",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"nci3OB1NE1zJHUPfZCOpT": {
|
||||
"title": "Redis Sentinel",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"AQiCcHS6dBAAAPloxiXub": {
|
||||
"title": "Clustering",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Qy42paiTUsO8HIwbWTMui": {
|
||||
"title": "Authentication",
|
||||
"description": "Authentication in Redis is a security feature used to restrict access to the server by requiring clients to authenticate themselves with a password before performing any commands. This helps prevent unauthorized users from connecting to your Redis instance and performing operations.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "AUTH",
|
||||
"url": "https://redis.io/docs/latest/commands/auth/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"wsuKH7YwGDV6GYQbdhA4o": {
|
||||
"title": "Network Security",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"gdiWwTQg6A-BFHdQBmgmH": {
|
||||
"title": "SSL/TLS Encryption",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"q2Jw49QUWCUGIfcEC1bZI": {
|
||||
"title": "INFO",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jBtEiylcedtaE6E20Uk4V": {
|
||||
"title": "MONITOR",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"XBPwHgIsXupMsyoOFkJZ0": {
|
||||
"title": "RedisInsight",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"y5FPSAi6T-5X9SUfR58_-": {
|
||||
"title": "RedisCommander",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"xF0wQYmtwXYkrzvWg5gOO": {
|
||||
"title": "Memory Management",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"Sd1ENOXSFCz1YqccXjr2A": {
|
||||
"title": "Max Memory Policy",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"yaCWw2KjX58SaPajUAb0d": {
|
||||
"title": "Slow Log Analysis",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"kgHwK4N-sfh6dHjd_D_me": {
|
||||
"title": "redis-benchmark",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"2p5RF4lVYfRvYTo1Ofm-a": {
|
||||
"title": "Monitoring",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"hLIT00Iz7rV56ZBIUhWYn": {
|
||||
"title": "Redis Modules",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"jicsfYw56VrbRUt7M8c85": {
|
||||
"title": "RedisJSON",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"_GdTXcJO8uJlhPdfrmeXG": {
|
||||
"title": "Search",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"RBr8opWSh2TKXC8Fmdg0j": {
|
||||
"title": "RedisTimeSeries",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"GwVL5CvbnHsiWb1hVh7lK": {
|
||||
"title": "RedisBloom",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"giyKPtQ-pziA064P8OQD-": {
|
||||
"title": "redis.conf",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"wXRDsNGFckXV_CSiit5sN": {
|
||||
"title": "Backup and Recovery",
|
||||
"description": "Backing up and recovering Redis data is crucial for ensuring data persistence and reliability. Redis, by default, stores its data in memory for fast access, but it provides mechanisms to persist data to disk to allow for recovery in case of failure or system restarts. The primary methods for backup and recovery in Redis are RDB snapshots and AOF (Append-Only File). These methods can be used individually or in combination, depending on the specific use case.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Backup and recovery",
|
||||
"url": "https://redis.io/redis-enterprise/technology/backup-disaster-recovery/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Backup & Restore Redis Cluster with Stash",
|
||||
"url": "https://youtu.be/Py_Ivv-2dcQ?si=z8gAAmhlpUBce4jY",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Cb-KazR4PuR86VX5oT0zi": {
|
||||
"title": "Upgrading Redis",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"nUIfTkgm3PlSiqgun1BS7": {
|
||||
"title": "Disaster Recovery",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"8lyXDuZJ-KHl4v2_8Ew1h": {
|
||||
"title": "Redis Enterprise",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"cybF72wlJyJbHLUjitLvn": {
|
||||
"title": "Active-Active geo Distribution",
|
||||
"description": "An Active-Active architecture is a data resiliency architecture that distributes the database information over multiple data centers via independent and geographically distributed clusters and nodes. It is a network of separate processing nodes, each having access to a common replicated database such that all nodes can participate in a common application ensuring local low latency with each region being able to run in isolation.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Active-Active geo-distribution",
|
||||
"url": "https://redis.io/active-active/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is active active geo-distribution",
|
||||
"url": "https://youtu.be/x5iHPPZIlQg?si=ZZCwU-tDCIVDboXc",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sWOFnbh2EyaHRzquz1UeF": {
|
||||
"title": "Redis on Flash",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"ujs77bV8g8-FOm5hBtZFd": {
|
||||
"title": "Security and Compliance",
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"JlLwy69eQ1bPHAOOJNqjo": {
|
||||
"title": "When to consider enterprise?",
|
||||
"description": "",
|
||||
"links": []
|
||||
}
|
||||
}
|
||||
@@ -10,7 +10,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "What is Software Architecture in Software Engineering?",
|
||||
"url": "https://webcache.googleusercontent.com/search?q=cache:ya4xvYaEckQJ:https://www.future-processing.com/blog/what-is-software-architecture-in-software-engineering/&cd=1&hl=es-419&ct=clnk&gl=ar",
|
||||
"url": "https://www.future-processing.com/blog/what-is-software-architecture-in-software-engineering/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -148,7 +148,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Java Roadmap",
|
||||
"url": "/java",
|
||||
"url": "https://roadmap.sh/java",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -184,7 +184,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Python Roadmap",
|
||||
"url": "/python",
|
||||
"url": "https://roadmap.sh/python",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -246,7 +246,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated Go Roadmap",
|
||||
"url": "/golang",
|
||||
"url": "https://roadmap.sh/golang",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -282,7 +282,7 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated JavaScript Roadmap",
|
||||
"url": "/javascript",
|
||||
"url": "https://roadmap.sh/javascript",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -315,11 +315,6 @@
|
||||
"url": "https://www.tutorialspoint.com/typescript/index.htm",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Scrimba — TypeScript Basics",
|
||||
"url": "https://scrimba.com/learn/typescript",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Explore top posts about JavaScript",
|
||||
"url": "https://app.daily.dev/tags/javascript?ref=roadmapsh",
|
||||
@@ -1160,10 +1155,21 @@
|
||||
"description": "",
|
||||
"links": []
|
||||
},
|
||||
"functional-programming@6FDGecsHbqY-cm32yTZJa.md": {
|
||||
"6FDGecsHbqY-cm32yTZJa": {
|
||||
"title": "Functional Programming",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Functional programming is a programming paradigm designed to handle pure mathematical functions. This paradigm is totally focused on writing more compounded and pure functions.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Functional Programming with JavaScript",
|
||||
"url": "https://www.telerik.com/blogs/functional-programming-javascript",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Learning Functional Programming",
|
||||
"url": "https://youtube.com/watch?v=e-5obm1G_FY",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mCiYCbKIOVU34qil_q7Hg": {
|
||||
"title": "React, Vue, Angular",
|
||||
@@ -1171,22 +1177,17 @@
|
||||
"links": [
|
||||
{
|
||||
"title": "Visit Dedicated React Roadmap",
|
||||
"url": "/react",
|
||||
"url": "https://roadmap.sh/react",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "React Website",
|
||||
"url": "https://reactjs.org/",
|
||||
"url": "https://react.dev/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Official Getting Started",
|
||||
"url": "https://reactjs.org/tutorial/tutorial.html",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Beta React Docs",
|
||||
"url": "https://reactjs.org/",
|
||||
"url": "https://react.dev/learn/tutorial-tic-tac-toe",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
@@ -1396,8 +1397,19 @@
|
||||
},
|
||||
"Rq1Wi-cHjS54SYo-Btp-e": {
|
||||
"title": "ITIL",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "**ITIL (Information Technology Infrastructure Library)** is a set of best practices for IT service management, designed to align IT services with business needs. Its primary focus is the efficient and effective delivery of value through managing the IT service lifecycle, which includes five phases: `Strategy`, `Design`, `Transition`, `Operation`, and `Continual Service Improvement`. ITIL includes key processes such as incident management, problem management, change management, configuration management, and service level agreements (SLAs). These practices aim to optimize performance, service quality, and customer satisfaction. Adopting ITIL helps organizations improve operational efficiency, reduce risks, and maintain clear control over IT services over time.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Documentation",
|
||||
"url": "https://www.axelos.com/certifications/itil-service-management/itil-4-foundation",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is ITIL?",
|
||||
"url": "https://www.youtube.com/watch?v=wgnpfMK8vDk",
|
||||
"type": "video"
|
||||
}
|
||||
]
|
||||
},
|
||||
"SJ5lrlvyXgtAwOx4wvT2W": {
|
||||
"title": "Prince2",
|
||||
@@ -1421,18 +1433,71 @@
|
||||
},
|
||||
"O7H6dt3Z7EKohxfJzwbPM": {
|
||||
"title": "Kanban",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`Kanban` is a popular agile methodology that focuses on visualizing workflow and continuously improving that flow. It's a more flexible approach than Scrum, without the rigid framework.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What Is Kanban? A Simple Guide to Improve Efficiency.",
|
||||
"url": "https://businessmap.io/kanban-resources/getting-started/what-is-kanban",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Kanban Methodology: The Simplest Agile Framework ",
|
||||
"url": "https://kissflow.com/project/agile/kanban-methodology/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is Kanban Methodology? The Ultimate Guide",
|
||||
"url": "https://www.wrike.com/kanban-guide/what-is-kanban/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"PKqwKvoffm0unwcFwpojk": {
|
||||
"title": "Scrum",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`Scrum` is a popular agile framework used for project management, particularly in software development. It emphasizes iterative development, collaboration, and flexibility to deliver high-quality products.\n\nKey elements of Scrum:\n\n* **Sprints**: Time-boxed iterations (usually 2-4 weeks) where teams work on specific goals.\n* **Product Backlog**: Prioritized list of features or requirements for the product.\n* **Sprint Backlog**: Selected items from the Product Backlog to be completed during a Sprint.\n* **Daily Scrum (Stand-up)**: Brief daily meeting where team members share progress, challenges, and plans for the day.\n* **Sprint Review**: Meeting at the end of a Sprint to demonstrate completed work and gather feedback.\n* **Sprint Retrospective**: Meeting to reflect on the Sprint, identify improvements, and adjust processes for the next Sprint.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is scrum and how to get started",
|
||||
"url": "https://www.atlassian.com/agile/scrum.",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Scrum Methodology: The Complete Guide & Best Practices",
|
||||
"url": "https://thedigitalprojectmanager.com/projects/pm-methodology/scrum-methodology-complete-guide/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Essential Topics for the Scrum Product Owner",
|
||||
"url": "https://www.scrum.org/resources/blog/essential-topics-scrum-product-owner",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Scrum • Topics - Thriving Technologist",
|
||||
"url": "https://thrivingtechnologist.com/topics/scrum/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"7fL9lSu4BD1wRjnZy9tM9": {
|
||||
"title": "XP",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "`Extreme Programming (XP)` is a popular agile software development framework that emphasizes speed, simplicity, and quality. It was developed by Kent Beck in the late 1990s and is based on five values:\n\n* **Communication**: Open and honest communication among team members and stakeholders is essential.\n* **Simplicity**: The simplest solution that works is always preferred.\n* **Feedback**: Continuous feedback from customers and team members is used to improve the product.\n* **Courage**: Team members must be willing to make changes and take risks.\n* **Respect**: Everyone on the team is treated with respect.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is Extreme Programming (XP)?",
|
||||
"url": "https://www.agilealliance.org/glossary/xp/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "It's Values, Principles, And Practices",
|
||||
"url": "https://www.nimblework.com/agile/extreme-programming-xp/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Extreme Programming (XP)",
|
||||
"url": "https://scrum-master.org/en/extreme-programming-xp-a-beginners-guide-to-the-agile-method/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cBWJ6Duw99tSKr7U6OW3A": {
|
||||
"title": "Networks",
|
||||
@@ -1452,8 +1517,24 @@
|
||||
},
|
||||
"UCCT7-E_QUKPg3jAsjobx": {
|
||||
"title": "TCP/IP Model",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `TCP/IP model` defines how devices should transmit data between them and enables communication over networks and large distances. The model represents how data is exchanged and organized over networks. It is split into four layers, which set the standards for data exchange and represent how data is handled and packaged when being delivered between applications, devices, and servers.\n\n* **Network Access Layer**: The network access layer is a group of applications requiring network communications. This layer is responsible for generating the data and requesting connections.\n \n* **Internet Layer**: The internet layer is responsible for sending packets from a network and controlling their movement across a network to ensure they reach their destination.\n \n* **Transport Layer**: The transport layer is responsible for providing a solid and reliable data connection between the original application or device and its intended destination.\n \n* **Application Layer**: The application layer refers to programs that need TCP/IP to help them communicate with each other.\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "What is Transmission Control Protocol TCP/IP? - Fortinet",
|
||||
"url": "https://www.fortinet.com/resources/cyberglossary/tcp-ip#:~:text=The%20TCP%2FIP%20model%20defines,exchanged%20and%20organized%20over%20networks.",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "TCP/IP Model",
|
||||
"url": "https://www.geeksforgeeks.org/tcp-ip-model/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "What is TCP/IP and How Does it Work?",
|
||||
"url": "https://www.techtarget.com/searchnetworking/definition/TCP-IP",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"Nq6o6Ty8VyNRsvg-UWp7D": {
|
||||
"title": "HTTP, HTTPS",
|
||||
|
||||
@@ -352,7 +352,7 @@
|
||||
"description": "The lifecycle meta-argument in Terraform customizes the behavior of resources during creation, update, and deletion. It includes settings such as create\\_before\\_destroy, which ensures a new resource is created before the old one is destroyed, preventing downtime. prevent\\_destroy protects resources from accidental deletion, and ignore\\_changes specifies attributes to ignore during updates, allowing external modifications without triggering Terraform changes. These options provide fine-grained control over resource management, ensuring that the desired state of infrastructure is maintained with minimal disruption and precise handling of resource lifecycles.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Terraform Docs - for_each",
|
||||
"title": "Terraform Docs - lifecycle",
|
||||
"url": "https://developer.hashicorp.com/terraform/language/meta-arguments/lifecycle",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -449,8 +449,14 @@
|
||||
},
|
||||
"fm8oUyNvfdGWTgLsYANUr": {
|
||||
"title": "Environment Variables",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Environment variables can be used to customize various aspects of Terraform. You can set these variables to change the default behaviour of terraform such as increase verbosity, update log file path, set workspace, etc. Envrionment variables are optional and terraform does not need them by default.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Environment Variables",
|
||||
"url": "https://developer.hashicorp.com/terraform/cli/config/environment-variables",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"rdphcVd-Vq972y4H8CxIj": {
|
||||
"title": "Variable Definition File",
|
||||
@@ -470,13 +476,30 @@
|
||||
},
|
||||
"U2n2BtyUrOFLnw9SZYV_w": {
|
||||
"title": "Validation Rules",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Validation rules can be used to specify custom validations to a variable. The motive of adding validation rules is to make the variable comply with the rules. The validation rules can be added using a `validation` block.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Custom Validation Rules",
|
||||
"url": "https://developer.hashicorp.com/terraform/language/values/variables#custom-validation-rules",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"1mFih8uFs3Lc-1PLgwiAU": {
|
||||
"title": "Local Values",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Local values can be understood as a name assigned to any expression to use it multiple times directly by the name in your terraform module. Local values are referred to as locals and can be declared using the `locals` block. Local values can be a literal constants, resource attributes, variables, or other local values. Local values are helpful to define expressions or values that you need to use multiple times in the module as it allows the value to be updated easily just by updating the local value. A local value can be accessed using the `local` argument like `local.<value_name>`.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Local Values",
|
||||
"url": "https://developer.hashicorp.com/terraform/language/values/locals",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "@Article@Terraform Locals",
|
||||
"url": "https://spacelift.io/blog/terraform-locals",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"7GK4fQf1FRKrZgZkxNahj": {
|
||||
"title": "Outputs",
|
||||
@@ -535,7 +558,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Surpressing values in CLI output",
|
||||
"title": "Suppressing values in CLI output",
|
||||
"url": "https://developer.hashicorp.com/terraform/language/values/outputs#sensitive-suppressing-values-in-cli-output",
|
||||
"type": "article"
|
||||
}
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "TypeScript Handbook",
|
||||
"title": "TypeScript Official Handbook",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/typescript-from-scratch.html",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -163,7 +163,7 @@
|
||||
"description": "The TypeScript Playground is a great tool to learn TypeScript. It allows you to write TypeScript code and see the JavaScript output. It also allows you to share your code with others.\n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "TypeScript - Playground",
|
||||
"title": "TypeScript Official - Playground",
|
||||
"url": "https://www.typescriptlang.org/play",
|
||||
"type": "article"
|
||||
},
|
||||
@@ -349,7 +349,7 @@
|
||||
"description": "The `never` type represents the type of values that never occur. For instance, `never` is the return type for a function expression or an arrow function expression that always throws an exception or one that never returns. Variables also acquire the type never when narrowed by any type guards that can never be `true`.\n\nThe never type is a subtype of, and assignable to, every type; however, no type is a subtype of, or assignable to, `never` (except `never` itself). Even any isn’t assignable to `never`.\n\nExamples of functions returning never:\n\n // Function returning never must not have a reachable end point\n function error(message: string): never {\n throw new Error(message);\n }\n \n // Inferred return type is never\n function fail() {\n return error('Something failed');\n }\n \n // Function returning never must not have a reachable end point\n function infiniteLoop(): never {\n while (true) {}\n }\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Never",
|
||||
"title": "Never Type",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/2/narrowing.html#the-never-type",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -379,8 +379,14 @@
|
||||
},
|
||||
"afTNr36VqeXoJpHxm2IoS": {
|
||||
"title": "as any",
|
||||
"description": "`any` is a special type in TypeScript that represents a value of any type. When a value is declared with the any type, the compiler will not perform any type checks or type inference on that value.\n\nFor example:\n\n let anyValue: any = 42;\n \n // we can assign any value to anyValue, regardless of its type\n anyValue = 'Hello, world!';\n anyValue = true;",
|
||||
"links": []
|
||||
"description": "`any` is a special type in TypeScript that represents a value of any type. When a value is declared with the any type, the compiler will not perform any type checks or type inference on that value.\n\nFor example:\n\n let anyValue: any = 42;\n \n // we can assign any value to anyValue, regardless of its type\n anyValue = 'Hello, world!';\n anyValue = true;\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Arrays",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#any",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mjaL5ocLnM8VQlhUxW6KU": {
|
||||
"title": "Non-null Assertion",
|
||||
@@ -395,10 +401,10 @@
|
||||
},
|
||||
"HD1UGOidp7JGKdW6CEdQ_": {
|
||||
"title": "satisfies keyword",
|
||||
"description": "TypeScript developers are often faced with a dilemma: we want to ensure that some expression matches some type, but also want to keep the most specific type of that expression for inference purposes.\n\nFor example:\n\n // Each property can be a string or an RGB tuple.\n const palette = {\n red: [255, 0, 0],\n green: '#00ff00',\n bleu: [0, 0, 255],\n // ^^^^ sacrebleu - we've made a typo!\n };\n \n // We want to be able to use array methods on 'red'...\n const redComponent = palette.red.at(0);\n \n // or string methods on 'green'...\n const greenNormalized = palette.green.toUpperCase();\n \n\nNotice that we’ve written `bleu`, whereas we probably should have written `blue`. We could try to catch that `bleu` typo by using a type annotation on palette, but we’d lose the information about each property.\n\n type Colors = 'red' | 'green' | 'blue';\n type RGB = [red: number, green: number, blue: number];\n \n const palette: Record<Colors, string | RGB> = {\n red: [255, 0, 0],\n green: '#00ff00',\n bleu: [0, 0, 255],\n // ~~~~ The typo is now correctly detected\n };\n // But we now have an undesirable error here - 'palette.red' \"could\" be a string.\n const redComponent = palette.red.at(0);\n \n\nThe `satisfies` operator lets us validate that the type of an expression matches some type, without changing the resulting type of that expression. As an example, we could use `satisfies` to validate that all the properties of palette are compatible with `string | number[]`:\n\n type Colors = 'red' | 'green' | 'blue';\n type RGB = [red: number, green: number, blue: number];\n \n const palette = {\n red: [255, 0, 0],\n green: '#00ff00',\n bleu: [0, 0, 255],\n // ~~~~ The typo is now caught!\n } satisfies Record<Colors, string | RGB>;\n \n // Both of these methods are still accessible!\n const redComponent = palette.red.at(0);\n const greenNormalized = palette.green.toUpperCase();\n \n\nLearn more from the following resources:",
|
||||
"description": "The `satisfies` operator lets us validate that the type of an expression matches some type, without changing the resulting type of that expression.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Satisfies Keyword",
|
||||
"title": "satisfies Keyword",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/release-notes/typescript-4-9.html#the-satisfies-operator",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -428,7 +434,7 @@
|
||||
},
|
||||
"qefnsugcveizVq2TORRgn": {
|
||||
"title": "Combining Types",
|
||||
"description": "In TypeScript, you can combine types using type union and type intersection.\n\n### Type Union:\n\nThe union operator `|` is used to combine two or more types into a single type that represents all the possible types. For example:\n\n type stringOrNumber = string | number;\n let value: stringOrNumber = 'hello';\n \n value = 42;\n \n\n### Type Intersection:\n\nThe intersection operator `&` is used to intersect two or more types into a single type that represents the properties of all the types. For example:\n\n interface A {\n a: string;\n }\n \n interface B {\n b: number;\n }\n \n type AB = A & B;\n let value: AB = { a: 'hello', b: 42 };\n \n\nLearn more from the following links:",
|
||||
"description": "In TypeScript, you can combine types using type union and type intersection.\n\nType Union\n----------\n\nThe union operator `|` is used to combine two or more types into a single type that represents all the possible types. For example:\n\n type stringOrNumber = string | number;\n let value: stringOrNumber = 'hello';\n \n value = 42;\n \n\nType Intersection\n-----------------\n\nThe intersection operator `&` is used to intersect two or more types into a single type that represents the properties of all the types. For example:\n\n interface A {\n a: string;\n }\n \n interface B {\n b: number;\n }\n \n type AB = A & B;\n let value: AB = { a: 'hello', b: 42 };\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Union Types in TypeScript",
|
||||
@@ -490,7 +496,7 @@
|
||||
"description": "The `keyof` operator in TypeScript is used to get the union of keys from an object type. Here's an example of how it can be used:\n\n interface User {\n name: string;\n age: number;\n location: string;\n }\n \n type UserKeys = keyof User; // \"name\" | \"age\" | \"location\"\n const key: UserKeys = 'name';\n \n\nIn this example, `UserKeys` is a type that represents the union of keys from the `User` interface, which is `\"name\"` | `\"age\"` | `\"location\"`. And a constant named `key` with the type `UserKeys` is declared with the value `\"name\"`.\n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Keyof Type Operator",
|
||||
"title": "keyof Type Operator",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/2/keyof-types.html#handbook-content",
|
||||
"type": "article"
|
||||
}
|
||||
@@ -646,8 +652,14 @@
|
||||
},
|
||||
"lvtTSHH9yBTCiLng8btnI": {
|
||||
"title": "Hybrid Types",
|
||||
"description": "In TypeScript, a hybrid type is a type that combines multiple types into a single type. The resulting type is considered a union of those types. This allows you to specify that a value can have multiple types, rather than just one.\n\nFor example, you can create a hybrid type that can accept either a string or a number:\n\n type StringOrNumber = string | number;\n \n\nYou can also use hybrid types to create more complex types that can represent a combination of several different types of values. For example:\n\n type Education = {\n degree: string;\n school: string;\n year: number;\n };\n \n type User = {\n name: string;\n age: number;\n email: string;\n education: Education;\n };",
|
||||
"links": []
|
||||
"description": "In TypeScript, a hybrid type is a type that combines multiple types into a single type. The resulting type is considered a union of those types. This allows you to specify that a value can have multiple types, rather than just one.\n\nFor example, you can create a hybrid type that can accept either a string or a number:\n\n type StringOrNumber = string | number;\n \n\nYou can also use hybrid types to create more complex types that can represent a combination of several different types of values. For example:\n\n type Education = {\n degree: string;\n school: string;\n year: number;\n };\n \n type User = {\n name: string;\n age: number;\n email: string;\n education: Education;\n };\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Geeksforgeeks.org - Hybrid Types",
|
||||
"url": "https://www.geeksforgeeks.org/what-are-hybrid-types-in-typescript/#:~:text=Hybrid%20types%20are%20a%20combination,properties%20like%20a%20regular%20object.",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"ib0jfZzukYOZ42AdJqt_W": {
|
||||
"title": "Classes",
|
||||
@@ -708,6 +720,11 @@
|
||||
"title": "Inheritance vs Polymorphism",
|
||||
"description": "Inheritance and polymorphism are two fundamental concepts in object-oriented programming, and they are supported in TypeScript as well.\n\nInheritance refers to a mechanism where a subclass inherits properties and methods from its parent class. This allows a subclass to reuse the code and behavior of its parent class while also adding or modifying its own behavior. In TypeScript, inheritance is achieved using the extends keyword.\n\nPolymorphism refers to the ability of an object to take on many forms. This allows objects of different classes to be treated as objects of a common class, as long as they share a common interface or inheritance hierarchy. In TypeScript, polymorphism is achieved through method overriding and method overloading.\n\n class Animal {\n makeSound(): void {\n console.log('Making animal sound');\n }\n }\n \n class Dog extends Animal {\n makeSound(): void {\n console.log('Bark');\n }\n }\n \n class Cat extends Animal {\n makeSound(): void {\n console.log('Meow');\n }\n }\n \n let animal: Animal;\n \n animal = new Dog();\n animal.makeSound(); // Output: Bark\n \n animal = new Cat();\n animal.makeSound(); // Output: Meow\n \n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Dev.to - Mastering OOP in TypeScript",
|
||||
"url": "https://dev.to/rajrathod/mastering-object-oriented-programming-with-typescript-encapsulation-abstraction-inheritance-and-polymorphism-explained-c6p",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Inheritance and Polymorphism In TypeScript",
|
||||
"url": "https://www.youtube.com/watch?v=Sn6K57YSuwU",
|
||||
@@ -793,7 +810,7 @@
|
||||
},
|
||||
"gBTem9Dp3IQLAkqGX4fOF": {
|
||||
"title": "Partial",
|
||||
"description": "The Partial type in TypeScript allows you to make all properties of a type optional. This is useful when you need to create an object with only a subset of the properties of an existing type.\n\nHere's an example of using the Partial type in TypeScript:\n\n interface User {\n name: string;\n age: number;\n email: string;\n }\n \n function createUser(user: Partial<User>): User {\n return {\n name: 'John Doe',\n age: 30,\n email: 'john.doe@example.com',\n ...user,\n };\n }\n \n const newUser = createUser({ name: 'Jane Doe' });\n \n console.log(newUser);\n // Output: { name: 'Jane Doe', age: 30, email: 'john.doe@example.com' }\n \n\nLearn more from the following links:\n\n@article@Partial",
|
||||
"description": "The Partial type in TypeScript allows you to make all properties of a type optional. This is useful when you need to create an object with only a subset of the properties of an existing type.\n\nHere's an example of using the Partial type in TypeScript:\n\n interface User {\n name: string;\n age: number;\n email: string;\n }\n \n function createUser(user: Partial<User>): User {\n return {\n name: 'John Doe',\n age: 30,\n email: 'john.doe@example.com',\n ...user,\n };\n }\n \n const newUser = createUser({ name: 'Jane Doe' });\n \n console.log(newUser);\n // Output: { name: 'Jane Doe', age: 30, email: 'john.doe@example.com' }\n \n\nLearn more from the following links:\n\n@official@Partial",
|
||||
"links": []
|
||||
},
|
||||
"E88tHQvARkHURZwGaO02l": {
|
||||
@@ -820,7 +837,7 @@
|
||||
},
|
||||
"IuO9-O_DQdDYuAbdGWdgb": {
|
||||
"title": "Readonly",
|
||||
"description": "Readonly constructs a type with all properties of Type set to readonly, meaning the properties of the constructed type cannot be reassigned.\n\n interface Todo {\n title: string;\n }\n \n const todo: Readonly<Todo> = {\n title: 'Delete inactive users',\n };\n \n // Cannot assign to 'title' because it is a read-only property.\n todo.title = 'Hello';\n \n\nLearn more from the following links:\n\n@article@Readonly",
|
||||
"description": "Readonly constructs a type with all properties of Type set to readonly, meaning the properties of the constructed type cannot be reassigned.\n\n interface Todo {\n title: string;\n }\n \n const todo: Readonly<Todo> = {\n title: 'Delete inactive users',\n };\n \n // Cannot assign to 'title' because it is a read-only property.\n todo.title = 'Hello';\n \n\nLearn more from the following links:\n\n@official@Readonly",
|
||||
"links": []
|
||||
},
|
||||
"DRdBmF5Dt_r09LoPOxOuq": {
|
||||
@@ -858,28 +875,40 @@
|
||||
},
|
||||
"_BAZlBEzE7ddr315OeHvl": {
|
||||
"title": "NonNullable",
|
||||
"description": "Non-Nullable constructs a type by excluding `null` and `undefined` from Type.\n\n type T0 = NonNullable<string | number | undefined>;\n // type T0 = string | number\n \n type T1 = NonNullable<string[] | null | undefined>;\n // type T1 = string[]\n \n\nLearn more from the following links:\n\n@article@NonNullable",
|
||||
"description": "Non-Nullable constructs a type by excluding `null` and `undefined` from Type.\n\n type T0 = NonNullable<string | number | undefined>;\n // type T0 = string | number\n \n type T1 = NonNullable<string[] | null | undefined>;\n // type T1 = string[]\n \n\nLearn more from the following links:\n\n@official@NonNullable",
|
||||
"links": []
|
||||
},
|
||||
"a7hl0iMZ-jcUACxqIYVqv": {
|
||||
"title": "Parameters",
|
||||
"description": "Parameters constructs a tuple type from the types used in the parameters of a function type Type.\n\n type T0 = Parameters<() => string>;\n // type T0 = []\n \n type T1 = Parameters<(s: string) => void>;\n // type T1 = [s: string]\n \n type T2 = Parameters<<T>(arg: T) => T>;\n // type T2 = [arg: unknown]\n \n declare function f1(arg: { a: number; b: string }): void;\n type T3 = Parameters<typeof f1>;\n // type T3 = [arg: {\n // a: number;\n // b: string;\n // }]\n \n type T4 = Parameters<any>;\n // type T4 = unknown[]\n \n type T5 = Parameters<never>;\n // type T5 = never\n \n type T6 = Parameters<string>;\n // ^ Type 'string' does not satisfy the constraint '(...args: any) => any'.\n \n type T7 = Parameters<Function>;\n // ^ Type 'Function' does not satisfy the constraint '(...args: any) => any'.\n \n\nLearn more from the following links:\n\n@article@Parameters",
|
||||
"description": "Parameters constructs a tuple type from the types used in the parameters of a function type Type.\n\n type T0 = Parameters<() => string>;\n // type T0 = []\n \n type T1 = Parameters<(s: string) => void>;\n // type T1 = [s: string]\n \n type T2 = Parameters<<T>(arg: T) => T>;\n // type T2 = [arg: unknown]\n \n declare function f1(arg: { a: number; b: string }): void;\n type T3 = Parameters<typeof f1>;\n // type T3 = [arg: {\n // a: number;\n // b: string;\n // }]\n \n type T4 = Parameters<any>;\n // type T4 = unknown[]\n \n type T5 = Parameters<never>;\n // type T5 = never\n \n type T6 = Parameters<string>;\n // ^ Type 'string' does not satisfy the constraint '(...args: any) => any'.\n \n type T7 = Parameters<Function>;\n // ^ Type 'Function' does not satisfy the constraint '(...args: any) => any'.\n \n\nLearn more from the following links:\n\n@official@Parameters",
|
||||
"links": []
|
||||
},
|
||||
"On75JR_UkiIlha0_qaSeu": {
|
||||
"title": "ReturnType",
|
||||
"description": "Return type constructs a type consisting of the return type of function Type.\n\n type T0 = ReturnType<() => string>;\n // type T0 = string\n \n type T1 = ReturnType<(s: string) => void>;\n // type T1 = void\n \n type T2 = ReturnType<<T>() => T>;\n // type T2 = unknown\n \n type T3 = ReturnType<<T extends U, U extends number[]>() => T>;\n // type T3 = number[]\n \n declare function f1(): { a: number; b: string };\n type T4 = ReturnType<typeof f1>;\n // type T4 = {\n // a: number;\n // b: string;\n // }\n \n type T5 = ReturnType<any>;\n // type T5 = any\n \n type T6 = ReturnType<never>;\n // type T6 = never\n \n type T7 = ReturnType<string>;\n // ^ Type 'string' does not satisfy the constraint '(...args: any) => any'.\n \n type T8 = ReturnType<Function>;\n // ^ Type 'Function' does not satisfy the constraint '(...args: any) => any'.\n \n\nLearn more from the following links:\n\n@article@ReturnType",
|
||||
"description": "Return type constructs a type consisting of the return type of function Type.\n\n type T0 = ReturnType<() => string>;\n // type T0 = string\n \n type T1 = ReturnType<(s: string) => void>;\n // type T1 = void\n \n type T2 = ReturnType<<T>() => T>;\n // type T2 = unknown\n \n type T3 = ReturnType<<T extends U, U extends number[]>() => T>;\n // type T3 = number[]\n \n declare function f1(): { a: number; b: string };\n type T4 = ReturnType<typeof f1>;\n // type T4 = {\n // a: number;\n // b: string;\n // }\n \n type T5 = ReturnType<any>;\n // type T5 = any\n \n type T6 = ReturnType<never>;\n // type T6 = never\n \n type T7 = ReturnType<string>;\n // ^ Type 'string' does not satisfy the constraint '(...args: any) => any'.\n \n type T8 = ReturnType<Function>;\n // ^ Type 'Function' does not satisfy the constraint '(...args: any) => any'.\n \n\nLearn more from the following links:\n\n@official@ReturnType",
|
||||
"links": []
|
||||
},
|
||||
"izGAjNtrh3BzQt3KiZX0W": {
|
||||
"title": "InstanceType",
|
||||
"description": "This type constructs a type consisting of the instance type of a constructor function in Type.\n\n class C {\n x = 0;\n y = 0;\n }\n \n type T0 = InstanceType<typeof C>;\n // type T0 = C\n \n type T1 = InstanceType<any>;\n // type T1 = any\n \n type T2 = InstanceType<never>;\n // type T2 = never\n \n type T3 = InstanceType<string>;\n // ^ Type 'string' does not satisfy the constraint 'abstract new (...args: any) => any'.\n \n type T4 = InstanceType<Function>;\n // ^ Type 'Function' does not satisfy the constraint 'abstract new (...args: any) => any'.\n \n\nLearn more from the following links:\n\n@article@InstanceType",
|
||||
"links": []
|
||||
"description": "This type constructs a type consisting of the instance type of a constructor function in Type.\n\n class C {\n x = 0;\n y = 0;\n }\n \n type T0 = InstanceType<typeof C>;\n // type T0 = C\n \n type T1 = InstanceType<any>;\n // type T1 = any\n \n type T2 = InstanceType<never>;\n // type T2 = never\n \n type T3 = InstanceType<string>;\n // ^ Type 'string' does not satisfy the constraint 'abstract new (...args: any) => any'.\n \n type T4 = InstanceType<Function>;\n // ^ Type 'Function' does not satisfy the constraint 'abstract new (...args: any) => any'.\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "InstanceType<Type>",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#instancetypetype",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"aEhI_9mFWXRIZh1ZxTuzu": {
|
||||
"title": "Awaited",
|
||||
"description": "This type is meant to model operations like await in async functions, or the `.then()` method on Promises - specifically, the way that they recursively unwrap Promises.\n\n type A = Awaited<Promise<string>>;\n // type A = string\n \n type B = Awaited<Promise<Promise<number>>>;\n // type B = number\n \n type C = Awaited<boolean | Promise<number>>;\n // type C = number | boolean\n \n\nLearn more from the following links:\n\n@article@Awaited",
|
||||
"links": []
|
||||
"description": "This type is meant to model operations like await in async functions, or the `.then()` method on Promises - specifically, the way that they recursively unwrap Promises.\n\n type A = Awaited<Promise<string>>;\n // type A = string\n \n type B = Awaited<Promise<Promise<number>>>;\n // type B = number\n \n type C = Awaited<boolean | Promise<number>>;\n // type C = number | boolean\n \n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Awaited<Type>",
|
||||
"url": "https://www.typescriptlang.org/docs/handbook/utility-types.html#awaitedtype",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"2F7vOL__v9dLBohA263aj": {
|
||||
"title": "Advanced Types",
|
||||
@@ -948,8 +977,14 @@
|
||||
},
|
||||
"N8xBTJ74xv1E5hSLYZtze": {
|
||||
"title": "Recursive Types",
|
||||
"description": "Recursive types in TypeScript are a way to define a type that references itself. Recursive types are used to define complex data structures, such as trees or linked lists, where a value can contain one or more values of the same type.\n\nFor example, the following is a recursive type that represents a linked list:\n\n type LinkedList<T> = {\n value: T;\n next: LinkedList<T> | null;\n };\n \n let list: LinkedList<number> = {\n value: 1,\n next: { value: 2, next: { value: 3, next: null } },\n };\n \n\nIn this example, the `LinkedList` type is defined as a type that extends `T` and contains a property `next` of the same type `LinkedList<T>`. This allows us to create a linked list where each node contains a value of type `T` and a reference to the next node in the list.",
|
||||
"links": []
|
||||
"description": "Recursive types in TypeScript are a way to define a type that references itself. Recursive types are used to define complex data structures, such as trees or linked lists, where a value can contain one or more values of the same type.\n\nFor example, the following is a recursive type that represents a linked list:\n\n type LinkedList<T> = {\n value: T;\n next: LinkedList<T> | null;\n };\n \n let list: LinkedList<number> = {\n value: 1,\n next: { value: 2, next: { value: 3, next: null } },\n };\n \n\nIn this example, the `LinkedList` type is defined as a type that extends `T` and contains a property `next` of the same type `LinkedList<T>`. This allows us to create a linked list where each node contains a value of type `T` and a reference to the next node in the list.\n\nLearn more from the following links:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Recursive Types in TypeScript",
|
||||
"url": "https://www.typescriptlang.org/play/3-7/types-and-code-flow/recursive-type-references.ts.html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"sE9lqkkqwnsVJxTJv37YZ": {
|
||||
"title": "TypeScript Modules",
|
||||
|
||||
@@ -24,11 +24,6 @@
|
||||
"url": "https://www.businessballs.com/improving-workplace-performance/nudge-theory/",
|
||||
"type": "article"
|
||||
},
|
||||
{
|
||||
"title": "Nudge Theory Explained with Examples (on YouTube)",
|
||||
"url": "https://www.youtube.com/watch?v=u3yxxteiyya&ab_channel=epm",
|
||||
"type": "video"
|
||||
},
|
||||
{
|
||||
"title": "Nudge Theory Explained in less than 10 minutes",
|
||||
"url": "https://youtu.be/fA5eGIMZTRQ",
|
||||
@@ -58,7 +53,7 @@
|
||||
},
|
||||
"2NlgbLeLBYwZX2u2rKkIO": {
|
||||
"title": "BJ Fogg's Behavior Model",
|
||||
"description": "B.J. Fogg, a renowned psychologist, and researcher at Stanford University, proposed the [Fogg Behavior Model (FBM)](https://www.behaviormodel.org/). This insightful model helps UX designers understand and influence user behavior by focusing on three core elements. These key factors are motivation, ability, and triggers.\n\n* **Motivation**: This element emphasizes the user's desire to perform a certain action or attain specific outcomes. Motivation can be linked to three core elements specified as sensation (pleasure/pain), anticipation (hope/fear), and social cohesion (belonging/rejection).\n \n* **Ability**: Ability refers to the user's capacity, both physical and mental, to perform desired actions. To enhance the ability of users, UX designers should follow the principle of simplicity. The easier it is to perform an action, the more likely users will engage with the product. Some factors to consider are time, financial resources, physical efforts, and cognitive load.\n \n* **Triggers**: Triggers are the cues, notifications, or prompts that signal users to take an action. For an action to occur, triggers should be presented at the right time when the user has adequate motivation and ability.\n \n\nUX designers should strive to find the balance between these three factors to facilitate the desired user behavior. By understanding your audience and their needs, implementing clear and concise triggers, and minimizing the effort required for action, the FBM can be an effective tool for designing user-centered products.",
|
||||
"description": "B.J. Fogg, a renowned psychologist, and researcher at Stanford University, proposed the [Fogg Behavior Model (FBM)](https://www.behaviormodel.org/). This insightful model helps UX designers understand and influence user behavior by focusing on three core elements. These key factors are motivation, ability, and prompts.\n\n* **Motivation**: This element emphasizes the user's desire to perform a certain action or attain specific outcomes. Motivation can be linked to three core elements specified as sensation (pleasure/pain), anticipation (hope/fear), and social cohesion (belonging/rejection).\n \n* **Ability**: Ability refers to the user's capacity, both physical and mental, to perform desired actions. To enhance the ability of users, UX designers should follow the principle of simplicity. The easier it is to perform an action, the more likely users will engage with the product. Some factors to consider are time, financial resources, physical efforts, and cognitive load.\n \n* **Prompts**: Prompts are the cues, notifications, or triggers that signal users to take an action. For an action to occur, prompts should be presented at the right time when the user has adequate motivation and ability.\n \n\nUX designers should strive to find the balance between these three factors to facilitate the desired user behavior. By understanding your audience and their needs, implementing clear and concise prompts, and minimizing the effort required for action, the FBM can be an effective tool for designing user-centered products.",
|
||||
"links": [
|
||||
{
|
||||
"title": "meaning of BJ fogg's behavior model",
|
||||
@@ -69,7 +64,7 @@
|
||||
},
|
||||
"kcG4IpneJzA6di0uqTiwb": {
|
||||
"title": "CREATE Action Funnel",
|
||||
"description": "Stephen Wendell's Create Action Funnel is a UX design framework focused on converting website visitors into active customers through a systematic and engaging process. The approach emphasizes on understanding user behavior, catering to their needs, and directing them towards specific actions. The Action Funnel consists of four major steps:\n\n* **Establish the Objectives:** Before diving into the design, clearly define the goals you want to achieve through the website or app. Determine what actions you want the users to take (e.g., sign up, make a purchase, share content) and what constitutes a successful conversion.\n \n* **Understand User Mindsets:** Identify your target audience and recognize their needs, preferences, emotions, and pain points. Accomplishing this requires user research, creating personas, storyboarding, and empathy mapping, among other methods.\n \n* **Design the Optimal User Flow:** Craft a seamless and intuitive user journey by designing a clear path from the landing page to the desired action. Prioritize simplicity, usability, and efficiency. Make sure to include meaningful touchpoints and interactions to engage the users and make it easy for them to complete the intended action.\n \n* **Refine and Test the Experience:** Use wireframes and prototypes to test and iteratively refine the user experience. Employ user testing, A/B testing, and analytics to gather insight on user behavior, preferences, and engagement. Continuously use feedback to make improvements, ensuring that the design effectively leads visitors down the action funnel.\n \n\nBy implementing Stephen Wendell's `Create Action Funnel`, you can effectively guide users through an engaging journey that motivates them to become active customers, ultimately increasing conversion rates and overall satisfaction.",
|
||||
"description": "Stephen Wendel's CREATE Action Funnel is a behavioral design framework aimed at helping individuals or organizations encourage specific behaviors in others, especially in the context of product design. It breaks down the process of motivating action into six key stages. Each stage helps identify where users might drop off or face barriers, allowing designers or strategists to address these pain points effectively. These stages are:\n\n* **CUE:** The user must notice a cue or prompt that tells them to act. This could be a notification, a visual element, or any kind of reminder.\n \n* **REACTION:** The user must react positively to the cue. This stage involves emotional and cognitive processing, where the individual decides if the action is relevant or attractive.\n \n* **EVALUATION:** The user evaluates whether the action is worth their time, energy, or resources. They assess the benefits versus the effort required.\n \n* **ABILITY:** The user must feel capable of taking the action. This involves ensuring that the action is easy enough to do and aligns with their skills and resources.\n \n* **TIMING:** The action needs to happen at the right time. Users need to have the opportunity and be in the right context to act.\n \n* **EXECUTION:** Finally, the action must be carried out successfully. This is the stage where the behavior is completed.\n \n\nThe CREATE Action Funnel is helpful for product designers, marketers, or behavior change professionals, as it provides a structured way to understand user actions and design interventions to improve completion rates. It identifies and solves the gaps that occur between intention and action.",
|
||||
"links": [
|
||||
{
|
||||
"title": "Behavioral Science Crash Course: Steve Wendel's CREATE Action Funnel",
|
||||
@@ -80,7 +75,7 @@
|
||||
},
|
||||
"0Df110GZcDw5wbAe1eKoA": {
|
||||
"title": "Spectrum of Thinking Interventions",
|
||||
"description": "The _Spectrum of Thinking Interventions_ provides a structure to guide your UX design process, helping you identify the types and range of thinking interventions that the user may require. This spectrum encompasses four primary categories: guidance, explanation, exploration, and creation.\n\nGuidance\n--------\n\nGuidance-based interventions are designed to help users navigate through a digital product or service with minimal effort. They may be aimed at full-fledged beginners, casual users, or experts in their respective domains. Such interventions may include signposts, tooltips, and clearly articulated labels.\n\n_Examples:_\n\n* Visual cues (e.g., icons, colors)\n* Signposting (e.g., breadcrumbs)\n* In-context information (e.g., tool tips, hints)\n\nExplanation\n-----------\n\nExplanation-based interventions provide users with detailed narratives, overviews, or background information that helps them make informed decisions. This may include tutorials, articles, videos, or any other mediums that help explain complex concepts or instructions.\n\n_Examples:_\n\n* Multimedia tutorials\n* Articles or blog posts\n* Infographics or diagrams\n\nExploration\n-----------\n\nExploration-based interventions encourage users to understand and interact with the product by investigating, asking questions, or searching for solutions on their own. This can be done by providing interactive elements, multiple pathways, and opportunities for discovery.\n\n_Examples:_\n\n* Interactive simulations or models\n* Advanced search capabilities\n* Multiple UI paths for task completion\n\nCreation\n--------\n\nCreation-based interventions engage users by offering them the tools and resources to co-create or customize their experience. This type of intervention often involves a more extensive level of input and involvement from the user as they become active participants in the design process.\n\n_Examples:_\n\n* Customizable user interfaces\n* Allowing users to create their content\n* Enabling users to manage their preferences, settings, and configurations\n\nWith this spectrum in mind, it is essential as a UX designer to analyze which types of thinking interventions are most relevant to your target users and design the most accessible and effective solutions. Always consider how these interventions will influence users' decision-making processes and their overall satisfaction with your digital product or service.",
|
||||
"description": "The _Spectrum of Thinking Interventions_ provides a structure for understanding the different types of decision-making processes by illustrating how our minds would respond in a _default, lowest energy way_, if we didn't consciously do something different. This spectrum ranges from situations requiring minimal thought to those demanding intensive thinking, and includes the mechanisms (\"interventions\") that our minds will likely use.\n\n* **Habits:** Triggering a learned routine based on familiar cues\n* **Other intuitive responses:** Used in familiar or semi-familiar situations, with responses based on past experiences\n* **Active mindset or self-concept:** Used in ambiguous scenarios with multiple possible interpretations\n* **Heuristics:** Used in situations requiring conscious attention, but where decisions can be made more easily\n* **Focused, conscious calculation:** Used in unfamiliar scenarios or crucial decisions where deliberate focus is needed\n\nWith this spectrum in mind, it is essential as a UX designer to leverage on the mind's decision-making process, analyze which mechanisms are most applicable to your target users and design the most accessible and effective solutions.",
|
||||
"links": []
|
||||
},
|
||||
"kWA8CvocP1pkom2N7O4gb": {
|
||||
|
||||
@@ -242,13 +242,25 @@
|
||||
},
|
||||
"NCIzs3jbQTv1xXhAaGfZN": {
|
||||
"title": "v-text",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-text` directive is used to set the textContent property of an element. It's important to note that when using this directive it will overwrite the HTML content inside the element. The expected input is a string, so it's important to wrap any text in single quotes.\n\nExample:\n\n <template>\n <p v-text=\"'I am some text'\"></p>\n </template>\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-text documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-text",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"bZxtIBeIfeUcR32LZWrPW": {
|
||||
"title": "v-html",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-thml` directive is similar to the `v-text` directive, but the difference is that `v-html` renders its content as HTML. This means that if you pass an HTML element it will be rendered as an element and not plain text. Since the content is render as HTMl, it can pose a security risk if the content contains malicius JavaScript code. For this reason you should never use this directive in combination with user input, unless the input is first properly sanitized.\n\nExample:\n\n <template>\n <p v-html=\"'<h1>Text</h1>'\"></p>\n </template>\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-html documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-html",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"_TlbGTKFCMO0wdLbC6xHX": {
|
||||
"title": "v-show",
|
||||
@@ -285,13 +297,25 @@
|
||||
},
|
||||
"a9caVhderJaVo0v14w8WB": {
|
||||
"title": "v-else-if",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "This directive is used to add additional conditions to a v-if and v-else block.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-else-if Documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-else-if",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"3ftwRjQ9e1-qDT9BV53zr": {
|
||||
"title": "v-for",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-for` directive is used to render an HTML element, a block of elements, or even a component based on an array, an object, or a set number of times. When using this directive it is important to assign a unique key to each item to avoid issues and improve perfomance. This directive follows the `item in items` syntax.\n\nExample:\n\n <script setup>\n import { ref } from 'vue';\n const foods = ref([\n {id: 1, name: \"apple\"},\n {id: 2, name: \"pear\"},\n {id: 3, name: \"pizza\"}\n ]);\n </script>\n \n <template>\n <p v-for=\"food in foods\" :key=\"food.id\">{{ food.name }}</p>\n </template>\n \n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-for documentation",
|
||||
"url": "https://vuejs.org/guide/essentials/list#v-for",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"hVuRmhXVP65IPtuHTORjJ": {
|
||||
"title": "v-on",
|
||||
@@ -300,12 +324,18 @@
|
||||
},
|
||||
"cuM9q9vYy8JpZPGeBffd1": {
|
||||
"title": "v-bind",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-bind` directive dynamically binds an HTML attribute to data.\n\nThe shorthand for this directive is `:`\n\nExample:\n\n <script setup>\n import { ref } from 'vue';\n const image_url = ref(\"path/to/image.png\")\n </script>\n \n <template>\n <img :src=\"image_url\" />\n </template>\n \n\nVisit the following resources for more information:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-bind documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-bind",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"cxu2Wbt306SxM4JKQQqnL": {
|
||||
"title": "v-model",
|
||||
"description": "The v-model directive in Vue.js is used for creating two-way data bindings on form input elements, such as , , and . This means that the data can be updated in the component when the user inputs something, and the UI will update if the data in the component changes.",
|
||||
"description": "The v-model directive in Vue.js is used for creating two-way data bindings on form input elements, such as `<input>`, `<textarea>`, and `<select>`. This means that the data can be updated in the component when the user inputs something, and the UI will update if the data in the component changes.",
|
||||
"links": [
|
||||
{
|
||||
"title": "Form Input Bindings",
|
||||
@@ -316,28 +346,58 @@
|
||||
},
|
||||
"m9pQ3daR3KiwRATcQysHA": {
|
||||
"title": "v-slot",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The v-slot directive to define slots in components, allowing you to pass and render content dynamically inside a component.\n\nFor named slots, you use v-slot with a specific slot name. This lets you pass different content to different parts of a component:\n\n <template>\n <custom-component>\n <template v-slot:header>\n <h1>Header Content</h1>\n </template>\n <template v-slot:footer>\n <p>Footer Content</p>\n </template>\n </custom-component>\n </template>\n \n\nThe shorthand for `v-slot` is `#`, for example `v-slot:header` becomes `#header`.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-slot documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-slot",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"5k9CrbzhNy9iiS6ez2UE6": {
|
||||
"title": "v-once",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-once` directive makes an HTML element render only once, skipping every future update.\n\nExample:\n\n <script setup>\n import { ref } from 'vue';\n const input = ref(\"Some Text\");\n </script>\n \n <template>\n <input v-model=\"input\">\n <p v-once>{{ input }}</p>\n </template>\n \n\nIn this example the **p** element will not change its text even if the input variable is changed through the **input** element.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-once documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-once",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"mlsrhioiEkqnRIL6O3hNa": {
|
||||
"title": "v-pre",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The `v-pre` directive makes an element render its content as-is, skipping its compilation. The most common use case is when displaying raw mustache syntax.\n\nExample:\n\n <script setup>\n import { ref } from 'vue';\n const text = ref(\"Some Text\")\n </script>\n \n <template>\n <p v-pre >{{ text }}</p>\n </template>\n \n\nThe **p** element will display: `{{ text }}` and not `Some Text` because the compilation is skipped.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-pre Documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-pre",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RrSekP8Ub01coegMwLP6a": {
|
||||
"title": "v-cloak",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "The v-cloak directive is used to prevent the uncompiled Vue template from being visible while the Vue instance is still loading. It temporarily hides the content until Vue has finished compiling the template\n\nThe v-cloak directive remains until the component instance is mounted.\n\n <div v-cloak>\n {{ message }}\n </div>\n \n\nCombined with CSS, you can hide elements with v-cloak until they are ready.\n\n [v-cloak] {\n display: none;\n }\n \n\nThe `<div>` will not be visible until the compilation is done.\n\nVisit the following resources to learn more:",
|
||||
"links": [
|
||||
{
|
||||
"title": "v-cloak documentation",
|
||||
"url": "https://vuejs.org/api/built-in-directives.html#v-cloak",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"RRPhAxIqvAcjZIcLe_N8-": {
|
||||
"title": "Optimizing Renders",
|
||||
"description": "",
|
||||
"links": []
|
||||
"description": "Optimizing rendering is crucial for ensuring a smooth and efficient user experience across all your frontend projects. Sluggish webpages can lead to frustration for users, and potentially cause them to entirely abandon your web application. This issue comes up most often in single-page applications (SPAs), where the entirety of your application is loaded within a single webpage, and updates to it are handled dynamically without needing a full reload of the webpage.\n\nLearn more from the following resources:",
|
||||
"links": [
|
||||
{
|
||||
"title": "Optimizing rendering in Vue",
|
||||
"url": "https://blog.logrocket.com/optimizing-rendering-vue/",
|
||||
"type": "article"
|
||||
}
|
||||
]
|
||||
},
|
||||
"dxwKfBxd5KYVkfEPMdHp-": {
|
||||
"title": "Debugging",
|
||||
|
||||
BIN
public/roadmaps/ai-engineer.png
Normal file
|
After Width: | Height: | Size: 478 KiB |
BIN
public/roadmaps/redis.png
Normal file
|
After Width: | Height: | Size: 494 KiB |
@@ -36,7 +36,7 @@ Here is the list of available roadmaps with more being actively worked upon.
|
||||
- [Backend Roadmap](https://roadmap.sh/backend) / [Backend Beginner Roadmap](https://roadmap.sh/backend?r=backend-beginner)
|
||||
- [DevOps Roadmap](https://roadmap.sh/devops) / [DevOps Beginner Roadmap](https://roadmap.sh/devops?r=devops-beginner)
|
||||
- [Full Stack Roadmap](https://roadmap.sh/full-stack)
|
||||
- [Git and GitHub Roadmap](https://roadmap.sh/git-github)
|
||||
- [Git and GitHub](https://roadmap.sh/git-github)
|
||||
- [API Design Roadmap](https://roadmap.sh/api-design)
|
||||
- [Computer Science Roadmap](https://roadmap.sh/computer-science)
|
||||
- [Data Structures and Algorithms Roadmap](https://roadmap.sh/datastructures-and-algorithms)
|
||||
@@ -71,6 +71,7 @@ Here is the list of available roadmaps with more being actively worked upon.
|
||||
- [Design System Roadmap](https://roadmap.sh/design-system)
|
||||
- [PostgreSQL Roadmap](https://roadmap.sh/postgresql-dba)
|
||||
- [SQL Roadmap](https://roadmap.sh/sql)
|
||||
- [Redis Roadmap](https://roadmap.sh/redis)
|
||||
- [Blockchain Roadmap](https://roadmap.sh/blockchain)
|
||||
- [ASP.NET Core Roadmap](https://roadmap.sh/aspnet-core)
|
||||
- [System Design Roadmap](https://roadmap.sh/system-design)
|
||||
|
||||
@@ -90,9 +90,6 @@ const COMPRESS_CONFIG = {
|
||||
case '.avif':
|
||||
imageBuffer = await sharp(image).avif(COMPRESS_CONFIG.avif).toBuffer();
|
||||
break;
|
||||
case '.gif':
|
||||
imageBuffer = await sharp(image).gif(COMPRESS_CONFIG.gif).toBuffer();
|
||||
break;
|
||||
case '.heif':
|
||||
imageBuffer = await sharp(image).heif().toBuffer();
|
||||
break;
|
||||
@@ -111,6 +108,8 @@ const COMPRESS_CONFIG = {
|
||||
case '.webp':
|
||||
imageBuffer = await sharp(image).webp(COMPRESS_CONFIG.webp).toBuffer();
|
||||
break;
|
||||
case '.gif':
|
||||
continue;
|
||||
}
|
||||
|
||||
if (!imageBuffer) {
|
||||
|
||||
38
src/api/leaderboard.ts
Normal file
@@ -0,0 +1,38 @@
|
||||
import { type APIContext } from 'astro';
|
||||
import { api } from './api.ts';
|
||||
|
||||
export type LeaderboardUserDetails = {
|
||||
id: string;
|
||||
name: string;
|
||||
avatar?: string;
|
||||
count: number;
|
||||
};
|
||||
|
||||
export type ListLeaderboardStatsResponse = {
|
||||
streaks: {
|
||||
active: LeaderboardUserDetails[];
|
||||
lifetime: LeaderboardUserDetails[];
|
||||
};
|
||||
projectSubmissions: {
|
||||
currentMonth: LeaderboardUserDetails[];
|
||||
lifetime: LeaderboardUserDetails[];
|
||||
};
|
||||
githubContributors: {
|
||||
currentMonth: LeaderboardUserDetails[];
|
||||
};
|
||||
referrals: {
|
||||
currentMonth: LeaderboardUserDetails[];
|
||||
lifetime: LeaderboardUserDetails[];
|
||||
};
|
||||
};
|
||||
|
||||
export function leaderboardApi(context: APIContext) {
|
||||
return {
|
||||
listLeaderboardStats: async function () {
|
||||
return api(context).get<ListLeaderboardStatsResponse>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-list-leaderboard-stats`,
|
||||
{},
|
||||
);
|
||||
},
|
||||
};
|
||||
}
|
||||
15
src/api/project.ts
Normal file
@@ -0,0 +1,15 @@
|
||||
import { type APIContext } from 'astro';
|
||||
import { api } from './api.ts';
|
||||
|
||||
export function projectApi(context: APIContext) {
|
||||
return {
|
||||
listProjectsUserCount: async function (projectIds: string[]) {
|
||||
return api(context).post<Record<string, number>>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-list-projects-user-count`,
|
||||
{
|
||||
projectIds,
|
||||
},
|
||||
);
|
||||
},
|
||||
};
|
||||
}
|
||||
@@ -1,6 +1,7 @@
|
||||
import { type APIContext } from 'astro';
|
||||
import { api } from './api.ts';
|
||||
import type { RoadmapDocument } from '../components/CustomRoadmap/CreateRoadmap/CreateRoadmapModal.tsx';
|
||||
import type { PageType } from '../components/CommandMenu/CommandMenu.tsx';
|
||||
|
||||
export type ListShowcaseRoadmapResponse = {
|
||||
data: Pick<
|
||||
@@ -37,3 +38,30 @@ export function roadmapApi(context: APIContext) {
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export type ProjectPageType = {
|
||||
id: string;
|
||||
title: string;
|
||||
url: string;
|
||||
};
|
||||
|
||||
export async function getProjectList() {
|
||||
const baseUrl = import.meta.env.DEV
|
||||
? 'http://localhost:3000'
|
||||
: 'https://roadmap.sh';
|
||||
const pages = await fetch(`${baseUrl}/pages.json`).catch((err) => {
|
||||
console.error(err);
|
||||
return [];
|
||||
});
|
||||
|
||||
const pagesJson = await (pages as any).json();
|
||||
const projects: ProjectPageType[] = pagesJson
|
||||
.filter((page: any) => page?.group?.toLowerCase() === 'projects')
|
||||
.map((page: any) => ({
|
||||
id: page.id,
|
||||
title: page.title,
|
||||
url: page.url,
|
||||
}));
|
||||
|
||||
return projects;
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { type APIContext } from 'astro';
|
||||
import { api } from './api.ts';
|
||||
import type { ResourceType } from '../lib/resource-progress.ts';
|
||||
import type { ProjectStatusDocument } from '../components/Projects/ListProjectSolutions.tsx';
|
||||
|
||||
export const allowedRoadmapVisibility = ['all', 'none', 'selected'] as const;
|
||||
export type AllowedRoadmapVisibility =
|
||||
@@ -99,6 +100,7 @@ export type GetPublicProfileResponse = Omit<
|
||||
> & {
|
||||
activity: UserActivityCount;
|
||||
roadmaps: ProgressResponse[];
|
||||
projects: ProjectStatusDocument[];
|
||||
isOwnProfile: boolean;
|
||||
};
|
||||
|
||||
|
||||
189
src/components/AccountStreak/AccountStreak.tsx
Normal file
@@ -0,0 +1,189 @@
|
||||
import { useEffect, useRef, useState } from 'react';
|
||||
import { isLoggedIn } from '../../lib/jwt';
|
||||
import { httpGet } from '../../lib/http';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { Zap, ZapOff } from 'lucide-react';
|
||||
import { useOutsideClick } from '../../hooks/use-outside-click';
|
||||
import { StreakDay } from './StreakDay';
|
||||
import {
|
||||
navigationDropdownOpen,
|
||||
roadmapsDropdownOpen,
|
||||
} from '../../stores/page.ts';
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { cn } from '../../lib/classname.ts';
|
||||
import { $accountStreak, type StreakResponse } from '../../stores/streak.ts';
|
||||
import { InviteFriends } from './InviteFriends.tsx';
|
||||
|
||||
type AccountStreakProps = {};
|
||||
|
||||
export function AccountStreak(props: AccountStreakProps) {
|
||||
const toast = useToast();
|
||||
const dropdownRef = useRef(null);
|
||||
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const accountStreak = useStore($accountStreak);
|
||||
const [showDropdown, setShowDropdown] = useState(false);
|
||||
|
||||
const $roadmapsDropdownOpen = useStore(roadmapsDropdownOpen);
|
||||
const $navigationDropdownOpen = useStore(navigationDropdownOpen);
|
||||
|
||||
useEffect(() => {
|
||||
if ($roadmapsDropdownOpen || $navigationDropdownOpen) {
|
||||
setShowDropdown(false);
|
||||
}
|
||||
}, [$roadmapsDropdownOpen, $navigationDropdownOpen]);
|
||||
|
||||
const loadAccountStreak = async () => {
|
||||
if (!isLoggedIn()) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (accountStreak) {
|
||||
setIsLoading(false);
|
||||
return;
|
||||
}
|
||||
|
||||
setIsLoading(true);
|
||||
const { response, error } = await httpGet<StreakResponse>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-streak`,
|
||||
);
|
||||
|
||||
if (error || !response) {
|
||||
toast.error(error?.message || 'Failed to load account streak');
|
||||
setIsLoading(false);
|
||||
return;
|
||||
}
|
||||
|
||||
$accountStreak.set(response);
|
||||
setIsLoading(false);
|
||||
};
|
||||
|
||||
useOutsideClick(dropdownRef, () => {
|
||||
setShowDropdown(false);
|
||||
});
|
||||
|
||||
useEffect(() => {
|
||||
loadAccountStreak().finally(() => {});
|
||||
}, []);
|
||||
|
||||
if (!isLoggedIn() || isLoading) {
|
||||
return null;
|
||||
}
|
||||
|
||||
let { count: currentCount = 0 } = accountStreak || {};
|
||||
const previousCount =
|
||||
accountStreak?.previousCount || accountStreak?.count || 0;
|
||||
|
||||
// Adding one to show the current day
|
||||
const currentCircleCount = Math.min(currentCount, 5) + 1;
|
||||
// Adding one day to show the streak they broke
|
||||
const leftCircleCount = Math.min(5 - currentCircleCount, previousCount) + 1;
|
||||
// In the maximum case, we will show 10 circles
|
||||
const remainingCount = Math.max(0, 10 - leftCircleCount - currentCircleCount);
|
||||
const totalCircles = leftCircleCount + currentCircleCount + remainingCount;
|
||||
|
||||
return (
|
||||
<div className="relative z-[90] animate-fade-in">
|
||||
<button
|
||||
className={cn(
|
||||
'flex items-center justify-center rounded-lg p-1.5 px-2 text-purple-400 hover:bg-purple-100/10 focus:outline-none',
|
||||
{
|
||||
'bg-purple-100/10': showDropdown,
|
||||
},
|
||||
)}
|
||||
onClick={() => setShowDropdown(true)}
|
||||
>
|
||||
<Zap strokeWidth={1} className="size-5 fill-current" />
|
||||
<span className="ml-1.5 text-sm font-semibold">
|
||||
{accountStreak?.count}
|
||||
</span>
|
||||
</button>
|
||||
|
||||
{showDropdown && (
|
||||
<div
|
||||
ref={dropdownRef}
|
||||
className="absolute right-0 top-full z-50 w-[335px] translate-y-1 rounded-lg bg-slate-800 shadow-xl"
|
||||
>
|
||||
<div className="py-5 pl-4 pr-5">
|
||||
<div className="flex items-center justify-between gap-2 text-sm text-slate-500">
|
||||
<p>
|
||||
Current Streak
|
||||
<span className="ml-2 font-medium text-white">
|
||||
{accountStreak?.count || 0}
|
||||
</span>
|
||||
</p>
|
||||
<p>
|
||||
Longest Streak
|
||||
<span className="ml-2 font-medium text-white">
|
||||
{accountStreak?.longestCount || 0}
|
||||
</span>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<div className="mb-6 mt-9">
|
||||
<div className="grid grid-cols-10 gap-1">
|
||||
{Array.from({ length: totalCircles }).map((_, index) => {
|
||||
let dayCount,
|
||||
icon,
|
||||
isPreviousStreakDay,
|
||||
isBrokenStreakDay,
|
||||
isCurrentStreakDay,
|
||||
isRemainingStreakDay,
|
||||
isToday;
|
||||
|
||||
if (index < leftCircleCount) {
|
||||
// Previous streak days
|
||||
dayCount = previousCount - leftCircleCount + index + 1 + 1;
|
||||
isPreviousStreakDay = true;
|
||||
isBrokenStreakDay = index === leftCircleCount - 1;
|
||||
|
||||
icon = isBrokenStreakDay ? (
|
||||
<ZapOff className="size-5 fill-current" />
|
||||
) : (
|
||||
<Zap className="size-5 fill-current" />
|
||||
);
|
||||
} else if (index < leftCircleCount + currentCircleCount) {
|
||||
// Current streak days
|
||||
const currentIndex = index - leftCircleCount;
|
||||
dayCount =
|
||||
currentCount - currentCircleCount + currentIndex + 1 + 1;
|
||||
isCurrentStreakDay = true;
|
||||
isToday = currentIndex === currentCircleCount - 1;
|
||||
icon = <Zap className="size-5 fill-current" />;
|
||||
} else {
|
||||
// Remaining streak days
|
||||
const remainingIndex =
|
||||
index - leftCircleCount - currentCircleCount;
|
||||
dayCount = currentCount + remainingIndex + 1 + 1;
|
||||
isRemainingStreakDay = true;
|
||||
}
|
||||
|
||||
return (
|
||||
<StreakDay
|
||||
key={`streak-${index}`}
|
||||
dayCount={dayCount}
|
||||
icon={icon}
|
||||
isBrokenStreakDay={isBrokenStreakDay}
|
||||
isPreviousStreakDay={isPreviousStreakDay}
|
||||
isCurrentStreakDay={isCurrentStreakDay}
|
||||
isRemainingStreakDay={isRemainingStreakDay}
|
||||
isToday={isToday}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p className="-mt-[0px] mb-[1.5px] text-center text-xs tracking-wide text-slate-500">
|
||||
Visit every day to keep your streak going!
|
||||
</p>
|
||||
|
||||
<InviteFriends
|
||||
refByUserCount={accountStreak?.refByUserCount || 0}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
7
src/components/AccountStreak/AccountStreakHeatmap.css
Normal file
@@ -0,0 +1,7 @@
|
||||
.react-calendar-heatmap text {
|
||||
fill: rgb(148, 163, 184) !important;
|
||||
}
|
||||
|
||||
.react-calendar-heatmap rect:hover {
|
||||
stroke: rgb(148, 163, 184) !important;
|
||||
}
|
||||
189
src/components/AccountStreak/AccountStreakHeatmap.tsx
Normal file
@@ -0,0 +1,189 @@
|
||||
import CalendarHeatmap from 'react-calendar-heatmap';
|
||||
import dayjs from 'dayjs';
|
||||
import { formatActivityDate } from '../../lib/date';
|
||||
import { Tooltip as ReactTooltip } from 'react-tooltip';
|
||||
import 'react-calendar-heatmap/dist/styles.css';
|
||||
import './AccountStreakHeatmap.css';
|
||||
|
||||
const legends = [
|
||||
{ count: 1, color: 'bg-slate-600' },
|
||||
{ count: 3, color: 'bg-slate-500' },
|
||||
{ count: 5, color: 'bg-slate-400' },
|
||||
{ count: 10, color: 'bg-slate-300' },
|
||||
{ count: 20, color: 'bg-slate-200' },
|
||||
];
|
||||
|
||||
type AccountStreakHeatmapProps = {};
|
||||
|
||||
export function AccountStreakHeatmap(props: AccountStreakHeatmapProps) {
|
||||
const startDate = dayjs().subtract(6, 'months').toDate();
|
||||
const endDate = dayjs().toDate();
|
||||
|
||||
return (
|
||||
<div className="mt-4">
|
||||
<CalendarHeatmap
|
||||
startDate={startDate}
|
||||
endDate={endDate}
|
||||
values={[
|
||||
{
|
||||
date: '2024-08-01',
|
||||
count: 4,
|
||||
},
|
||||
{
|
||||
date: '2024-08-02',
|
||||
count: 10,
|
||||
},
|
||||
{
|
||||
date: '2024-08-03',
|
||||
count: 5,
|
||||
},
|
||||
{
|
||||
date: '2024-08-04',
|
||||
count: 3,
|
||||
},
|
||||
{
|
||||
date: '2024-08-05',
|
||||
count: 7,
|
||||
},
|
||||
{
|
||||
date: '2024-08-06',
|
||||
count: 2,
|
||||
},
|
||||
{
|
||||
date: '2024-08-07',
|
||||
count: 6,
|
||||
},
|
||||
{
|
||||
date: '2024-08-08',
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
date: '2024-08-09',
|
||||
count: 9,
|
||||
},
|
||||
{
|
||||
date: '2024-08-10',
|
||||
count: 1,
|
||||
},
|
||||
{
|
||||
date: '2024-08-11',
|
||||
count: 3,
|
||||
},
|
||||
{
|
||||
date: '2024-08-12',
|
||||
count: 5,
|
||||
},
|
||||
{
|
||||
date: '2024-08-13',
|
||||
count: 7,
|
||||
},
|
||||
{
|
||||
date: '2024-08-14',
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
date: '2024-08-15',
|
||||
count: 2,
|
||||
},
|
||||
{
|
||||
date: '2024-08-16',
|
||||
count: 4,
|
||||
},
|
||||
{
|
||||
date: '2024-08-17',
|
||||
count: 6,
|
||||
},
|
||||
{
|
||||
date: '2024-08-18',
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
date: '2024-08-19',
|
||||
count: 10,
|
||||
},
|
||||
{
|
||||
date: '2024-08-20',
|
||||
count: 2,
|
||||
},
|
||||
{
|
||||
date: '2024-08-21',
|
||||
count: 4,
|
||||
},
|
||||
{
|
||||
date: '2024-08-22',
|
||||
count: 6,
|
||||
},
|
||||
{
|
||||
date: '2024-08-23',
|
||||
count: 8,
|
||||
},
|
||||
{
|
||||
date: '2024-08-24',
|
||||
count: 10,
|
||||
},
|
||||
{
|
||||
date: '2024-08-25',
|
||||
count: 30,
|
||||
},
|
||||
]}
|
||||
classForValue={(value) => {
|
||||
if (!value) {
|
||||
return 'fill-slate-700 rounded-md [rx:2px] focus:outline-none';
|
||||
}
|
||||
|
||||
const { count } = value;
|
||||
if (count >= 20) {
|
||||
return 'fill-slate-200 rounded-md [rx:2px] focus:outline-none';
|
||||
} else if (count >= 10) {
|
||||
return 'fill-slate-300 rounded-md [rx:2px] focus:outline-none';
|
||||
} else if (count >= 5) {
|
||||
return 'fill-slate-400 rounded-md [rx:2px] focus:outline-none';
|
||||
} else if (count >= 3) {
|
||||
return 'fill-slate-500 rounded-md [rx:2px] focus:outline-none';
|
||||
} else {
|
||||
return 'fill-slate-600 rounded-md [rx:2px] focus:outline-none';
|
||||
}
|
||||
}}
|
||||
tooltipDataAttrs={(value: any) => {
|
||||
if (!value || !value.date) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const formattedDate = formatActivityDate(value.date);
|
||||
return {
|
||||
'data-tooltip-id': 'user-activity-tip',
|
||||
'data-tooltip-content': `${value.count} Updates - ${formattedDate}`,
|
||||
};
|
||||
}}
|
||||
/>
|
||||
|
||||
<ReactTooltip
|
||||
id="user-activity-tip"
|
||||
className="!rounded-lg !bg-slate-900 !p-1 !px-2 !text-xs"
|
||||
/>
|
||||
|
||||
<div className="mt-2 flex items-center justify-end">
|
||||
<div className="flex items-center">
|
||||
<span className="mr-2 text-xs text-slate-500">Less</span>
|
||||
{legends.map((legend) => (
|
||||
<div
|
||||
key={legend.count}
|
||||
className="flex items-center"
|
||||
data-tooltip-id="user-activity-tip"
|
||||
data-tooltip-content={`${legend.count} Updates`}
|
||||
>
|
||||
<div
|
||||
className={`h-2.5 w-2.5 ${legend.color} mr-1 rounded-sm`}
|
||||
></div>
|
||||
</div>
|
||||
))}
|
||||
<span className="ml-2 text-xs text-slate-500">More</span>
|
||||
<ReactTooltip
|
||||
id="user-activity-tip"
|
||||
className="!rounded-lg !bg-slate-900 !p-1 !px-2 !text-sm"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
88
src/components/AccountStreak/InviteFriends.tsx
Normal file
@@ -0,0 +1,88 @@
|
||||
import { Copy, Heart } from 'lucide-react';
|
||||
import { useAuth } from '../../hooks/use-auth';
|
||||
import { useCopyText } from '../../hooks/use-copy-text';
|
||||
import { cn } from '../../lib/classname';
|
||||
import { CheckIcon } from '../ReactIcons/CheckIcon';
|
||||
import { TrophyEmoji } from '../ReactIcons/TrophyEmoji.tsx';
|
||||
|
||||
type InviteFriendsProps = {
|
||||
refByUserCount: number;
|
||||
};
|
||||
|
||||
export function InviteFriends(props: InviteFriendsProps) {
|
||||
const { refByUserCount } = props;
|
||||
|
||||
const user = useAuth();
|
||||
const { copyText, isCopied } = useCopyText();
|
||||
|
||||
const referralLink = new URL(
|
||||
`/signup?rc=${user?.id}`,
|
||||
import.meta.env.DEV ? 'http://localhost:3000' : 'https://roadmap.sh',
|
||||
).toString();
|
||||
|
||||
return (
|
||||
<div className="-mx-4 mt-6 flex flex-col border-t border-dashed border-t-slate-600 px-4 pt-5 text-center text-sm">
|
||||
<p className="text-slate-500">Invite people to join roadmap.sh</p>
|
||||
|
||||
<div className="flex flex-col items-center rounded-lg bg-slate-900/40 pb-4 pt-5 my-4">
|
||||
<p className="text-xs text-slate-500">
|
||||
{refByUserCount === 0 && <>You haven't invited anyone yet.</>}
|
||||
{refByUserCount > 0 && refByUserCount < 10 && (
|
||||
<>{refByUserCount} of 10 users joined</>
|
||||
)}
|
||||
</p>
|
||||
|
||||
{refByUserCount >= 10 && <>🎉 You've invited {refByUserCount} users</>}
|
||||
|
||||
<div className="my-3 flex flex-row items-center justify-center gap-1">
|
||||
{Array.from({ length: 10 }).map((_, index) => (
|
||||
<Heart
|
||||
key={index}
|
||||
className={cn(
|
||||
'size-[23px] fill-current',
|
||||
index < refByUserCount ? 'text-yellow-300' : 'text-slate-700',
|
||||
)}
|
||||
/>
|
||||
))}
|
||||
</div>
|
||||
<p className={'mb-3 text-xs text-slate-500'}>
|
||||
Share the link below with anyone you think would benefit from using
|
||||
roadmap.sh
|
||||
</p>
|
||||
<p className="text-slate-500">
|
||||
<button
|
||||
onClick={() => {
|
||||
copyText(referralLink);
|
||||
}}
|
||||
className={cn(
|
||||
'rounded-md hover:bg-slate-500/80 hover:text-slate-100 px-3 py-1 text-xs text-slate-300 bg-slate-600',
|
||||
{
|
||||
'bg-green-500 text-black hover:text-black hover:bg-green-500': isCopied,
|
||||
},
|
||||
)}
|
||||
>
|
||||
{!isCopied ? 'Copy Invite Link' : 'Invite Link Copied'}{' '}
|
||||
{!isCopied && (
|
||||
<Copy
|
||||
className="relative -top-[1.25px] ml-1.5 inline-block size-3"
|
||||
strokeWidth={3}
|
||||
/>
|
||||
)}
|
||||
{isCopied && (
|
||||
<CheckIcon additionalClasses="relative ml-1.5 -top-[1.25px] inline-block size-3" />
|
||||
)}
|
||||
</button>
|
||||
</p>
|
||||
</div>
|
||||
|
||||
<p className="text-center text-xs">
|
||||
<a
|
||||
href="/leaderboard"
|
||||
className="text-purple-400 underline-offset-2 hover:underline"
|
||||
>
|
||||
See how you rank on the leaderboard
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
52
src/components/AccountStreak/StreakDay.tsx
Normal file
@@ -0,0 +1,52 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import { cn } from '../../lib/classname';
|
||||
import { ChevronDown } from 'lucide-react';
|
||||
|
||||
type StreakDayProps = {
|
||||
isToday?: boolean;
|
||||
isCurrentStreakDay?: boolean;
|
||||
isPreviousStreakDay?: boolean;
|
||||
isBrokenStreakDay?: boolean;
|
||||
isRemainingStreakDay?: boolean;
|
||||
dayCount: number;
|
||||
icon?: ReactNode;
|
||||
};
|
||||
|
||||
export function StreakDay(props: StreakDayProps) {
|
||||
const {
|
||||
isCurrentStreakDay,
|
||||
isPreviousStreakDay,
|
||||
isBrokenStreakDay,
|
||||
isRemainingStreakDay,
|
||||
dayCount,
|
||||
icon,
|
||||
isToday = false,
|
||||
} = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'relative flex flex-col items-center justify-center gap-1.5',
|
||||
{
|
||||
'text-red-400 opacity-40': isPreviousStreakDay,
|
||||
'text-slate-600': isRemainingStreakDay,
|
||||
'text-yellow-300': isCurrentStreakDay,
|
||||
'text-slate-400': isToday,
|
||||
},
|
||||
)}
|
||||
>
|
||||
<div
|
||||
className={cn('flex size-6 items-center justify-center rounded-full', {
|
||||
'bg-slate-700': isRemainingStreakDay,
|
||||
'border border-dashed border-slate-500 striped-bg': isToday,
|
||||
})}
|
||||
>
|
||||
{isToday ? null : icon}
|
||||
</div>
|
||||
<span className={cn('text-xs')}>{dayCount}</span>
|
||||
{isToday && (
|
||||
<ChevronDown className="absolute bottom-full left-1/2 h-3.5 w-3.5 -translate-y-[0.75px] -translate-x-1/2 transform stroke-[2.5px] text-slate-400" />
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -5,6 +5,10 @@ import { ResourceProgress } from './ResourceProgress';
|
||||
import { pageProgressMessage } from '../../stores/page';
|
||||
import { EmptyActivity } from './EmptyActivity';
|
||||
import { ActivityStream, type UserStreamActivity } from './ActivityStream';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import type { PageType } from '../CommandMenu/CommandMenu';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { ProjectProgress } from './ProjectProgress';
|
||||
|
||||
type ProgressResponse = {
|
||||
updatedAt: string;
|
||||
@@ -47,11 +51,14 @@ export type ActivityResponse = {
|
||||
};
|
||||
}[];
|
||||
activities: UserStreamActivity[];
|
||||
projects: ProjectStatusDocument[];
|
||||
};
|
||||
|
||||
export function ActivityPage() {
|
||||
const toast = useToast();
|
||||
const [activity, setActivity] = useState<ActivityResponse>();
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [projectDetails, setProjectDetails] = useState<PageType[]>([]);
|
||||
|
||||
async function loadActivity() {
|
||||
const { error, response } = await httpGet<ActivityResponse>(
|
||||
@@ -68,11 +75,29 @@ export function ActivityPage() {
|
||||
setActivity(response);
|
||||
}
|
||||
|
||||
async function loadAllProjectDetails() {
|
||||
const { error, response } = await httpGet<PageType[]>(`/pages.json`);
|
||||
|
||||
if (error) {
|
||||
toast.error(error.message || 'Something went wrong');
|
||||
return;
|
||||
}
|
||||
|
||||
if (!response) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const allProjects = response.filter((page) => page.group === 'Projects');
|
||||
setProjectDetails(allProjects);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
loadActivity().finally(() => {
|
||||
pageProgressMessage.set('');
|
||||
setIsLoading(false);
|
||||
});
|
||||
Promise.allSettled([loadActivity(), loadAllProjectDetails()]).finally(
|
||||
() => {
|
||||
pageProgressMessage.set('');
|
||||
setIsLoading(false);
|
||||
},
|
||||
);
|
||||
}, []);
|
||||
|
||||
const learningRoadmaps = activity?.learning.roadmaps || [];
|
||||
@@ -106,6 +131,17 @@ export function ActivityPage() {
|
||||
learningRoadmapsToShow.length !== 0 ||
|
||||
learningBestPracticesToShow.length !== 0;
|
||||
|
||||
const enrichedProjects = activity?.projects.map((project) => {
|
||||
const projectDetail = projectDetails.find(
|
||||
(page) => page.id === project.projectId,
|
||||
);
|
||||
|
||||
return {
|
||||
...project,
|
||||
title: projectDetail?.title || 'N/A',
|
||||
};
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
<ActivityCounters
|
||||
@@ -201,6 +237,19 @@ export function ActivityPage() {
|
||||
)}
|
||||
</div>
|
||||
|
||||
{enrichedProjects && enrichedProjects?.length > 0 && (
|
||||
<div className="mx-0 px-0 py-5 pb-0 md:-mx-10 md:px-8 md:py-8 md:pb-0">
|
||||
<h2 className="mb-3 text-xs uppercase text-gray-400">
|
||||
Your Projects
|
||||
</h2>
|
||||
<div className="grid grid-cols-1 gap-1.5 sm:grid-cols-2">
|
||||
{enrichedProjects.map((project) => (
|
||||
<ProjectProgress key={project._id} projectStatus={project} />
|
||||
))}
|
||||
</div>
|
||||
</div>
|
||||
)}
|
||||
|
||||
{hasProgress && (
|
||||
<ActivityStream activities={activity?.activities || []} />
|
||||
)}
|
||||
|
||||
57
src/components/Activity/ProjectProgress.tsx
Normal file
@@ -0,0 +1,57 @@
|
||||
import { getUser } from '../../lib/jwt';
|
||||
import { getPercentage } from '../../helper/number';
|
||||
import { ProjectProgressActions } from './ProjectProgressActions';
|
||||
import { cn } from '../../lib/classname';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import { ProjectStatus } from './ProjectStatus';
|
||||
import { ThumbsUp } from 'lucide-react';
|
||||
|
||||
type ProjectProgressType = {
|
||||
projectStatus: ProjectStatusDocument & {
|
||||
title: string;
|
||||
};
|
||||
showActions?: boolean;
|
||||
userId?: string;
|
||||
};
|
||||
|
||||
export function ProjectProgress(props: ProjectProgressType) {
|
||||
const {
|
||||
projectStatus,
|
||||
showActions = true,
|
||||
userId: defaultUserId = getUser()?.id,
|
||||
} = props;
|
||||
|
||||
const shouldShowActions =
|
||||
projectStatus.submittedAt &&
|
||||
projectStatus.submittedAt !== null &&
|
||||
showActions;
|
||||
|
||||
return (
|
||||
<div className="relative">
|
||||
<a
|
||||
className={cn(
|
||||
'group relative flex w-full items-center justify-between overflow-hidden rounded-md border border-gray-300 bg-white px-3 py-2 pr-7 text-left text-sm transition-all hover:border-gray-400',
|
||||
shouldShowActions ? '' : 'pr-3',
|
||||
)}
|
||||
href={`/projects/${projectStatus.projectId}`}
|
||||
target="_blank"
|
||||
>
|
||||
<ProjectStatus projectStatus={projectStatus} />
|
||||
<span className="ml-2 flex-grow truncate">{projectStatus?.title}</span>
|
||||
<span className="inline-flex items-center gap-1 text-xs text-gray-400">
|
||||
{projectStatus.upvotes}
|
||||
<ThumbsUp className="size-2.5 stroke-[2.5px]" />
|
||||
</span>
|
||||
</a>
|
||||
|
||||
{shouldShowActions && (
|
||||
<div className="absolute right-2 top-0 flex h-full items-center">
|
||||
<ProjectProgressActions
|
||||
userId={defaultUserId!}
|
||||
projectId={projectStatus.projectId}
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
68
src/components/Activity/ProjectProgressActions.tsx
Normal file
@@ -0,0 +1,68 @@
|
||||
import { MoreVertical, X } from 'lucide-react';
|
||||
import { useRef, useState } from 'react';
|
||||
import { useOutsideClick } from '../../hooks/use-outside-click';
|
||||
import { useKeydown } from '../../hooks/use-keydown';
|
||||
import { cn } from '../../lib/classname';
|
||||
import { useCopyText } from '../../hooks/use-copy-text';
|
||||
import { CheckIcon } from '../ReactIcons/CheckIcon';
|
||||
import { ShareIcon } from '../ReactIcons/ShareIcon';
|
||||
|
||||
type ProjectProgressActionsType = {
|
||||
userId: string;
|
||||
projectId: string;
|
||||
};
|
||||
|
||||
export function ProjectProgressActions(props: ProjectProgressActionsType) {
|
||||
const { userId, projectId } = props;
|
||||
|
||||
const dropdownRef = useRef<HTMLDivElement>(null);
|
||||
const [isOpen, setIsOpen] = useState(false);
|
||||
|
||||
const { copyText, isCopied } = useCopyText();
|
||||
|
||||
const projectSolutionUrl = `${import.meta.env.DEV ? 'http://localhost:3000' : 'https://roadmap.sh'}/projects/${projectId}/solutions?u=${userId}`;
|
||||
|
||||
useOutsideClick(dropdownRef, () => {
|
||||
setIsOpen(false);
|
||||
});
|
||||
|
||||
useKeydown('Escape', () => {
|
||||
setIsOpen(false);
|
||||
});
|
||||
|
||||
return (
|
||||
<div className="relative h-full" ref={dropdownRef}>
|
||||
<button
|
||||
className="h-full text-gray-400 hover:text-gray-700"
|
||||
onClick={() => setIsOpen(!isOpen)}
|
||||
>
|
||||
<MoreVertical size={16} />
|
||||
</button>
|
||||
|
||||
{isOpen && (
|
||||
<div className="absolute right-0 top-8 z-10 w-48 overflow-hidden rounded-md border border-gray-200 bg-white shadow-lg">
|
||||
<button
|
||||
className={cn(
|
||||
'flex w-full items-center gap-1.5 p-2 text-xs font-medium hover:bg-gray-100 disabled:cursor-not-allowed disabled:opacity-70 sm:text-sm',
|
||||
isCopied ? 'text-green-500' : 'text-gray-500 hover:text-black',
|
||||
)}
|
||||
onClick={() => {
|
||||
copyText(projectSolutionUrl);
|
||||
}}
|
||||
>
|
||||
{isCopied ? (
|
||||
<>
|
||||
<CheckIcon additionalClasses="h-3.5 w-3.5" /> Link Copied
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<ShareIcon className="h-3.5 w-3.5 stroke-[2.5px]" /> Share
|
||||
Solution
|
||||
</>
|
||||
)}
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
24
src/components/Activity/ProjectStatus.tsx
Normal file
@@ -0,0 +1,24 @@
|
||||
import { CircleDashed } from 'lucide-react';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import { CheckIcon } from '../ReactIcons/CheckIcon';
|
||||
|
||||
type ProjectStatusType = {
|
||||
projectStatus: ProjectStatusDocument & {
|
||||
title: string;
|
||||
};
|
||||
};
|
||||
|
||||
export function ProjectStatus(props: ProjectStatusType) {
|
||||
const { projectStatus } = props;
|
||||
|
||||
const { submittedAt, repositoryUrl } = projectStatus;
|
||||
const status = submittedAt && repositoryUrl ? 'submitted' : 'started';
|
||||
|
||||
if (status === 'submitted') {
|
||||
return <CheckIcon additionalClasses="size-3 text-gray-500 shrink-0" />;
|
||||
}
|
||||
|
||||
return (
|
||||
<CircleDashed className="size-3 shrink-0 stroke-[2.5px] text-gray-400" />
|
||||
);
|
||||
}
|
||||
227
src/components/AdvertiseForm.tsx
Normal file
@@ -0,0 +1,227 @@
|
||||
import React, { useState } from 'react';
|
||||
import { CheckIcon } from './ReactIcons/CheckIcon.tsx';
|
||||
import { pageProgressMessage } from '../stores/page.ts';
|
||||
import { httpPost } from '../lib/http.ts';
|
||||
|
||||
type InputProps = {
|
||||
label: string;
|
||||
name: string;
|
||||
type: string;
|
||||
value: string;
|
||||
onChange: (
|
||||
e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
|
||||
) => void;
|
||||
required?: boolean;
|
||||
rows?: number;
|
||||
};
|
||||
|
||||
function Input(props: InputProps) {
|
||||
const { label, name, type, value, onChange, required, rows } = props;
|
||||
return (
|
||||
<div className="mb-4">
|
||||
<label htmlFor={name} className="block text-sm font-medium text-gray-700">
|
||||
{label} {required && <span className="text-red-500">*</span>}
|
||||
</label>
|
||||
{type === 'textarea' ? (
|
||||
<textarea
|
||||
placeholder={label}
|
||||
id={name}
|
||||
name={name}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
rows={rows}
|
||||
className="mt-1 block w-full rounded-md border border-gray-300 p-2 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
|
||||
autoComplete="off"
|
||||
data-1p-ignore=""
|
||||
data-form-type="other"
|
||||
data-lpignore="true"
|
||||
></textarea>
|
||||
) : (
|
||||
<input
|
||||
type={type}
|
||||
id={name}
|
||||
placeholder={label}
|
||||
name={name}
|
||||
value={value}
|
||||
onChange={onChange}
|
||||
required={required}
|
||||
className="mt-1 block w-full rounded-md border border-gray-300 p-2 shadow-sm focus:border-indigo-500 focus:ring-indigo-500 sm:text-sm"
|
||||
autoComplete="off"
|
||||
data-1p-ignore=""
|
||||
data-form-type="other"
|
||||
data-lpignore="true"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function AdvertiseForm() {
|
||||
const [status, setStatus] = useState<'submitting' | 'submitted'>();
|
||||
const [error, setError] = useState<string | null>(null);
|
||||
|
||||
const [formData, setFormData] = useState({
|
||||
firstName: '',
|
||||
lastName: '',
|
||||
title: '',
|
||||
company: '',
|
||||
email: '',
|
||||
phone: '',
|
||||
message: '',
|
||||
updates: false,
|
||||
});
|
||||
|
||||
const handleInputChange = (
|
||||
e: React.ChangeEvent<HTMLInputElement | HTMLTextAreaElement>,
|
||||
) => {
|
||||
const { name, value, type, checked } = e.target as any;
|
||||
setFormData({
|
||||
...formData,
|
||||
[name]: type === 'checkbox' ? checked : value,
|
||||
});
|
||||
};
|
||||
|
||||
async function handleSubmit(e: React.FormEvent) {
|
||||
e.preventDefault();
|
||||
|
||||
pageProgressMessage.set('Please wait');
|
||||
|
||||
// Placeholder function to send data
|
||||
console.log('Form data:', formData);
|
||||
|
||||
const { response, error } = await httpPost(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-advertise`,
|
||||
formData,
|
||||
);
|
||||
if (!response || error) {
|
||||
pageProgressMessage.set('');
|
||||
setError(error?.message || 'Something went wrong. Please try again.');
|
||||
return;
|
||||
}
|
||||
|
||||
setStatus('submitted');
|
||||
pageProgressMessage.set('');
|
||||
}
|
||||
|
||||
if (status === 'submitted') {
|
||||
return (
|
||||
<div className="flex flex-col items-center justify-center rounded-md border bg-gray-50 p-12 text-center">
|
||||
<CheckIcon additionalClasses="h-12 w-12 text-green-500 mb-5" />
|
||||
<h2 className="text-balance text-xl font-semibold text-gray-900">
|
||||
Thank you for your interest in advertising with roadmap.sh
|
||||
</h2>
|
||||
<p className="mt-2 text-sm text-gray-500">
|
||||
We will get back to you soon.
|
||||
</p>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<>
|
||||
<h2 className="mb-5 text-balance text-2xl font-bold">
|
||||
Ready to learn more? Fill out the form below to get started!
|
||||
</h2>
|
||||
{error && (
|
||||
<div className="relative mb-4 rounded border border-red-400 bg-red-100 px-4 py-3 text-red-700">
|
||||
{error}
|
||||
</div>
|
||||
)}
|
||||
<form className="mb-5" onSubmit={handleSubmit}>
|
||||
<div className="grid gap-0 sm:grid-cols-2 sm:gap-4">
|
||||
<Input
|
||||
label="First Name"
|
||||
name="firstName"
|
||||
type="text"
|
||||
value={formData.firstName}
|
||||
onChange={handleInputChange}
|
||||
required
|
||||
/>
|
||||
<Input
|
||||
label="Last Name"
|
||||
name="lastName"
|
||||
type="text"
|
||||
value={formData.lastName}
|
||||
onChange={handleInputChange}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="grid gap-0 sm:grid-cols-2 sm:gap-4">
|
||||
<Input
|
||||
label="Title"
|
||||
name="title"
|
||||
type="text"
|
||||
value={formData.title}
|
||||
onChange={handleInputChange}
|
||||
required
|
||||
/>
|
||||
|
||||
<Input
|
||||
label="Company"
|
||||
name="company"
|
||||
type="text"
|
||||
value={formData.company}
|
||||
onChange={handleInputChange}
|
||||
required
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="grid gap-0 sm:grid-cols-2 sm:gap-4">
|
||||
<Input
|
||||
label="Email"
|
||||
name="email"
|
||||
type="email"
|
||||
value={formData.email}
|
||||
onChange={handleInputChange}
|
||||
required
|
||||
/>
|
||||
|
||||
<Input
|
||||
label="Phone"
|
||||
name="phone"
|
||||
type="tel"
|
||||
value={formData.phone}
|
||||
onChange={handleInputChange}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<Input
|
||||
label="Message (Optional)"
|
||||
name="message"
|
||||
type="textarea"
|
||||
value={formData.message}
|
||||
onChange={handleInputChange}
|
||||
rows={4}
|
||||
/>
|
||||
<div className="mb-4 flex items-start">
|
||||
<div className="flex h-5 items-center">
|
||||
<input
|
||||
id="updates"
|
||||
name="updates"
|
||||
type="checkbox"
|
||||
checked={formData.updates}
|
||||
onChange={handleInputChange}
|
||||
className="h-4 w-4 rounded border-gray-300 text-indigo-600 focus:ring-indigo-500"
|
||||
/>
|
||||
</div>
|
||||
<div className="ml-3 text-sm">
|
||||
<label htmlFor="updates" className="font-medium text-gray-700">
|
||||
I want to receive occasional updates about new products or
|
||||
advertising opportunities with roadmap.sh
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<button
|
||||
type="submit"
|
||||
className="flex justify-center rounded-md border border-transparent bg-indigo-600 px-4 py-2 text-sm font-medium text-white shadow-sm hover:bg-indigo-700 focus:outline-none focus:ring-2 focus:ring-indigo-500 focus:ring-offset-2"
|
||||
>
|
||||
Send
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
</>
|
||||
);
|
||||
}
|
||||
@@ -1,6 +1,6 @@
|
||||
import Cookies from 'js-cookie';
|
||||
import type { FormEvent } from 'react';
|
||||
import { useState } from 'react';
|
||||
import { useId, useState } from 'react';
|
||||
import { httpPost } from '../../lib/http';
|
||||
import { TOKEN_COOKIE_NAME, setAuthToken } from '../../lib/jwt';
|
||||
|
||||
@@ -53,12 +53,16 @@ export function EmailLoginForm(props: EmailLoginFormProps) {
|
||||
setError(error?.message || 'Something went wrong. Please try again later.');
|
||||
};
|
||||
|
||||
const emailFieldId = `form:${useId()}`;
|
||||
const passwordFieldId = `form:${useId()}`;
|
||||
|
||||
return (
|
||||
<form className="w-full" onSubmit={handleFormSubmit}>
|
||||
<label htmlFor="email" className="sr-only">
|
||||
<label htmlFor={emailFieldId} className="sr-only">
|
||||
Email address
|
||||
</label>
|
||||
<input
|
||||
id={emailFieldId}
|
||||
name="email"
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
@@ -68,10 +72,11 @@ export function EmailLoginForm(props: EmailLoginFormProps) {
|
||||
value={email}
|
||||
onInput={(e) => setEmail(String((e.target as any).value))}
|
||||
/>
|
||||
<label htmlFor="password" className="sr-only">
|
||||
<label htmlFor={passwordFieldId} className="sr-only">
|
||||
Password
|
||||
</label>
|
||||
<input
|
||||
id={passwordFieldId}
|
||||
name="password"
|
||||
type="password"
|
||||
autoComplete="current-password"
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { type FormEvent, useState } from 'react';
|
||||
import { type FormEvent, useEffect, useState } from 'react';
|
||||
import { httpPost } from '../../lib/http';
|
||||
import { deleteUrlParam, getUrlParams } from '../../lib/browser';
|
||||
import { isLoggedIn, setAIReferralCode } from '../../lib/jwt';
|
||||
|
||||
type EmailSignupFormProps = {
|
||||
isDisabled?: boolean;
|
||||
@@ -9,6 +11,9 @@ type EmailSignupFormProps = {
|
||||
export function EmailSignupForm(props: EmailSignupFormProps) {
|
||||
const { isDisabled, setIsDisabled } = props;
|
||||
|
||||
const { rc: referralCode } = getUrlParams() as {
|
||||
rc?: string;
|
||||
};
|
||||
const [email, setEmail] = useState('');
|
||||
const [password, setPassword] = useState('');
|
||||
const [name, setName] = useState('');
|
||||
@@ -47,6 +52,16 @@ export function EmailSignupForm(props: EmailSignupFormProps) {
|
||||
)}`;
|
||||
};
|
||||
|
||||
useEffect(() => {
|
||||
if (!referralCode || isLoggedIn()) {
|
||||
deleteUrlParam('rc');
|
||||
return;
|
||||
}
|
||||
|
||||
setAIReferralCode(referralCode);
|
||||
deleteUrlParam('rc');
|
||||
}, []);
|
||||
|
||||
return (
|
||||
<form className="flex w-full flex-col gap-2" onSubmit={onSubmit}>
|
||||
<label htmlFor="name" className="sr-only">
|
||||
@@ -72,7 +87,7 @@ export function EmailSignupForm(props: EmailSignupFormProps) {
|
||||
type="email"
|
||||
autoComplete="email"
|
||||
required
|
||||
className="block w-full rounded-lg border border-gray-300 px-3 py-2 outline-none placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
|
||||
className="block w-full rounded-lg border border-gray-300 px-3 py-2 outline-none placeholder:text-gray-400 focus:ring-2 focus:ring-black focus:ring-offset-1"
|
||||
placeholder="Email Address"
|
||||
value={email}
|
||||
onInput={(e) => setEmail(String((e.target as any).value))}
|
||||
|
||||
@@ -48,6 +48,7 @@ function handleGuest() {
|
||||
'/team/members',
|
||||
'/team/member',
|
||||
'/team/settings',
|
||||
'/dashboard',
|
||||
];
|
||||
|
||||
showHideAuthElements('hide');
|
||||
|
||||
45
src/components/Changelog/ChangelogItem.astro
Normal file
@@ -0,0 +1,45 @@
|
||||
---
|
||||
import { DateTime } from 'luxon';
|
||||
import type { ChangelogFileType } from '../../lib/changelog';
|
||||
import ChangelogImages from '../ChangelogImages';
|
||||
|
||||
interface Props {
|
||||
changelog: ChangelogFileType;
|
||||
}
|
||||
|
||||
const { changelog } = Astro.props;
|
||||
const { frontmatter } = changelog;
|
||||
|
||||
const formattedDate = DateTime.fromISO(frontmatter.date).toFormat(
|
||||
'dd LLL, yyyy',
|
||||
);
|
||||
---
|
||||
|
||||
<div class='relative mb-6' id={changelog.id}>
|
||||
<span
|
||||
class='absolute -left-6 top-2 h-2 w-2 flex-shrink-0 rounded-full bg-gray-300'
|
||||
></span>
|
||||
|
||||
<div class='mb-3 flex flex-col sm:flex-row items-start sm:items-center gap-0.5 sm:gap-2'>
|
||||
<span class='flex-shrink-0 text-xs tracking-wide text-gray-400'>
|
||||
{formattedDate}
|
||||
</span>
|
||||
<span class='truncate text-base font-medium text-balance'>
|
||||
{changelog.frontmatter.title}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div class='rounded-xl border bg-white p-6'>
|
||||
{frontmatter.images && (
|
||||
<div class='mb-5 hidden sm:block -mx-6'>
|
||||
<ChangelogImages images={frontmatter.images} client:load />
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div
|
||||
class='prose prose-sm prose-h2:mt-3 prose-h2:text-lg prose-h2:font-medium prose-p:mb-0 prose-blockquote:font-normal prose-blockquote:text-gray-500 prose-ul:my-0 prose-ul:rounded-lg prose-ul:bg-gray-100 prose-ul:px-4 prose-ul:py-4 prose-ul:pl-7 prose-img:mt-0 prose-img:rounded-lg [&>blockquote>p]:mt-0 [&>ul>li]:my-0 [&>ul>li]:mb-1 [&>ul]:mt-3'
|
||||
>
|
||||
<changelog.Content />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
33
src/components/Changelog/ChangelogLaunch.astro
Normal file
@@ -0,0 +1,33 @@
|
||||
---
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
const formattedDate = DateTime.fromISO('2024-09-13').toFormat('dd LLL, yyyy');
|
||||
---
|
||||
|
||||
<div class='relative mb-6'>
|
||||
<span
|
||||
class='absolute -left-6 top-2 h-2 w-2 flex-shrink-0 rounded-full bg-gray-300'
|
||||
></span>
|
||||
|
||||
<div
|
||||
class='mb-3 flex flex-col items-start gap-0.5 sm:flex-row sm:items-center sm:gap-2'
|
||||
>
|
||||
<span class='flex-shrink-0 text-xs tracking-wide text-gray-400'>
|
||||
{formattedDate}
|
||||
</span>
|
||||
<span class='truncate text-balance text-base font-medium'>
|
||||
Changelog page is launched
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<div
|
||||
class='flex flex-col items-center justify-center gap-2 sm:gap-2 rounded-xl border bg-white px-8 py-12 text-center'
|
||||
>
|
||||
<img src='/images/gifs/rocket.gif' class='w-[70px] mb-4' />
|
||||
<h2 class='text-balance text-xl font-medium'>Changelog page is launched</h2>
|
||||
<p class='font-normal text-balance text-gray-400 text-sm sm:text-base'>
|
||||
We will be sharing a selected list of updates, improvements, and fixes made to
|
||||
the website. Stay tuned!
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
64
src/components/ChangelogBanner.astro
Normal file
@@ -0,0 +1,64 @@
|
||||
---
|
||||
import { getAllChangelogs } from '../lib/changelog';
|
||||
import { DateTime } from 'luxon';
|
||||
|
||||
const allChangelogs = await getAllChangelogs();
|
||||
const top10Changelogs = allChangelogs.slice(0, 10);
|
||||
---
|
||||
|
||||
<div class='border-t bg-white py-6 text-left sm:py-16 sm:text-center'>
|
||||
<div class='container !max-w-[650px]'>
|
||||
<p class='text-2xl font-bold sm:text-5xl'>
|
||||
<img
|
||||
src='/images/gifs/rocket.gif'
|
||||
alt='Rocket'
|
||||
class='mr-2 hidden sm:inline h-12 w-12'
|
||||
/>
|
||||
Actively Maintained
|
||||
</p>
|
||||
<p class='mt-1 mb-2 sm:my-2 text-sm leading-relaxed text-gray-600 sm:my-5 sm:text-lg'>
|
||||
We are always improving our content, adding new resources and adding
|
||||
features to enhance your learning experience.
|
||||
</p>
|
||||
|
||||
<div class='relative mt-2 sm:mt-8 text-left'>
|
||||
<div
|
||||
class='absolute inset-y-0 left-[120px] hidden w-px -translate-x-[0.5px] translate-x-[5.75px] bg-gray-300 sm:block'
|
||||
>
|
||||
</div>
|
||||
<ul class='relative flex flex-col gap-4 py-4'>
|
||||
{
|
||||
top10Changelogs.map((changelog) => {
|
||||
const formattedDate = DateTime.fromISO(
|
||||
changelog.frontmatter.date,
|
||||
).toFormat('dd LLL, yyyy');
|
||||
return (
|
||||
<li class='relative'>
|
||||
<a
|
||||
href={`/changelog#${changelog.id}`}
|
||||
class='flex flex-col sm:flex-row items-start sm:items-center'
|
||||
>
|
||||
<span class='sm:w-[120px] flex-shrink-0 pr-0 sm:pr-4 text-right text-sm tracking-wide text-gray-400'>
|
||||
{formattedDate}
|
||||
</span>
|
||||
<span class='h-3 w-3 flex-shrink-0 rounded-full bg-gray-300 hidden sm:block' />
|
||||
<span class='text-balance sm:pl-8 text-base font-medium text-gray-900'>
|
||||
{changelog.frontmatter.title}
|
||||
</span>
|
||||
</a>
|
||||
</li>
|
||||
);
|
||||
})
|
||||
}
|
||||
</ul>
|
||||
</div>
|
||||
<div class='mt-2 sm:mt-8 text-left sm:text-center'>
|
||||
<a
|
||||
href='/changelog'
|
||||
class='inline-block text-sm sm:text-base rounded-lg sm:rounded-full bg-gray-800 px-4 sm:px-6 py-2 text-white transition-colors hover:bg-gray-700'
|
||||
>
|
||||
View Full Changelog
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
108
src/components/ChangelogImages.tsx
Normal file
@@ -0,0 +1,108 @@
|
||||
import { ChevronLeft, ChevronRight, MoveRight } from 'lucide-react';
|
||||
import React, { useState, useEffect, useCallback } from 'react';
|
||||
|
||||
interface ChangelogImagesProps {
|
||||
images: { [key: string]: string };
|
||||
}
|
||||
|
||||
const ChangelogImages: React.FC<ChangelogImagesProps> = ({ images }) => {
|
||||
const [enlargedImage, setEnlargedImage] = useState<string | null>(null);
|
||||
const imageArray = Object.entries(images);
|
||||
|
||||
const handleImageClick = (src: string) => {
|
||||
setEnlargedImage(src);
|
||||
};
|
||||
|
||||
const handleCloseEnlarged = () => {
|
||||
setEnlargedImage(null);
|
||||
};
|
||||
|
||||
const handleNavigation = useCallback(
|
||||
(direction: 'prev' | 'next') => {
|
||||
if (!enlargedImage) return;
|
||||
const currentIndex = imageArray.findIndex(
|
||||
([_, src]) => src === enlargedImage,
|
||||
);
|
||||
let newIndex;
|
||||
if (direction === 'prev') {
|
||||
newIndex = currentIndex > 0 ? currentIndex - 1 : imageArray.length - 1;
|
||||
} else {
|
||||
newIndex = currentIndex < imageArray.length - 1 ? currentIndex + 1 : 0;
|
||||
}
|
||||
setEnlargedImage(imageArray[newIndex][1]);
|
||||
},
|
||||
[enlargedImage, imageArray],
|
||||
);
|
||||
|
||||
useEffect(() => {
|
||||
const handleKeyDown = (event: KeyboardEvent) => {
|
||||
if (event.key === 'Escape') {
|
||||
handleCloseEnlarged();
|
||||
} else if (event.key === 'ArrowLeft') {
|
||||
handleNavigation('prev');
|
||||
} else if (event.key === 'ArrowRight') {
|
||||
handleNavigation('next');
|
||||
}
|
||||
};
|
||||
|
||||
window.addEventListener('keydown', handleKeyDown);
|
||||
return () => window.removeEventListener('keydown', handleKeyDown);
|
||||
}, [handleNavigation]);
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="flex gap-3 px-6 pb-1">
|
||||
{imageArray.map(([title, src]) => (
|
||||
<div
|
||||
key={title}
|
||||
className="group relative cursor-pointer overflow-hidden rounded-lg transition hover:scale-105"
|
||||
onClick={() => handleImageClick(src)}
|
||||
>
|
||||
<img
|
||||
src={src}
|
||||
alt={title}
|
||||
className="h-[120px] w-full object-cover object-left-top"
|
||||
/>
|
||||
<span className="absolute group-hover:opacity-0 inset-0 bg-gradient-to-b from-transparent to-black/40" />
|
||||
|
||||
<div className="absolute font-medium inset-x-0 top-full group-hover:inset-y-0 flex items-center justify-center px-2 text-center text-xs bg-black/50 text-white py-0.5 opacity-0 group-hover:opacity-100 cursor-pointer">
|
||||
<span className='bg-black py-0.5 rounded px-1'>{title}</span>
|
||||
</div>
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
{enlargedImage && (
|
||||
<div
|
||||
className="fixed inset-0 z-[999] flex items-center justify-center bg-black bg-opacity-75"
|
||||
onClick={handleCloseEnlarged}
|
||||
>
|
||||
<img
|
||||
src={enlargedImage}
|
||||
alt="Enlarged view"
|
||||
className="max-h-[90%] max-w-[90%] rounded-xl object-contain"
|
||||
/>
|
||||
<button
|
||||
className="absolute left-4 top-1/2 -translate-y-1/2 transform rounded-full bg-white hover:bg-opacity-100 bg-opacity-50 p-2"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
handleNavigation('prev');
|
||||
}}
|
||||
>
|
||||
<ChevronLeft size={24} />
|
||||
</button>
|
||||
<button
|
||||
className="absolute right-4 top-1/2 -translate-y-1/2 transform rounded-full bg-white hover:bg-opacity-100 bg-opacity-50 p-2"
|
||||
onClick={(e) => {
|
||||
e.stopPropagation();
|
||||
handleNavigation('next');
|
||||
}}
|
||||
>
|
||||
<ChevronRight size={24} />
|
||||
</button>
|
||||
</div>
|
||||
)}
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default ChangelogImages;
|
||||
@@ -9,28 +9,31 @@ export function ContentConfirmationModal(props: ContentConfirmationModalProps) {
|
||||
const { onClose, onClick } = props;
|
||||
|
||||
return (
|
||||
<Modal onClose={onClose}>
|
||||
<Modal onClose={onClose} wrapperClassName="max-w-lg">
|
||||
<div className="p-4">
|
||||
<h2 className="text-lg font-semibold">Roadmap Content</h2>
|
||||
<h2 className="text-lg font-semibold">
|
||||
Copy Node Details and Resources?
|
||||
</h2>
|
||||
<p className="balanc text-gray-600">
|
||||
Do you want to copy the content of this roadmap?
|
||||
This will just copy the roadmap in your team. Would you like to copy
|
||||
the resource links and node details as well?
|
||||
</p>
|
||||
<div className="mt-4 grid grid-cols-2 gap-2">
|
||||
<button
|
||||
className="rounded-lg border p-2.5 font-medium"
|
||||
className="rounded-lg border p-2.5 font-normal"
|
||||
onClick={() => {
|
||||
onClick(false);
|
||||
}}
|
||||
>
|
||||
No
|
||||
No, copy roadmap only
|
||||
</button>
|
||||
<button
|
||||
className="rounded-lg border bg-black p-2.5 font-medium text-white hover:opacity-80"
|
||||
className="rounded-lg border bg-black p-2.5 font-normal text-white hover:opacity-80"
|
||||
onClick={() => {
|
||||
onClick(true);
|
||||
}}
|
||||
>
|
||||
Yes
|
||||
Yes, also copy resources
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -122,6 +122,7 @@ export function CustomRoadmap(props: CustomRoadmapProps) {
|
||||
{!isEmbed && <RoadmapHeader />}
|
||||
<FlowRoadmapRenderer isEmbed={isEmbed} roadmap={roadmap!} />
|
||||
<TopicDetail
|
||||
resourceId={roadmap!._id}
|
||||
resourceTitle={roadmap!.title}
|
||||
resourceType="roadmap"
|
||||
isEmbed={isEmbed}
|
||||
|
||||
@@ -10,6 +10,7 @@ import { showLoginPopup } from '../../lib/popup.ts';
|
||||
import { isLoggedIn } from '../../lib/jwt.ts';
|
||||
import { useState } from 'react';
|
||||
import { CreateRoadmapModal } from './CreateRoadmap/CreateRoadmapModal.tsx';
|
||||
import { RoadmapAlert } from '../RoadmapAlert.tsx';
|
||||
|
||||
export function CustomRoadmapAlert() {
|
||||
const [isCreatingRoadmap, setIsCreatingRoadmap] = useState(false);
|
||||
@@ -23,33 +24,18 @@ export function CustomRoadmapAlert() {
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<div className="relative mb-5 mt-0 rounded-md border border-yellow-500 bg-yellow-100 p-2 sm:-mt-6 sm:mb-7 sm:p-2.5">
|
||||
<p className="mb-2.5 mt-2 text-sm text-yellow-800 sm:mb-1.5 sm:mt-1 sm:text-base">
|
||||
This is a custom roadmap made by a community member and is not
|
||||
verified by <span className="font-semibold">roadmap.sh</span>
|
||||
</p>
|
||||
<div className="flex flex-col items-start gap-2 sm:flex-row sm:items-center">
|
||||
<a
|
||||
href="/roadmaps"
|
||||
className="inline-flex items-center gap-1.5 text-sm font-semibold text-yellow-700 underline-offset-2 hover:underline"
|
||||
>
|
||||
<BadgeCheck className="h-4 w-4 stroke-[2.5]" />
|
||||
Visit Official Roadmaps
|
||||
</a>
|
||||
<span className="hidden font-black text-yellow-700 sm:block">
|
||||
·
|
||||
</span>
|
||||
<a
|
||||
href="/community"
|
||||
className="inline-flex items-center gap-1.5 text-sm font-semibold text-yellow-700 underline-offset-2 hover:underline"
|
||||
>
|
||||
<HeartHandshake className="h-4 w-4 stroke-[2.5]" />
|
||||
More Community Roadmaps
|
||||
</a>
|
||||
</div>
|
||||
|
||||
<MessageCircleHeart className="absolute bottom-2 right-2 hidden h-12 w-12 text-yellow-500 opacity-50 sm:block" />
|
||||
</div>
|
||||
<RoadmapAlert
|
||||
title="Community Roadmaps"
|
||||
description={
|
||||
<>
|
||||
This is a custom roadmap made by a community member and is not
|
||||
verified by <span className="font-semibold">roadmap.sh</span>
|
||||
</>
|
||||
}
|
||||
floatingIcon={MessageCircleHeart}
|
||||
className="mb-5 mt-0 sm:-mt-6 sm:mb-7"
|
||||
/>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
91
src/components/Dashboard/DashboardAiRoadmaps.tsx
Normal file
@@ -0,0 +1,91 @@
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
import { DashboardCustomProgressCard } from './DashboardCustomProgressCard';
|
||||
import { DashboardCardLink } from './DashboardCardLink';
|
||||
import { useState } from 'react';
|
||||
import { CreateRoadmapModal } from '../CustomRoadmap/CreateRoadmap/CreateRoadmapModal';
|
||||
import { Simulate } from 'react-dom/test-utils';
|
||||
import {
|
||||
ArrowUpRight,
|
||||
Bot,
|
||||
BrainCircuit,
|
||||
Map,
|
||||
PencilRuler,
|
||||
} from 'lucide-react';
|
||||
|
||||
type DashboardAiRoadmapsProps = {
|
||||
roadmaps: {
|
||||
id: string;
|
||||
title: string;
|
||||
slug: string;
|
||||
}[];
|
||||
isLoading?: boolean;
|
||||
};
|
||||
|
||||
export function DashboardAiRoadmaps(props: DashboardAiRoadmapsProps) {
|
||||
const { roadmaps, isLoading = false } = props;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="mb-2 mt-6 flex items-center justify-between gap-2">
|
||||
<h2 className="text-xs uppercase text-gray-400">
|
||||
My AI Roadmaps
|
||||
</h2>
|
||||
|
||||
<a
|
||||
href="/ai/explore"
|
||||
className="rounded-full bg-gray-200 px-2.5 py-0.5 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
|
||||
>
|
||||
AI Generated Roadmaps
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{!isLoading && roadmaps.length === 0 && (
|
||||
<DashboardCardLink
|
||||
className="mt-0"
|
||||
icon={BrainCircuit}
|
||||
href="/ai"
|
||||
title="Generate Roadmaps with AI"
|
||||
description="You can generate your own roadmap with AI"
|
||||
/>
|
||||
)}
|
||||
|
||||
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-3">
|
||||
{isLoading && (
|
||||
<>
|
||||
{Array.from({ length: 9 }).map((_, index) => (
|
||||
<RoadmapCardSkeleton key={index} />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
||||
{!isLoading && roadmaps.length > 0 && (
|
||||
<>
|
||||
{roadmaps.map((roadmap) => (
|
||||
<a
|
||||
href={`/ai/${roadmap.slug}`}
|
||||
className="relative truncate rounded-md border bg-white p-2.5 text-left text-sm shadow-sm hover:border-gray-400 hover:bg-gray-50"
|
||||
>
|
||||
{roadmap.title}
|
||||
</a>
|
||||
))}
|
||||
|
||||
<a
|
||||
className="flex items-center justify-center rounded-lg border border-dashed border-gray-300 bg-white p-2.5 text-sm font-medium text-gray-500 hover:bg-gray-50 hover:text-gray-600"
|
||||
href={'/ai'}
|
||||
>
|
||||
+ Generate New
|
||||
</a>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
type CustomProgressCardSkeletonProps = {};
|
||||
|
||||
function RoadmapCardSkeleton(props: CustomProgressCardSkeletonProps) {
|
||||
return (
|
||||
<div className="h-[42px] w-full animate-pulse rounded-md bg-gray-200" />
|
||||
);
|
||||
}
|
||||
36
src/components/Dashboard/DashboardBookmarkCard.tsx
Normal file
@@ -0,0 +1,36 @@
|
||||
import { Bookmark } from 'lucide-react';
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
|
||||
type DashboardBookmarkCardProps = {
|
||||
bookmark: UserProgress;
|
||||
};
|
||||
|
||||
export function DashboardBookmarkCard(props: DashboardBookmarkCardProps) {
|
||||
const {
|
||||
resourceType,
|
||||
resourceId,
|
||||
resourceTitle,
|
||||
roadmapSlug,
|
||||
isCustomResource,
|
||||
} = props.bookmark;
|
||||
|
||||
let url =
|
||||
resourceType === 'roadmap'
|
||||
? `/${resourceId}`
|
||||
: `/best-practices/${resourceId}`;
|
||||
|
||||
if (isCustomResource) {
|
||||
url = `/r/${roadmapSlug}`;
|
||||
}
|
||||
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
key={resourceId}
|
||||
className="group relative flex flex-row items-center gap-2 rounded-md border border-gray-300 bg-white px-1.5 py-2 text-left text-sm transition-all hover:border-gray-400"
|
||||
>
|
||||
<Bookmark className="size-4 fill-current text-gray-300" />
|
||||
<h4 className="truncate text-gray-900">{resourceTitle}</h4>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
29
src/components/Dashboard/DashboardCardLink.tsx
Normal file
@@ -0,0 +1,29 @@
|
||||
import { ArrowUpRight, type LucideIcon } from 'lucide-react';
|
||||
import { cn } from '../../lib/classname';
|
||||
|
||||
type DashboardCardLinkProps = {
|
||||
href: string;
|
||||
title: string;
|
||||
icon: LucideIcon;
|
||||
description: string;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
export function DashboardCardLink(props: DashboardCardLinkProps) {
|
||||
const { href, title, description, icon: Icon, className } = props;
|
||||
|
||||
return (
|
||||
<a
|
||||
className={cn(
|
||||
'relative mt-4 flex min-h-[220px] flex-col justify-end rounded-lg border border-gray-300 bg-gradient-to-br from-white to-gray-50 py-5 px-6 hover:border-gray-400 hover:from-white hover:to-gray-100',
|
||||
className,
|
||||
)}
|
||||
href={href}
|
||||
>
|
||||
<Icon className="mb-4 size-10 text-gray-300" strokeWidth={1.25} />
|
||||
<h4 className="text-xl font-semibold tracking-wide">{title}</h4>
|
||||
<p className="mt-1 text-gray-500">{description}</p>
|
||||
<ArrowUpRight className="absolute right-3 top-3 size-4" />
|
||||
</a>
|
||||
);
|
||||
}
|
||||
64
src/components/Dashboard/DashboardCustomProgressCard.tsx
Normal file
@@ -0,0 +1,64 @@
|
||||
import { getPercentage } from '../../helper/number';
|
||||
import { getRelativeTimeString } from '../../lib/date';
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
|
||||
type DashboardCustomProgressCardProps = {
|
||||
progress: UserProgress;
|
||||
};
|
||||
|
||||
export function DashboardCustomProgressCard(props: DashboardCustomProgressCardProps) {
|
||||
const { progress } = props;
|
||||
|
||||
const {
|
||||
resourceType,
|
||||
resourceId,
|
||||
resourceTitle,
|
||||
total: totalCount,
|
||||
done: doneCount,
|
||||
skipped: skippedCount,
|
||||
roadmapSlug,
|
||||
isCustomResource,
|
||||
updatedAt,
|
||||
} = progress;
|
||||
|
||||
let url =
|
||||
resourceType === 'roadmap'
|
||||
? `/${resourceId}`
|
||||
: `/best-practices/${resourceId}`;
|
||||
|
||||
if (isCustomResource) {
|
||||
url = `/r/${roadmapSlug}`;
|
||||
}
|
||||
|
||||
const totalMarked = doneCount + skippedCount;
|
||||
const progressPercentage = getPercentage(totalMarked, totalCount);
|
||||
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
className="group relative flex min-h-[80px] w-full flex-col justify-between overflow-hidden rounded-md border bg-white p-3 text-left text-sm shadow-sm transition-all hover:border-gray-400 hover:bg-gray-50"
|
||||
>
|
||||
<h4 className="truncate font-medium text-gray-900">{resourceTitle}</h4>
|
||||
|
||||
<div className="mt-6 flex items-center gap-2">
|
||||
<div className="h-2 w-full overflow-hidden rounded-md bg-black/10">
|
||||
<div
|
||||
className="h-full bg-black/20"
|
||||
style={{ width: `${progressPercentage}%` }}
|
||||
></div>
|
||||
</div>
|
||||
<span className="text-xs text-gray-500">
|
||||
{Math.floor(+progressPercentage)}%
|
||||
</span>
|
||||
</div>
|
||||
|
||||
<p className="mt-1 text-xs text-gray-400">
|
||||
{isCustomResource ? (
|
||||
<>Last updated {getRelativeTimeString(updatedAt)}</>
|
||||
) : (
|
||||
<>Last practiced {getRelativeTimeString(updatedAt)}</>
|
||||
)}
|
||||
</p>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
125
src/components/Dashboard/DashboardPage.tsx
Normal file
@@ -0,0 +1,125 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import { httpGet } from '../../lib/http';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { $teamList } from '../../stores/team';
|
||||
import type { TeamListResponse } from '../TeamDropdown/TeamDropdown';
|
||||
import { DashboardTab } from './DashboardTab';
|
||||
import { PersonalDashboard, type BuiltInRoadmap } from './PersonalDashboard';
|
||||
import { TeamDashboard } from './TeamDashboard';
|
||||
import { getUser } from '../../lib/jwt';
|
||||
|
||||
type DashboardPageProps = {
|
||||
builtInRoleRoadmaps?: BuiltInRoadmap[];
|
||||
builtInSkillRoadmaps?: BuiltInRoadmap[];
|
||||
builtInBestPractices?: BuiltInRoadmap[];
|
||||
};
|
||||
|
||||
export function DashboardPage(props: DashboardPageProps) {
|
||||
const { builtInRoleRoadmaps, builtInBestPractices, builtInSkillRoadmaps } =
|
||||
props;
|
||||
|
||||
const currentUser = getUser();
|
||||
const toast = useToast();
|
||||
const teamList = useStore($teamList);
|
||||
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [selectedTeamId, setSelectedTeamId] = useState<string>();
|
||||
|
||||
async function getAllTeams() {
|
||||
if (teamList.length > 0) {
|
||||
return;
|
||||
}
|
||||
|
||||
const { response, error } = await httpGet<TeamListResponse>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-get-user-teams`,
|
||||
);
|
||||
if (error || !response) {
|
||||
toast.error(error?.message || 'Something went wrong');
|
||||
return;
|
||||
}
|
||||
|
||||
$teamList.set(response);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
getAllTeams().finally(() => setIsLoading(false));
|
||||
}, []);
|
||||
|
||||
const userAvatar =
|
||||
currentUser?.avatar && !isLoading
|
||||
? `${import.meta.env.PUBLIC_AVATAR_BASE_URL}/${currentUser.avatar}`
|
||||
: '/images/default-avatar.png';
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-50 pb-20 pt-8">
|
||||
<div className="container">
|
||||
<div className="mb-6 flex flex-wrap items-center gap-1.5 sm:mb-8">
|
||||
<DashboardTab
|
||||
label="Personal"
|
||||
isActive={!selectedTeamId}
|
||||
onClick={() => setSelectedTeamId(undefined)}
|
||||
avatar={userAvatar}
|
||||
/>
|
||||
|
||||
{isLoading && (
|
||||
<>
|
||||
<DashboardTabSkeleton />
|
||||
<DashboardTabSkeleton />
|
||||
</>
|
||||
)}
|
||||
|
||||
{!isLoading && (
|
||||
<>
|
||||
{teamList.map((team) => {
|
||||
const { avatar } = team;
|
||||
const avatarUrl = avatar
|
||||
? `${import.meta.env.PUBLIC_AVATAR_BASE_URL}/${avatar}`
|
||||
: '/images/default-avatar.png';
|
||||
return (
|
||||
<DashboardTab
|
||||
key={team._id}
|
||||
label={team.name}
|
||||
isActive={team._id === selectedTeamId}
|
||||
{...(team.status === 'invited'
|
||||
? {
|
||||
href: `/respond-invite?i=${team.memberId}`,
|
||||
}
|
||||
: {
|
||||
href: `/team/activity?t=${team._id}`,
|
||||
// onClick: () => {
|
||||
// setSelectedTeamId(team._id);
|
||||
// },
|
||||
})}
|
||||
avatar={avatarUrl}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
<DashboardTab
|
||||
label="+ Create Team"
|
||||
isActive={false}
|
||||
href="/team/new"
|
||||
className="border border-dashed border-gray-300 bg-transparent px-3 text-[13px] text-sm text-gray-500 hover:border-gray-600 hover:text-black"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{!selectedTeamId && (
|
||||
<PersonalDashboard
|
||||
builtInRoleRoadmaps={builtInRoleRoadmaps}
|
||||
builtInSkillRoadmaps={builtInSkillRoadmaps}
|
||||
builtInBestPractices={builtInBestPractices}
|
||||
/>
|
||||
)}
|
||||
{selectedTeamId && <TeamDashboard teamId={selectedTeamId} />}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function DashboardTabSkeleton() {
|
||||
return (
|
||||
<div className="h-[30px] w-[114px] animate-pulse rounded-md border bg-white"></div>
|
||||
);
|
||||
}
|
||||
54
src/components/Dashboard/DashboardProgressCard.tsx
Normal file
@@ -0,0 +1,54 @@
|
||||
import { getPercentage } from '../../helper/number';
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
import { ArrowUpRight, ExternalLink } from 'lucide-react';
|
||||
|
||||
type DashboardProgressCardProps = {
|
||||
progress: UserProgress;
|
||||
};
|
||||
|
||||
export function DashboardProgressCard(props: DashboardProgressCardProps) {
|
||||
const { progress } = props;
|
||||
const {
|
||||
resourceType,
|
||||
resourceId,
|
||||
resourceTitle,
|
||||
total: totalCount,
|
||||
done: doneCount,
|
||||
skipped: skippedCount,
|
||||
roadmapSlug,
|
||||
isCustomResource,
|
||||
updatedAt,
|
||||
} = progress;
|
||||
|
||||
let url =
|
||||
resourceType === 'roadmap'
|
||||
? `/${resourceId}`
|
||||
: `/best-practices/${resourceId}`;
|
||||
|
||||
if (isCustomResource) {
|
||||
url = `/r/${roadmapSlug}`;
|
||||
}
|
||||
|
||||
const totalMarked = doneCount + skippedCount;
|
||||
const progressPercentage = getPercentage(totalMarked, totalCount);
|
||||
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
key={resourceId}
|
||||
className="group relative flex w-full items-center justify-between overflow-hidden rounded-md border border-gray-300 bg-white px-3 py-2 text-left text-sm transition-all hover:border-gray-400"
|
||||
>
|
||||
<span className="flex-grow truncate">{resourceTitle}</span>
|
||||
<span className="text-xs text-gray-400">
|
||||
{parseInt(progressPercentage, 10)}%
|
||||
</span>
|
||||
|
||||
<span
|
||||
className="absolute left-0 top-0 block h-full cursor-pointer rounded-tl-md bg-black/5 transition-colors group-hover:bg-black/10"
|
||||
style={{
|
||||
width: `${progressPercentage}%`,
|
||||
}}
|
||||
/>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
55
src/components/Dashboard/DashboardProjectCard.tsx
Normal file
@@ -0,0 +1,55 @@
|
||||
import { Check, CircleCheck, CircleDashed } from 'lucide-react';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import { cn } from '../../lib/classname.ts';
|
||||
import { getRelativeTimeString } from '../../lib/date.ts';
|
||||
|
||||
type DashboardProjectCardProps = {
|
||||
project: ProjectStatusDocument & {
|
||||
title: string;
|
||||
};
|
||||
};
|
||||
|
||||
export function DashboardProjectCard(props: DashboardProjectCardProps) {
|
||||
const { project } = props;
|
||||
|
||||
const { title, projectId, submittedAt, startedAt, repositoryUrl } = project;
|
||||
|
||||
const url = `/projects/${projectId}`;
|
||||
const status = submittedAt && repositoryUrl ? 'submitted' : 'started';
|
||||
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
key={projectId}
|
||||
className="group relative flex w-full items-center gap-2 text-left text-sm underline-offset-2"
|
||||
>
|
||||
<span
|
||||
className={cn(
|
||||
'flex h-5 w-5 flex-shrink-0 items-center justify-center rounded-full',
|
||||
{
|
||||
'border border-green-500 bg-green-500 group-hover:border-green-600 group-hover:bg-green-600':
|
||||
status === 'submitted',
|
||||
'border border-dashed border-gray-400 bg-transparent group-hover:border-gray-500':
|
||||
status === 'started',
|
||||
},
|
||||
)}
|
||||
>
|
||||
{status === 'submitted' && (
|
||||
<Check
|
||||
className="relative top-[0.5px] size-3 text-white"
|
||||
strokeWidth={3}
|
||||
/>
|
||||
)}
|
||||
</span>
|
||||
<span className="flex-grow truncate group-hover:underline">{title.replace(/(System)|(Service)/, '')}</span>
|
||||
<span className="flex-shrink-0 bg-transparent text-xs text-gray-400 no-underline">
|
||||
{!!startedAt &&
|
||||
status === 'started' &&
|
||||
getRelativeTimeString(startedAt)}
|
||||
{!!submittedAt &&
|
||||
status === 'submitted' &&
|
||||
getRelativeTimeString(submittedAt)}
|
||||
</span>
|
||||
</a>
|
||||
);
|
||||
}
|
||||
40
src/components/Dashboard/DashboardTab.tsx
Normal file
@@ -0,0 +1,40 @@
|
||||
import type { ReactNode } from 'react';
|
||||
import { cn } from '../../lib/classname';
|
||||
|
||||
type DashboardTabProps = {
|
||||
label: string | ReactNode;
|
||||
isActive: boolean;
|
||||
onClick?: () => void;
|
||||
className?: string;
|
||||
href?: string;
|
||||
avatar?: string;
|
||||
icon?: ReactNode;
|
||||
};
|
||||
|
||||
export function DashboardTab(props: DashboardTabProps) {
|
||||
const { isActive, onClick, label, className, href, avatar, icon } = props;
|
||||
|
||||
const Slot = href ? 'a' : 'button';
|
||||
|
||||
return (
|
||||
<Slot
|
||||
onClick={onClick}
|
||||
className={cn(
|
||||
'flex h-[30px] shrink-0 items-center gap-1 rounded-md border bg-white p-1.5 px-2 text-sm leading-none text-gray-600',
|
||||
isActive ? 'border-gray-500 bg-gray-200 text-gray-900' : '',
|
||||
className,
|
||||
)}
|
||||
{...(href ? { href } : {})}
|
||||
>
|
||||
{avatar && (
|
||||
<img
|
||||
src={avatar}
|
||||
alt="avatar"
|
||||
className="h-4 w-4 mr-0.5 rounded-full object-cover"
|
||||
/>
|
||||
)}
|
||||
{icon}
|
||||
{label}
|
||||
</Slot>
|
||||
);
|
||||
}
|
||||
41
src/components/Dashboard/EmptyStackMessage.tsx
Normal file
@@ -0,0 +1,41 @@
|
||||
import { cn } from '../../lib/classname';
|
||||
|
||||
type EmptyStackMessageProps = {
|
||||
number: number | string;
|
||||
title: string;
|
||||
description: string;
|
||||
buttonText: string;
|
||||
buttonLink: string;
|
||||
bodyClassName?: string;
|
||||
};
|
||||
|
||||
export function EmptyStackMessage(props: EmptyStackMessageProps) {
|
||||
const { number, title, description, buttonText, buttonLink, bodyClassName } =
|
||||
props;
|
||||
|
||||
return (
|
||||
<div className="absolute inset-0 flex items-center justify-center rounded-md bg-black/50">
|
||||
<div
|
||||
className={cn(
|
||||
'flex max-w-[200px] flex-col items-center justify-center rounded-md bg-white p-4 shadow-sm',
|
||||
bodyClassName,
|
||||
)}
|
||||
>
|
||||
<span className="flex h-8 w-8 items-center justify-center rounded-full bg-gray-300 text-white">
|
||||
{number}
|
||||
</span>
|
||||
<div className="my-3 text-center">
|
||||
<h3 className="text-sm font-medium text-black">{title}</h3>
|
||||
<p className="text-center text-xs text-gray-500">{description}</p>
|
||||
</div>
|
||||
|
||||
<a
|
||||
href={buttonLink}
|
||||
className="rounded-md bg-black px-3 py-1 text-xs text-white transition-transform hover:scale-105 hover:bg-gray-900"
|
||||
>
|
||||
{buttonText}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
127
src/components/Dashboard/ListDashboardCustomProgress.tsx
Normal file
@@ -0,0 +1,127 @@
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
import { DashboardCustomProgressCard } from './DashboardCustomProgressCard';
|
||||
import { DashboardCardLink } from './DashboardCardLink';
|
||||
import { useState } from 'react';
|
||||
import { CreateRoadmapModal } from '../CustomRoadmap/CreateRoadmap/CreateRoadmapModal';
|
||||
import { Simulate } from 'react-dom/test-utils';
|
||||
import {
|
||||
ArrowUpRight,
|
||||
Bot,
|
||||
BrainCircuit,
|
||||
Map,
|
||||
PencilRuler,
|
||||
} from 'lucide-react';
|
||||
|
||||
type ListDashboardCustomProgressProps = {
|
||||
progresses: UserProgress[];
|
||||
isLoading?: boolean;
|
||||
isCustomResources?: boolean;
|
||||
isAIGeneratedRoadmaps?: boolean;
|
||||
};
|
||||
|
||||
export function ListDashboardCustomProgress(
|
||||
props: ListDashboardCustomProgressProps,
|
||||
) {
|
||||
const {
|
||||
progresses,
|
||||
isLoading = false,
|
||||
isAIGeneratedRoadmaps = false,
|
||||
} = props;
|
||||
const [isCreateCustomRoadmapModalOpen, setIsCreateCustomRoadmapModalOpen] =
|
||||
useState(false);
|
||||
|
||||
const customRoadmapModal = isCreateCustomRoadmapModalOpen ? (
|
||||
<CreateRoadmapModal
|
||||
onClose={() => setIsCreateCustomRoadmapModalOpen(false)}
|
||||
onCreated={(roadmap) => {
|
||||
window.location.href = `${
|
||||
import.meta.env.PUBLIC_EDITOR_APP_URL
|
||||
}/${roadmap?._id}`;
|
||||
return;
|
||||
}}
|
||||
/>
|
||||
) : null;
|
||||
|
||||
return (
|
||||
<>
|
||||
{customRoadmapModal}
|
||||
|
||||
<div className="mb-2 mt-6 flex items-center justify-between gap-2">
|
||||
<h2 className="text-xs uppercase text-gray-400">
|
||||
{isAIGeneratedRoadmaps ? 'My AI Roadmaps' : 'My Custom Roadmaps'}
|
||||
</h2>
|
||||
|
||||
<a
|
||||
href="/community"
|
||||
className="rounded-full bg-gray-200 px-2.5 py-0.5 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
|
||||
>
|
||||
Community Roadmaps
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{!isLoading && progresses.length === 0 && isAIGeneratedRoadmaps && (
|
||||
<DashboardCardLink
|
||||
className="mt-0"
|
||||
icon={BrainCircuit}
|
||||
href="/ai"
|
||||
title="Generate Roadmaps with AI"
|
||||
description="You can generate your own roadmap with AI"
|
||||
/>
|
||||
)}
|
||||
|
||||
{!isLoading && progresses.length === 0 && !isAIGeneratedRoadmaps && (
|
||||
<DashboardCardLink
|
||||
className="mt-0"
|
||||
icon={PencilRuler}
|
||||
href="https://draw.roadmap.sh"
|
||||
title="Draw your own Roadmap"
|
||||
description="Use our editor to draw your own roadmap"
|
||||
/>
|
||||
)}
|
||||
|
||||
<div className="grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-4">
|
||||
{isLoading && (
|
||||
<>
|
||||
{Array.from({ length: 8 }).map((_, index) => (
|
||||
<CustomProgressCardSkeleton key={index} />
|
||||
))}
|
||||
</>
|
||||
)}
|
||||
|
||||
{!isLoading && progresses.length > 0 && (
|
||||
<>
|
||||
{progresses.map((progress) => (
|
||||
<DashboardCustomProgressCard
|
||||
key={progress.resourceId}
|
||||
progress={progress}
|
||||
/>
|
||||
))}
|
||||
|
||||
<a
|
||||
className="flex min-h-[80px] items-center justify-center rounded-lg border border-dashed border-gray-300 bg-white p-4 text-sm font-medium text-gray-500 hover:bg-gray-50 hover:text-gray-600"
|
||||
href={'/ai'}
|
||||
onClick={(e) => {
|
||||
if (!isAIGeneratedRoadmaps) {
|
||||
e.preventDefault();
|
||||
setIsCreateCustomRoadmapModalOpen(true);
|
||||
}
|
||||
}}
|
||||
>
|
||||
{isAIGeneratedRoadmaps ? '+ Generate New' : '+ Create New'}
|
||||
</a>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
type CustomProgressCardSkeletonProps = {};
|
||||
|
||||
export function CustomProgressCardSkeleton(
|
||||
props: CustomProgressCardSkeletonProps,
|
||||
) {
|
||||
return (
|
||||
<div className="h-[106px] w-full animate-pulse rounded-md bg-gray-200" />
|
||||
);
|
||||
}
|
||||
14
src/components/Dashboard/LoadingProgress.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
type LoadingProgressProps = {};
|
||||
|
||||
export function LoadingProgress(props: LoadingProgressProps) {
|
||||
return (
|
||||
<div className="grid grid-cols-1 gap-1.5 sm:grid-cols-3">
|
||||
{Array.from({ length: 6 }).map((_, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className="h-[38px] w-full animate-pulse rounded-md border border-gray-300 bg-gray-100"
|
||||
></div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
395
src/components/Dashboard/PersonalDashboard.tsx
Normal file
@@ -0,0 +1,395 @@
|
||||
import { type JSXElementConstructor, useEffect, useState } from 'react';
|
||||
import { httpGet } from '../../lib/http';
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import type { PageType } from '../CommandMenu/CommandMenu';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { getCurrentPeriod } from '../../lib/date';
|
||||
import { ListDashboardCustomProgress } from './ListDashboardCustomProgress';
|
||||
import { RecommendedRoadmaps } from './RecommendedRoadmaps';
|
||||
import { ProgressStack } from './ProgressStack';
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { $accountStreak, type StreakResponse } from '../../stores/streak';
|
||||
import { CheckEmoji } from '../ReactIcons/CheckEmoji.tsx';
|
||||
import { ConstructionEmoji } from '../ReactIcons/ConstructionEmoji.tsx';
|
||||
import { BookEmoji } from '../ReactIcons/BookEmoji.tsx';
|
||||
import { DashboardAiRoadmaps } from './DashboardAiRoadmaps.tsx';
|
||||
import type { AllowedProfileVisibility } from '../../api/user.ts';
|
||||
import { PencilIcon, type LucideIcon } from 'lucide-react';
|
||||
import { cn } from '../../lib/classname.ts';
|
||||
|
||||
type UserDashboardResponse = {
|
||||
name: string;
|
||||
email: string;
|
||||
avatar: string;
|
||||
headline: string;
|
||||
username: string;
|
||||
profileVisibility: AllowedProfileVisibility;
|
||||
progresses: UserProgress[];
|
||||
projects: ProjectStatusDocument[];
|
||||
aiRoadmaps: {
|
||||
id: string;
|
||||
title: string;
|
||||
slug: string;
|
||||
}[];
|
||||
topicDoneToday: number;
|
||||
};
|
||||
|
||||
export type BuiltInRoadmap = {
|
||||
id: string;
|
||||
url: string;
|
||||
title: string;
|
||||
description: string;
|
||||
isFavorite?: boolean;
|
||||
relatedRoadmapIds?: string[];
|
||||
};
|
||||
|
||||
type PersonalDashboardProps = {
|
||||
builtInRoleRoadmaps?: BuiltInRoadmap[];
|
||||
builtInSkillRoadmaps?: BuiltInRoadmap[];
|
||||
builtInBestPractices?: BuiltInRoadmap[];
|
||||
};
|
||||
|
||||
export function PersonalDashboard(props: PersonalDashboardProps) {
|
||||
const {
|
||||
builtInRoleRoadmaps = [],
|
||||
builtInBestPractices = [],
|
||||
builtInSkillRoadmaps = [],
|
||||
} = props;
|
||||
|
||||
const toast = useToast();
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [personalDashboardDetails, setPersonalDashboardDetails] =
|
||||
useState<UserDashboardResponse>();
|
||||
const [projectDetails, setProjectDetails] = useState<PageType[]>([]);
|
||||
const accountStreak = useStore($accountStreak);
|
||||
|
||||
const loadAccountStreak = async () => {
|
||||
if (accountStreak) {
|
||||
return;
|
||||
}
|
||||
|
||||
setIsLoading(true);
|
||||
const { response, error } = await httpGet<StreakResponse>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-streak`,
|
||||
);
|
||||
|
||||
if (error || !response) {
|
||||
toast.error(error?.message || 'Failed to load account streak');
|
||||
return;
|
||||
}
|
||||
|
||||
$accountStreak.set(response);
|
||||
};
|
||||
|
||||
async function loadProgress() {
|
||||
const { response: progressList, error } =
|
||||
await httpGet<UserDashboardResponse>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-user-dashboard`,
|
||||
);
|
||||
|
||||
if (error || !progressList) {
|
||||
return;
|
||||
}
|
||||
|
||||
progressList?.progresses?.forEach((progress) => {
|
||||
window.dispatchEvent(
|
||||
new CustomEvent('mark-favorite', {
|
||||
detail: {
|
||||
resourceId: progress.resourceId,
|
||||
resourceType: progress.resourceType,
|
||||
isFavorite: progress.isFavorite,
|
||||
},
|
||||
}),
|
||||
);
|
||||
});
|
||||
setPersonalDashboardDetails(progressList);
|
||||
}
|
||||
|
||||
async function loadAllProjectDetails() {
|
||||
const { error, response } = await httpGet<PageType[]>(`/pages.json`);
|
||||
|
||||
if (error) {
|
||||
toast.error(error.message || 'Something went wrong');
|
||||
return;
|
||||
}
|
||||
|
||||
if (!response) {
|
||||
return [];
|
||||
}
|
||||
|
||||
const allProjects = response.filter((page) => page.group === 'Projects');
|
||||
setProjectDetails(allProjects);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
Promise.allSettled([
|
||||
loadProgress(),
|
||||
loadAllProjectDetails(),
|
||||
loadAccountStreak(),
|
||||
]).finally(() => setIsLoading(false));
|
||||
}, []);
|
||||
|
||||
useEffect(() => {
|
||||
window.addEventListener('refresh-favorites', loadProgress);
|
||||
return () => window.removeEventListener('refresh-favorites', loadProgress);
|
||||
}, []);
|
||||
|
||||
const learningRoadmapsToShow = (personalDashboardDetails?.progresses || [])
|
||||
.filter((progress) => !progress.isCustomResource)
|
||||
.sort((a, b) => {
|
||||
const updatedAtA = new Date(a.updatedAt);
|
||||
const updatedAtB = new Date(b.updatedAt);
|
||||
|
||||
if (a.isFavorite && !b.isFavorite) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (!a.isFavorite && b.isFavorite) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return updatedAtB.getTime() - updatedAtA.getTime();
|
||||
});
|
||||
|
||||
const aiGeneratedRoadmaps = personalDashboardDetails?.aiRoadmaps || [];
|
||||
const customRoadmaps = (personalDashboardDetails?.progresses || [])
|
||||
.filter((progress) => progress.isCustomResource)
|
||||
.sort((a, b) => {
|
||||
const updatedAtA = new Date(a.updatedAt);
|
||||
const updatedAtB = new Date(b.updatedAt);
|
||||
return updatedAtB.getTime() - updatedAtA.getTime();
|
||||
});
|
||||
|
||||
const { avatar, name } = personalDashboardDetails || {};
|
||||
const avatarLink = avatar
|
||||
? `${import.meta.env.PUBLIC_AVATAR_BASE_URL}/${avatar}`
|
||||
: '/images/default-avatar.png';
|
||||
|
||||
const allRoadmapsAndBestPractices = [
|
||||
...builtInRoleRoadmaps,
|
||||
...builtInSkillRoadmaps,
|
||||
...builtInBestPractices,
|
||||
];
|
||||
|
||||
const relatedRoadmapIds = allRoadmapsAndBestPractices
|
||||
// take the ones that user is learning
|
||||
.filter((roadmap) =>
|
||||
learningRoadmapsToShow?.some(
|
||||
(learningRoadmap) => learningRoadmap.resourceId === roadmap.id,
|
||||
),
|
||||
)
|
||||
.flatMap((roadmap) => roadmap.relatedRoadmapIds)
|
||||
// remove the ones that user is already learning or has bookmarked
|
||||
.filter(
|
||||
(roadmapId) =>
|
||||
!learningRoadmapsToShow.some((lr) => lr.resourceId === roadmapId),
|
||||
);
|
||||
|
||||
const recommendedRoadmapIds = new Set(
|
||||
relatedRoadmapIds.length === 0
|
||||
? [
|
||||
'frontend',
|
||||
'backend',
|
||||
'devops',
|
||||
'ai-data-scientist',
|
||||
'full-stack',
|
||||
'api-design',
|
||||
]
|
||||
: relatedRoadmapIds,
|
||||
);
|
||||
|
||||
const recommendedRoadmaps = allRoadmapsAndBestPractices.filter((roadmap) =>
|
||||
recommendedRoadmapIds.has(roadmap.id),
|
||||
);
|
||||
|
||||
const enrichedProjects = personalDashboardDetails?.projects
|
||||
.map((project) => {
|
||||
const projectDetail = projectDetails.find(
|
||||
(page) => page.id === project.projectId,
|
||||
);
|
||||
|
||||
return {
|
||||
...project,
|
||||
title: projectDetail?.title || 'N/A',
|
||||
};
|
||||
})
|
||||
.sort((a, b) => {
|
||||
if (a.repositoryUrl && !b.repositoryUrl) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!a.repositoryUrl && b.repositoryUrl) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
});
|
||||
|
||||
const { username } = personalDashboardDetails || {};
|
||||
|
||||
return (
|
||||
<section>
|
||||
{isLoading ? (
|
||||
<div className="h-7 w-1/4 animate-pulse rounded-lg bg-gray-200"></div>
|
||||
) : (
|
||||
<div className="flex flex-col items-start justify-between gap-1 sm:flex-row sm:items-center">
|
||||
<h2 className="text-lg font-medium">
|
||||
Hi {name}, good {getCurrentPeriod()}!
|
||||
</h2>
|
||||
<a
|
||||
href="/home"
|
||||
className="rounded-full bg-gray-200 px-2.5 py-1 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
|
||||
>
|
||||
Visit Homepage
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-4">
|
||||
{isLoading ? (
|
||||
<>
|
||||
<DashboardCardSkeleton />
|
||||
<DashboardCardSkeleton />
|
||||
<DashboardCardSkeleton />
|
||||
<DashboardCardSkeleton />
|
||||
</>
|
||||
) : (
|
||||
<>
|
||||
<DashboardCard
|
||||
imgUrl={avatarLink}
|
||||
title={name!}
|
||||
description={
|
||||
username ? 'View your profile' : 'Setup your profile'
|
||||
}
|
||||
href={username ? `/u/${username}` : '/account/update-profile'}
|
||||
{...(username && {
|
||||
externalLinkIcon: PencilIcon,
|
||||
externalLinkHref: '/account/update-profile',
|
||||
externalLinkText: 'Edit',
|
||||
})}
|
||||
className={
|
||||
!username
|
||||
? 'border-dashed border-gray-500 bg-gray-100 hover:border-gray-500 hover:bg-gray-200'
|
||||
: ''
|
||||
}
|
||||
/>
|
||||
|
||||
<DashboardCard
|
||||
icon={BookEmoji}
|
||||
title="Visit Roadmaps"
|
||||
description="Learn new skills"
|
||||
href="/roadmaps"
|
||||
/>
|
||||
|
||||
<DashboardCard
|
||||
icon={ConstructionEmoji}
|
||||
title="Build Projects"
|
||||
description="Practice what you learn"
|
||||
href="/projects"
|
||||
/>
|
||||
<DashboardCard
|
||||
icon={CheckEmoji}
|
||||
title="Best Practices"
|
||||
description="Do things the right way"
|
||||
href="/best-practices"
|
||||
/>
|
||||
</>
|
||||
)}
|
||||
</div>
|
||||
|
||||
<ProgressStack
|
||||
progresses={learningRoadmapsToShow}
|
||||
projects={enrichedProjects || []}
|
||||
isLoading={isLoading}
|
||||
accountStreak={accountStreak}
|
||||
topicDoneToday={personalDashboardDetails?.topicDoneToday || 0}
|
||||
/>
|
||||
|
||||
<ListDashboardCustomProgress
|
||||
progresses={customRoadmaps}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
|
||||
<DashboardAiRoadmaps
|
||||
roadmaps={aiGeneratedRoadmaps}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
|
||||
<RecommendedRoadmaps
|
||||
roadmaps={recommendedRoadmaps}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
type DashboardCardProps = {
|
||||
icon?: JSXElementConstructor<any>;
|
||||
imgUrl?: string;
|
||||
title: string;
|
||||
description: string;
|
||||
href: string;
|
||||
externalLinkIcon?: LucideIcon;
|
||||
externalLinkText?: string;
|
||||
externalLinkHref?: string;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
function DashboardCard(props: DashboardCardProps) {
|
||||
const {
|
||||
icon: Icon,
|
||||
imgUrl,
|
||||
title,
|
||||
description,
|
||||
href,
|
||||
externalLinkHref,
|
||||
externalLinkIcon: ExternalLinkIcon,
|
||||
externalLinkText,
|
||||
className,
|
||||
} = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'relative overflow-hidden',
|
||||
className,
|
||||
)}
|
||||
>
|
||||
<a href={href} className="flex flex-col rounded-lg border border-gray-300 bg-white hover:border-gray-400 hover:bg-gray-50">
|
||||
{Icon && (
|
||||
<div className="px-4 pb-3 pt-4">
|
||||
<Icon className="size-6" />
|
||||
</div>
|
||||
)}
|
||||
|
||||
{imgUrl && (
|
||||
<div className="px-4 pb-1.5 pt-3.5">
|
||||
<img src={imgUrl} alt={title} className="size-8 rounded-full" />
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="flex grow flex-col justify-center gap-0.5 p-4">
|
||||
<h3 className="truncate font-medium text-black">{title}</h3>
|
||||
<p className="text-xs text-black">{description}</p>
|
||||
</div>
|
||||
</a>
|
||||
|
||||
{externalLinkHref && (
|
||||
<a
|
||||
href={externalLinkHref}
|
||||
className="absolute right-1 top-1 flex items-center gap-1.5 rounded-md bg-gray-200 p-1 px-2 text-xs text-gray-600 hover:bg-gray-300 hover:text-black"
|
||||
>
|
||||
{ExternalLinkIcon && <ExternalLinkIcon className="size-3" />}
|
||||
{externalLinkText}
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
function DashboardCardSkeleton() {
|
||||
return (
|
||||
<div className="h-[128px] animate-pulse rounded-lg border border-gray-300 bg-white"></div>
|
||||
);
|
||||
}
|
||||
355
src/components/Dashboard/ProgressStack.tsx
Normal file
@@ -0,0 +1,355 @@
|
||||
import {
|
||||
ArrowUpRight,
|
||||
Bookmark,
|
||||
FolderKanban,
|
||||
type LucideIcon,
|
||||
Map,
|
||||
} from 'lucide-react';
|
||||
import type { UserProgress } from '../TeamProgress/TeamProgressPage';
|
||||
import type { ProjectStatusDocument } from '../Projects/ListProjectSolutions';
|
||||
import { DashboardBookmarkCard } from './DashboardBookmarkCard';
|
||||
import { DashboardProjectCard } from './DashboardProjectCard';
|
||||
import { useState } from 'react';
|
||||
import { cn } from '../../lib/classname';
|
||||
import { DashboardProgressCard } from './DashboardProgressCard';
|
||||
import { useStore } from '@nanostores/react';
|
||||
import { $accountStreak, type StreakResponse } from '../../stores/streak';
|
||||
import { EmptyStackMessage } from './EmptyStackMessage.tsx';
|
||||
|
||||
type ProgressStackProps = {
|
||||
progresses: UserProgress[];
|
||||
projects: (ProjectStatusDocument & {
|
||||
title: string;
|
||||
})[];
|
||||
accountStreak?: StreakResponse;
|
||||
isLoading: boolean;
|
||||
topicDoneToday: number;
|
||||
};
|
||||
|
||||
const MAX_PROGRESS_TO_SHOW = 11;
|
||||
const MAX_PROJECTS_TO_SHOW = 8;
|
||||
|
||||
type ProgressLaneProps = {
|
||||
title: string;
|
||||
linkText?: string;
|
||||
linkHref?: string;
|
||||
isLoading?: boolean;
|
||||
isEmpty?: boolean;
|
||||
loadingWrapperClassName?: string;
|
||||
loadingSkeletonCount?: number;
|
||||
loadingSkeletonClassName?: string;
|
||||
children: React.ReactNode;
|
||||
emptyMessage?: string;
|
||||
emptyIcon?: LucideIcon;
|
||||
emptyLinkText?: string;
|
||||
emptyLinkHref?: string;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
function ProgressLane(props: ProgressLaneProps) {
|
||||
const {
|
||||
title,
|
||||
linkText,
|
||||
linkHref,
|
||||
isLoading = false,
|
||||
loadingWrapperClassName = '',
|
||||
loadingSkeletonCount = 4,
|
||||
loadingSkeletonClassName = '',
|
||||
children,
|
||||
isEmpty = false,
|
||||
emptyIcon: EmptyIcon = Map,
|
||||
emptyMessage = `No ${title.toLowerCase()} to show`,
|
||||
emptyLinkHref = '/roadmaps',
|
||||
emptyLinkText = 'Explore',
|
||||
className,
|
||||
} = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'flex h-full flex-col rounded-md border bg-white px-4 py-3 shadow-sm',
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{isLoading && (
|
||||
<div className={'flex flex-row justify-between'}>
|
||||
<div className="h-[16px] w-[75px] animate-pulse rounded-md bg-gray-100"></div>
|
||||
</div>
|
||||
)}
|
||||
{!isLoading && !isEmpty && (
|
||||
<div className="flex items-center justify-between gap-2">
|
||||
<h3 className="text-xs uppercase text-gray-500">{title}</h3>
|
||||
|
||||
{linkText && linkHref && (
|
||||
<a
|
||||
href={linkHref}
|
||||
className="flex items-center gap-1 text-xs text-gray-500 hover:text-black"
|
||||
>
|
||||
<ArrowUpRight size={12} />
|
||||
{linkText}
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="mt-4 flex flex-grow flex-col gap-1.5">
|
||||
{isLoading && (
|
||||
<div
|
||||
className={cn('grid grid-cols-2 gap-2', loadingWrapperClassName)}
|
||||
>
|
||||
{Array.from({ length: loadingSkeletonCount }).map((_, index) => (
|
||||
<CardSkeleton key={index} className={loadingSkeletonClassName} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
{!isLoading && children}
|
||||
|
||||
{!isLoading && isEmpty && (
|
||||
<div className="flex flex-grow flex-col items-center justify-center text-gray-500">
|
||||
<EmptyIcon
|
||||
size={37}
|
||||
strokeWidth={1.5}
|
||||
className={'mb-3 text-gray-200'}
|
||||
/>
|
||||
<span className="mb-0.5 text-sm">{emptyMessage}</span>
|
||||
<a
|
||||
href={emptyLinkHref}
|
||||
className="text-xs font-medium text-gray-600 underline-offset-2 hover:underline"
|
||||
>
|
||||
{emptyLinkText}
|
||||
</a>
|
||||
</div>
|
||||
)}
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
||||
export function ProgressStack(props: ProgressStackProps) {
|
||||
const { progresses, projects, isLoading, accountStreak, topicDoneToday } =
|
||||
props;
|
||||
|
||||
const [showAllProgresses, setShowAllProgresses] = useState(false);
|
||||
const sortedProgresses = progresses.sort((a, b) => {
|
||||
if (a.isFavorite && !b.isFavorite) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
if (!a.isFavorite && b.isFavorite) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
});
|
||||
const userProgressesToShow = showAllProgresses
|
||||
? sortedProgresses
|
||||
: sortedProgresses.slice(0, MAX_PROGRESS_TO_SHOW);
|
||||
|
||||
const [showAllProjects, setShowAllProjects] = useState(false);
|
||||
const projectsToShow = showAllProjects
|
||||
? projects
|
||||
: projects.slice(0, MAX_PROJECTS_TO_SHOW);
|
||||
|
||||
const totalProjectFinished = projects.filter(
|
||||
(project) => project.repositoryUrl,
|
||||
).length;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="mt-2 grid grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-3">
|
||||
<StatsCard
|
||||
title="Current Streak"
|
||||
value={accountStreak?.count || 0}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
<StatsCard
|
||||
title="Topics Done Today"
|
||||
value={topicDoneToday}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
<StatsCard
|
||||
title="Projects Finished"
|
||||
value={totalProjectFinished}
|
||||
isLoading={isLoading}
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div className="mt-2 grid min-h-[330px] grid-cols-1 gap-2 sm:grid-cols-2 md:grid-cols-3">
|
||||
<div className="relative col-span-2">
|
||||
{!isLoading && userProgressesToShow.length === 0 && (
|
||||
<EmptyStackMessage
|
||||
number={1}
|
||||
title={'Bookmark some Roadmaps'}
|
||||
description={
|
||||
'Bookmark some roadmaps to access them quickly and start updating your progress'
|
||||
}
|
||||
buttonText={'Explore Roadmaps'}
|
||||
buttonLink={'/roadmaps'}
|
||||
bodyClassName="max-w-[280px]"
|
||||
/>
|
||||
)}
|
||||
|
||||
<ProgressLane
|
||||
title="Progress & Bookmarks"
|
||||
isLoading={isLoading}
|
||||
loadingSkeletonCount={MAX_PROGRESS_TO_SHOW}
|
||||
linkHref="/roadmaps"
|
||||
linkText="Roadmaps"
|
||||
isEmpty={userProgressesToShow.length === 0}
|
||||
emptyIcon={Bookmark}
|
||||
emptyMessage={'No bookmarks to show'}
|
||||
emptyLinkHref={'/roadmaps'}
|
||||
emptyLinkText={'Explore Roadmaps'}
|
||||
>
|
||||
<div className="grid grid-cols-2 gap-2">
|
||||
{userProgressesToShow.length > 0 && (
|
||||
<>
|
||||
{userProgressesToShow.map((progress) => {
|
||||
const isFavorite =
|
||||
progress.isFavorite &&
|
||||
!progress.done &&
|
||||
!progress.skipped;
|
||||
|
||||
if (isFavorite) {
|
||||
return (
|
||||
<DashboardBookmarkCard
|
||||
key={progress.resourceId}
|
||||
bookmark={progress}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
return (
|
||||
<DashboardProgressCard
|
||||
key={progress.resourceId}
|
||||
progress={progress}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</>
|
||||
)}
|
||||
|
||||
{sortedProgresses.length > MAX_PROGRESS_TO_SHOW && (
|
||||
<ShowAllButton
|
||||
showAll={showAllProgresses}
|
||||
setShowAll={setShowAllProgresses}
|
||||
count={sortedProgresses.length}
|
||||
maxCount={MAX_PROGRESS_TO_SHOW}
|
||||
className="min-h-[38px] rounded-md border border-dashed leading-none"
|
||||
/>
|
||||
)}
|
||||
</div>
|
||||
</ProgressLane>
|
||||
</div>
|
||||
|
||||
<div className="relative">
|
||||
<ProgressLane
|
||||
title={'Projects'}
|
||||
linkHref={'/projects'}
|
||||
linkText={'Projects'}
|
||||
isLoading={isLoading}
|
||||
loadingWrapperClassName="grid-cols-1"
|
||||
loadingSkeletonClassName={'h-5'}
|
||||
loadingSkeletonCount={8}
|
||||
isEmpty={projectsToShow.length === 0}
|
||||
emptyMessage={'No projects started'}
|
||||
emptyIcon={FolderKanban}
|
||||
emptyLinkText={'Explore Projects'}
|
||||
emptyLinkHref={'/projects'}
|
||||
>
|
||||
{!isLoading && projectsToShow.length === 0 && (
|
||||
<EmptyStackMessage
|
||||
number={2}
|
||||
title={'Build your first project'}
|
||||
description={'Pick a project to practice and start building'}
|
||||
buttonText={'Explore Projects'}
|
||||
buttonLink={'/projects'}
|
||||
/>
|
||||
)}
|
||||
|
||||
{projectsToShow.map((project) => {
|
||||
return (
|
||||
<DashboardProjectCard
|
||||
key={project.projectId}
|
||||
project={project}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
|
||||
{projects.length > MAX_PROJECTS_TO_SHOW && (
|
||||
<ShowAllButton
|
||||
showAll={showAllProjects}
|
||||
setShowAll={setShowAllProjects}
|
||||
count={projects.length}
|
||||
maxCount={MAX_PROJECTS_TO_SHOW}
|
||||
className="mb-0.5 mt-3"
|
||||
/>
|
||||
)}
|
||||
</ProgressLane>
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
type ShowAllButtonProps = {
|
||||
showAll: boolean;
|
||||
setShowAll: (showAll: boolean) => void;
|
||||
count: number;
|
||||
maxCount: number;
|
||||
className?: string;
|
||||
};
|
||||
|
||||
function ShowAllButton(props: ShowAllButtonProps) {
|
||||
const { showAll, setShowAll, count, maxCount, className } = props;
|
||||
|
||||
return (
|
||||
<button
|
||||
className={cn(
|
||||
'flex w-full items-center justify-center text-sm text-gray-500 hover:text-gray-700',
|
||||
className,
|
||||
)}
|
||||
onClick={() => setShowAll(!showAll)}
|
||||
>
|
||||
{!showAll ? <>+ show {count - maxCount} more</> : <>- show less</>}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
type CardSkeletonProps = {
|
||||
className?: string;
|
||||
};
|
||||
|
||||
function CardSkeleton(props: CardSkeletonProps) {
|
||||
const { className } = props;
|
||||
|
||||
return (
|
||||
<div
|
||||
className={cn(
|
||||
'h-[38px] w-full animate-pulse rounded-md bg-gray-100',
|
||||
className,
|
||||
)}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
type StatsCardProps = {
|
||||
title: string;
|
||||
value: number;
|
||||
isLoading?: boolean;
|
||||
};
|
||||
|
||||
function StatsCard(props: StatsCardProps) {
|
||||
const { title, value, isLoading = false } = props;
|
||||
|
||||
return (
|
||||
<div className="flex flex-col gap-1 rounded-md border bg-white p-4 shadow-sm">
|
||||
<h3 className="mb-1 text-xs uppercase text-gray-500">{title}</h3>
|
||||
{isLoading ? (
|
||||
<CardSkeleton className="h-8" />
|
||||
) : (
|
||||
<span className="text-2xl font-medium text-black">{value}</span>
|
||||
)}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
72
src/components/Dashboard/RecommendedRoadmaps.tsx
Normal file
@@ -0,0 +1,72 @@
|
||||
import type { BuiltInRoadmap } from './PersonalDashboard';
|
||||
import { ArrowUpRight } from 'lucide-react';
|
||||
import { MarkFavorite } from '../FeaturedItems/MarkFavorite.tsx';
|
||||
|
||||
type RecommendedRoadmapsProps = {
|
||||
roadmaps: BuiltInRoadmap[];
|
||||
isLoading: boolean;
|
||||
};
|
||||
|
||||
export function RecommendedRoadmaps(props: RecommendedRoadmapsProps) {
|
||||
const { roadmaps: roadmapsToShow, isLoading } = props;
|
||||
|
||||
return (
|
||||
<>
|
||||
<div className="mb-2 mt-8 flex items-center justify-between gap-2">
|
||||
<h2 className="text-xs uppercase text-gray-400">
|
||||
Recommended Roadmaps
|
||||
</h2>
|
||||
|
||||
<a
|
||||
href="/roadmaps"
|
||||
className="rounded-full bg-gray-200 px-2.5 py-0.5 text-xs font-medium text-gray-700 hover:bg-gray-300 hover:text-black"
|
||||
>
|
||||
All Roadmaps
|
||||
</a>
|
||||
</div>
|
||||
|
||||
{isLoading ? (
|
||||
<div className="grid grid-cols-1 gap-1.5 sm:grid-cols-2 md:grid-cols-3">
|
||||
{Array.from({ length: 9 }).map((_, index) => (
|
||||
<RecommendedCardSkeleton key={index} />
|
||||
))}
|
||||
</div>
|
||||
) : (
|
||||
<div className="grid grid-cols-1 gap-1.5 sm:grid-cols-2 md:grid-cols-3">
|
||||
{roadmapsToShow.map((roadmap) => (
|
||||
<RecommendedRoadmapCard key={roadmap.id} roadmap={roadmap} />
|
||||
))}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<div className="mt-6 text-sm text-gray-500">
|
||||
Need some help getting started? Check out our{' '}<a href="/get-started" className="text-blue-600 underline">Getting Started Guide</a>.
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
type RecommendedRoadmapCardProps = {
|
||||
roadmap: BuiltInRoadmap;
|
||||
};
|
||||
|
||||
export function RecommendedRoadmapCard(props: RecommendedRoadmapCardProps) {
|
||||
const { roadmap } = props;
|
||||
const { title, url, description } = roadmap;
|
||||
|
||||
return (
|
||||
<a
|
||||
href={url}
|
||||
className="font-regular text-sm sm:text-sm group relative block rounded-lg border border-gray-200 bg-white px-2.5 py-2 text-black no-underline hover:border-gray-400 hover:bg-gray-50"
|
||||
>
|
||||
<MarkFavorite className={'opacity-30'} resourceType={'roadmap'} resourceId={roadmap.id} />
|
||||
{title}
|
||||
</a>
|
||||
);
|
||||
}
|
||||
|
||||
function RecommendedCardSkeleton() {
|
||||
return (
|
||||
<div className="h-[38px] w-full animate-pulse rounded-md bg-gray-200" />
|
||||
);
|
||||
}
|
||||
165
src/components/Dashboard/TeamDashboard.tsx
Normal file
@@ -0,0 +1,165 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import type { TeamMember } from '../TeamProgress/TeamProgressPage';
|
||||
import { httpGet } from '../../lib/http';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { getUser } from '../../lib/jwt';
|
||||
import { LoadingProgress } from './LoadingProgress';
|
||||
import { ResourceProgress } from '../Activity/ResourceProgress';
|
||||
import { TeamActivityPage } from '../TeamActivity/TeamActivityPage';
|
||||
import { cn } from '../../lib/classname';
|
||||
import { Tooltip } from '../Tooltip';
|
||||
|
||||
type TeamDashboardProps = {
|
||||
teamId: string;
|
||||
};
|
||||
|
||||
export function TeamDashboard(props: TeamDashboardProps) {
|
||||
const { teamId } = props;
|
||||
|
||||
const toast = useToast();
|
||||
const currentUser = getUser();
|
||||
|
||||
const [isLoading, setIsLoading] = useState(true);
|
||||
const [teamMembers, setTeamMembers] = useState<TeamMember[]>([]);
|
||||
|
||||
async function getTeamProgress() {
|
||||
const { response, error } = await httpGet<TeamMember[]>(
|
||||
`${import.meta.env.PUBLIC_API_URL}/v1-get-team-progress/${teamId}`,
|
||||
);
|
||||
if (error || !response) {
|
||||
toast.error(error?.message || 'Failed to get team progress');
|
||||
return;
|
||||
}
|
||||
|
||||
setTeamMembers(
|
||||
response.sort((a, b) => {
|
||||
if (a.email === currentUser?.email) {
|
||||
return -1;
|
||||
}
|
||||
if (b.email === currentUser?.email) {
|
||||
return 1;
|
||||
}
|
||||
return 0;
|
||||
}),
|
||||
);
|
||||
}
|
||||
|
||||
useEffect(() => {
|
||||
if (!teamId) {
|
||||
return;
|
||||
}
|
||||
|
||||
setIsLoading(true);
|
||||
setTeamMembers([]);
|
||||
getTeamProgress().finally(() => setIsLoading(false));
|
||||
}, [teamId]);
|
||||
|
||||
if (!currentUser) {
|
||||
return null;
|
||||
}
|
||||
|
||||
const currentMember = teamMembers.find(
|
||||
(member) => member.email === currentUser.email,
|
||||
);
|
||||
const learningRoadmapsToShow =
|
||||
currentMember?.progress?.filter(
|
||||
(progress) => progress.resourceType === 'roadmap',
|
||||
) || [];
|
||||
|
||||
const allMembersWithoutCurrentUser = teamMembers.sort((a, b) => {
|
||||
if (a.email === currentUser.email) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
if (b.email === currentUser.email) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
return 0;
|
||||
});
|
||||
|
||||
return (
|
||||
<section className="mt-8">
|
||||
<h2 className="mb-3 text-xs uppercase text-gray-400">Roadmaps</h2>
|
||||
{isLoading && <LoadingProgress />}
|
||||
{!isLoading && learningRoadmapsToShow.length > 0 && (
|
||||
<div className="grid grid-cols-1 gap-1.5 sm:grid-cols-3">
|
||||
{learningRoadmapsToShow.map((roadmap) => {
|
||||
const learningCount = roadmap.learning || 0;
|
||||
const doneCount = roadmap.done || 0;
|
||||
const totalCount = roadmap.total || 0;
|
||||
const skippedCount = roadmap.skipped || 0;
|
||||
|
||||
return (
|
||||
<ResourceProgress
|
||||
key={roadmap.resourceId}
|
||||
isCustomResource={roadmap?.isCustomResource || false}
|
||||
doneCount={doneCount > totalCount ? totalCount : doneCount}
|
||||
learningCount={
|
||||
learningCount > totalCount ? totalCount : learningCount
|
||||
}
|
||||
totalCount={totalCount}
|
||||
skippedCount={skippedCount}
|
||||
resourceId={roadmap.resourceId}
|
||||
resourceType="roadmap"
|
||||
updatedAt={roadmap.updatedAt}
|
||||
title={roadmap.resourceTitle}
|
||||
showActions={false}
|
||||
roadmapSlug={roadmap.roadmapSlug}
|
||||
/>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<h2 className="mb-3 mt-6 text-xs uppercase text-gray-400">
|
||||
Team Members
|
||||
</h2>
|
||||
{isLoading && <TeamMemberLoading className="mb-6" />}
|
||||
{!isLoading && (
|
||||
<div className="mb-6 flex flex-wrap gap-2">
|
||||
{allMembersWithoutCurrentUser.map((member) => {
|
||||
const avatar = member?.avatar
|
||||
? `${import.meta.env.PUBLIC_AVATAR_BASE_URL}/${member.avatar}`
|
||||
: '/images/default-avatar.png';
|
||||
return (
|
||||
<span className="group relative" key={member.email}>
|
||||
<figure className="relative aspect-square size-8 overflow-hidden rounded-md bg-gray-100">
|
||||
<img
|
||||
src={avatar}
|
||||
alt={member.name || ''}
|
||||
className="absolute inset-0 h-full w-full object-cover"
|
||||
/>
|
||||
</figure>
|
||||
<Tooltip position="top-center" additionalClass="text-sm">
|
||||
{member.name}
|
||||
</Tooltip>
|
||||
</span>
|
||||
);
|
||||
})}
|
||||
</div>
|
||||
)}
|
||||
|
||||
<TeamActivityPage teamId={teamId} />
|
||||
</section>
|
||||
);
|
||||
}
|
||||
|
||||
type TeamMemberLoadingProps = {
|
||||
className?: string;
|
||||
};
|
||||
|
||||
function TeamMemberLoading(props: TeamMemberLoadingProps) {
|
||||
const { className } = props;
|
||||
|
||||
return (
|
||||
<div className={cn('flex flex-wrap gap-2', className)}>
|
||||
{Array.from({ length: 15 }).map((_, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className="size-8 animate-pulse rounded-md bg-gray-200"
|
||||
></div>
|
||||
))}
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -23,7 +23,7 @@ export function FeatureAnnouncement(props: FeatureAnnouncementProps) {
|
||||
</span>
|
||||
Projects are live on the{' '}
|
||||
<a
|
||||
href={'/backend/projects'}
|
||||
href={'/projects'}
|
||||
className="font-medium text-blue-500 underline underline-offset-2"
|
||||
>
|
||||
backend roadmap
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useEffect, useState } from 'react';
|
||||
import type { MouseEvent } from "react";
|
||||
import type { MouseEvent } from 'react';
|
||||
import { httpPatch } from '../../lib/http';
|
||||
import type { ResourceType } from '../../lib/resource-progress';
|
||||
import { isLoggedIn } from '../../lib/jwt';
|
||||
@@ -7,6 +7,7 @@ import { showLoginPopup } from '../../lib/popup';
|
||||
import { FavoriteIcon } from './FavoriteIcon';
|
||||
import { Spinner } from '../ReactIcons/Spinner';
|
||||
import { useToast } from '../../hooks/use-toast';
|
||||
import { cn } from '../../lib/classname';
|
||||
|
||||
type MarkFavoriteType = {
|
||||
resourceType: ResourceType;
|
||||
@@ -27,7 +28,9 @@ export function MarkFavorite({
|
||||
const toast = useToast();
|
||||
const [isLoading, setIsLoading] = useState(false);
|
||||
const [isFavorite, setIsFavorite] = useState(
|
||||
isAuthenticated ? (favorite ?? localStorage.getItem(localStorageKey) === '1') : false
|
||||
isAuthenticated
|
||||
? (favorite ?? localStorage.getItem(localStorageKey) === '1')
|
||||
: false,
|
||||
);
|
||||
|
||||
async function toggleFavoriteHandler(e: MouseEvent<HTMLButtonElement>) {
|
||||
@@ -48,7 +51,7 @@ export function MarkFavorite({
|
||||
{
|
||||
resourceType,
|
||||
resourceId,
|
||||
}
|
||||
},
|
||||
);
|
||||
|
||||
if (error) {
|
||||
@@ -68,7 +71,7 @@ export function MarkFavorite({
|
||||
resourceType,
|
||||
isFavorite: !isFavorite,
|
||||
},
|
||||
})
|
||||
}),
|
||||
);
|
||||
|
||||
window.dispatchEvent(new CustomEvent('refresh-favorites', {}));
|
||||
@@ -99,11 +102,18 @@ export function MarkFavorite({
|
||||
aria-label={isFavorite ? 'Remove from favorites' : 'Add to favorites'}
|
||||
onClick={toggleFavoriteHandler}
|
||||
tabIndex={-1}
|
||||
className={`${isFavorite ? '' : 'opacity-30 hover:opacity-100'} ${
|
||||
className || 'absolute right-1.5 top-1.5 z-30 focus:outline-0'
|
||||
}`}
|
||||
className={cn(
|
||||
'absolute right-1.5 top-1.5 z-30 focus:outline-0',
|
||||
isFavorite ? '' : 'opacity-30 hover:opacity-100',
|
||||
className,
|
||||
)}
|
||||
data-is-favorite={isFavorite}
|
||||
>
|
||||
{isLoading ? <Spinner isDualRing={false} /> : <FavoriteIcon isFavorite={isFavorite} />}
|
||||
{isLoading ? (
|
||||
<Spinner isDualRing={false} />
|
||||
) : (
|
||||
<FavoriteIcon isFavorite={isFavorite} />
|
||||
)}
|
||||
</button>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -35,8 +35,8 @@ import Icon from './AstroIcon.astro';
|
||||
>
|
||||
</p>
|
||||
|
||||
<div class='flex flex-col justify-between gap-12 sm:flex-row'>
|
||||
<div class='max-w-[365px]'>
|
||||
<div class='flex flex-col justify-between gap-8 lg:gap-2 lg:flex-row'>
|
||||
<div class='max-w-[425px]'>
|
||||
<p class='text-md flex items-center'>
|
||||
<a
|
||||
class='inline-flex items-center text-lg font-medium text-white transition-colors hover:text-gray-400'
|
||||
@@ -56,7 +56,7 @@ import Icon from './AstroIcon.astro';
|
||||
</a>
|
||||
</p>
|
||||
<p class='my-4 text-slate-300/60'>
|
||||
Community created roadmaps, articles, resources and journeys to help
|
||||
Community created roadmaps, best practices, projects, articles, resources and journeys to help
|
||||
you choose your path and grow in your career.
|
||||
</p>
|
||||
<div class='text-sm text-gray-400'>
|
||||
@@ -67,6 +67,8 @@ import Icon from './AstroIcon.astro';
|
||||
<span class='mx-1.5'>·</span>
|
||||
<a href='/privacy' class='hover:text-white'>Privacy</a>
|
||||
<span class='mx-1.5'>·</span>
|
||||
<a href='/advertise' class='hover:text-white'>Advertise</a>
|
||||
<span class='mx-1.5'>·</span>
|
||||
<a
|
||||
aria-label='Write us an email'
|
||||
href='mailto:info@roadmap.sh'
|
||||
@@ -97,20 +99,19 @@ import Icon from './AstroIcon.astro';
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class='max-w-[365px] text-left sm:text-right'>
|
||||
<div class='max-w-[340px] text-left lg:text-right'>
|
||||
<a href='https://thenewstack.io' target='_blank'>
|
||||
<img
|
||||
src='/images/tns-sm.png'
|
||||
alt='ThewNewStack'
|
||||
class='my-1.5 mr-auto sm:ml-auto sm:mr-0'
|
||||
class='my-1.5 mr-auto lg:ml-auto lg:mr-0'
|
||||
width='200'
|
||||
height='24.8'
|
||||
loading="lazy"
|
||||
/>
|
||||
</a>
|
||||
<p class='my-4 text-slate-300/60'>
|
||||
The leading DevOps resource for Kubernetes, cloud-native computing,
|
||||
and the latest in at-scale development, deployment, and management.
|
||||
The top DevOps resource for Kubernetes, cloud-native computing, and large-scale development and deployment.
|
||||
</p>
|
||||
<div class='text-sm text-gray-400'>
|
||||
<p>
|
||||
|
||||
@@ -11,7 +11,9 @@ export function ProgressNudge(props: ProgressNudgeProps) {
|
||||
const $totalRoadmapNodes = useStore(totalRoadmapNodes);
|
||||
const $roadmapProgress = useStore(roadmapProgress);
|
||||
|
||||
const done = $roadmapProgress?.done?.length || 0;
|
||||
const done =
|
||||
($roadmapProgress?.done?.length || 0) +
|
||||
($roadmapProgress?.skipped?.length || 0);
|
||||
|
||||
const hasProgress = done > 0;
|
||||
|
||||
@@ -51,7 +53,8 @@ export function ProgressNudge(props: ProgressNudgeProps) {
|
||||
<span className="relative -top-[0.45px] mr-2 text-xs font-medium uppercase text-yellow-400">
|
||||
Progress
|
||||
</span>
|
||||
<span>{done > $totalRoadmapNodes ? $totalRoadmapNodes : done}</span> of <span>{$totalRoadmapNodes}</span> Done
|
||||
<span>{done > $totalRoadmapNodes ? $totalRoadmapNodes : done}</span> of{' '}
|
||||
<span>{$totalRoadmapNodes}</span> Done
|
||||
</span>
|
||||
|
||||
<span
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { BadgeCheck, Telescope, Wand } from 'lucide-react';
|
||||
import { BadgeCheck, Bot, Telescope, Wand } from 'lucide-react';
|
||||
import { RoadmapAlert } from '../RoadmapAlert';
|
||||
|
||||
type AIRoadmapAlertProps = {
|
||||
isListing?: boolean;
|
||||
@@ -8,46 +9,20 @@ export function AIRoadmapAlert(props: AIRoadmapAlertProps) {
|
||||
const { isListing = false } = props;
|
||||
|
||||
return (
|
||||
<div className="mb-3 w-full rounded-xl bg-yellow-100 px-4 py-3 text-yellow-800">
|
||||
<h2 className="flex items-center text-base font-semibold text-yellow-800 sm:text-lg">
|
||||
AI Generated Roadmap{isListing ? 's' : ''}{' '}
|
||||
<span className="ml-1.5 rounded-md border border-yellow-500 bg-yellow-200 px-1.5 text-xs uppercase tracking-wide text-yellow-800">
|
||||
Beta
|
||||
</span>
|
||||
</h2>
|
||||
<p className="mb-2 mt-1">
|
||||
{isListing
|
||||
? 'These are AI generated roadmaps and are not verified by'
|
||||
: 'This is an AI generated roadmap and is not verified by'}{' '}
|
||||
<span className={'font-semibold'}>roadmap.sh</span>. We are currently in
|
||||
beta and working hard to improve the quality of the generated roadmaps.
|
||||
</p>
|
||||
<p className="mb-1.5 mt-2 flex flex-col gap-2 text-sm sm:flex-row">
|
||||
{isListing ? (
|
||||
<a
|
||||
href="/ai"
|
||||
className="flex items-center gap-1.5 rounded-md border border-yellow-600 px-2 py-1 text-yellow-700 transition-colors hover:bg-yellow-300 hover:text-yellow-800"
|
||||
>
|
||||
<Wand size={15} />
|
||||
Create your own Roadmap with AI
|
||||
</a>
|
||||
) : (
|
||||
<a
|
||||
href="/ai/explore"
|
||||
className="flex items-center gap-1.5 rounded-md border border-yellow-600 px-2 py-1 text-yellow-700 transition-colors hover:bg-yellow-300 hover:text-yellow-800"
|
||||
>
|
||||
<Telescope size={15} />
|
||||
Explore other AI Roadmaps
|
||||
</a>
|
||||
)}
|
||||
<a
|
||||
href="/roadmaps"
|
||||
className="flex items-center gap-1.5 rounded-md border border-yellow-600 bg-yellow-200 px-2 py-1 text-yellow-800 transition-colors hover:bg-yellow-300"
|
||||
>
|
||||
<BadgeCheck size={15} />
|
||||
Visit Official Roadmaps
|
||||
</a>
|
||||
</p>
|
||||
</div>
|
||||
<RoadmapAlert
|
||||
title={`AI Generated Roadmap${isListing ? 's' : ''}`}
|
||||
badgeText="Beta"
|
||||
description={
|
||||
<>
|
||||
{isListing
|
||||
? 'These are AI generated roadmaps and are not verified by'
|
||||
: 'This is an AI generated roadmap and is not verified by'}{' '}
|
||||
<span className={'font-semibold'}>roadmap.sh</span>. We are currently
|
||||
in beta and working hard to improve the quality of the generated
|
||||
roadmaps.
|
||||
</>
|
||||
}
|
||||
floatingIcon={Bot}
|
||||
/>
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
---
|
||||
import { FavoriteRoadmaps } from './FavoriteRoadmaps';
|
||||
import { FeatureAnnouncement } from "../FeatureAnnouncement";
|
||||
---
|
||||
|
||||
@@ -31,5 +30,4 @@ import { FeatureAnnouncement } from "../FeatureAnnouncement";
|
||||
their career.
|
||||
</p>
|
||||
</div>
|
||||
<FavoriteRoadmaps client:only='react' />
|
||||
</div>
|
||||
|
||||
26
src/components/Leaderboard/ErrorPage.tsx
Normal file
@@ -0,0 +1,26 @@
|
||||
import type { AppError } from '../../api/api';
|
||||
import { ErrorIcon } from '../ReactIcons/ErrorIcon';
|
||||
|
||||
type ErrorPageProps = {
|
||||
error: AppError;
|
||||
};
|
||||
|
||||
export function ErrorPage(props: ErrorPageProps) {
|
||||
const { error } = props;
|
||||
|
||||
return (
|
||||
<div className="min-h-screen bg-gray-50">
|
||||
<div className="container py-10">
|
||||
<div className="flex min-h-[250px] flex-col items-center justify-center px-5 py-3 sm:px-0 sm:py-20">
|
||||
<ErrorIcon additionalClasses="mb-4 h-8 w-8 sm:h-14 sm:w-14" />
|
||||
<h2 className="mb-1 text-lg font-semibold sm:text-xl">
|
||||
Oops! Something went wrong
|
||||
</h2>
|
||||
<p className="mb-3 text-balance text-center text-xs text-gray-800 sm:text-sm">
|
||||
{error?.message || 'An error occurred while fetching'}
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||