Skip to content

Commit 8cb11b3

Browse files
authored
feat: modifies lesson_27/josephs_template to implement the api given to us. made use of the get request and the post request already made for us. Lesson_27 -JosephCaballero (#637)
* feat: implements the programs api by modifying files inside of josephs_template directory. lesson_27 -JosephCaballero * fead: adds package.json and makes changes to ProgramList.tsx. Lesson_27 -JosephCaballero * Merge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_27 * Merge branch 'main' of https://github.com/Josephcabs/code-differently-24-q4 into feature/lesson_27
1 parent 2c32d64 commit 8cb11b3

37 files changed

+4719
-2
lines changed

lesson_27/api/package-lock.json

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lesson_27/api/package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@
2424
"prettier": "^3.4.1",
2525
"supertest": "^7.0.0",
2626
"ts-jest": "^29.2.5",
27+
"@types/node": "^22.9.4",
28+
"nodemon": "^3.1.0",
29+
"prettier": "3.2.5",
2730
"ts-node-dev": "^2.0.0",
2831
"tsx": "^4.19.2",
2932
"typescript": "^5.7.2"
@@ -32,9 +35,9 @@
3235
"@code-differently/types": "file:../types",
3336
"@types/cors": "^2.8.17",
3437
"@types/express": "^4.17.21",
35-
"@types/node": "^20.12.5",
3638
"cors": "^2.8.5",
3739
"express": "^4.21.1",
3840
"lowdb": "^7.0.1"
3941
}
4042
}
43+

lesson_27/josephs_template/.gitignore

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
pnpm-debug.log*
8+
lerna-debug.log*
9+
10+
node_modules
11+
dist
12+
dist-ssr
13+
*.local
14+
15+
# Editor directories and files
16+
.vscode/*
17+
!.vscode/extensions.json
18+
.idea
19+
.DS_Store
20+
*.suo
21+
*.ntvs*
22+
*.njsproj
23+
*.sln
24+
*.sw?
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
{
2+
"bracketSpacing": false,
3+
"singleQuote": true,
4+
"trailingComma": "es5",
5+
"arrowParens": "avoid",
6+
"importOrder": [
7+
"<THIRD_PARTY_MODULES>",
8+
"interface",
9+
"(?=content|api)",
10+
"context/",
11+
"mock/",
12+
"config",
13+
"utils/",
14+
"hooks/",
15+
"(components/|./index)",
16+
".svg",
17+
"^../(.*)$",
18+
"(?=./styles.module.scss)"
19+
],
20+
"endOfLine": "auto",
21+
"importOrderSeparation": true,
22+
"importOrderSortSpecifiers": true,
23+
"plugins": [
24+
"@trivago/prettier-plugin-sort-imports"
25+
]
26+
}
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
// .eslintrc.js
2+
import eslintConfigPrettier from 'eslint-config-prettier';
3+
4+
export default [eslintConfigPrettier];

lesson_27/josephs_template/index.html

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
<!doctype html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8" />
5+
<link rel="icon" type="image/x-icon" href="/favicon.ico" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7+
<title>Code Different - Cohort 24Q1</title>
8+
</head>
9+
<body>
10+
<div id="root"></div>
11+
<script type="module" src="/src/main.tsx"></script>
12+
</body>
13+
</html>

0 commit comments

Comments
 (0)