Skip to content

Commit dfa0398

Browse files
XxcuriousxXsitarassSitarasCopilotdabouledidia
authored
Add Bookings ft (#7)
* added bookings * chore: navbar file * fix: useIntersectionObserver * added getRoutes (as driver || as passenger) func * chore: remove redundant file & missing await statements * refactor --> Routes to Ride fe & be * chore: naming updates * getRideById impl * chore: clean-up & define types * chore: comment fix * Update back-end/src/controllers/booking.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Update back-end/src/controllers/booking.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * feat: book seat fe * chore: pagination types * Update back-end/src/controllers/user.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: upgrade next.js to 16.0.1 * chore: update wrtch and improve refresh token handling * chore: migration zod v3 to v4 * feat: pagination at user getRides * feat: driver's data * feat: me/user-rides fe api * refactor: corrections * Update back-end/src/controllers/user.controller.ts Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * chore: linters on commit * chore: husky install * chore: lint configuration * chore: lint fe * chore: lint fe * Logout (#9) * logout feature * refactor: code improvements --------- Co-authored-by: sitaras <sitaras@thinkdesquared.com> --------- Co-authored-by: sitaras <sitaras@thinkdesquared.com> Co-authored-by: Dimitris Sitaras <45051550+Sitaras@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Dimitris Dimitropoulos <67782772+dabouledidia@users.noreply.github.com>
1 parent 10a3629 commit dfa0398

File tree

133 files changed

+3675
-4781
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+3675
-4781
lines changed

.husky/pre-commit

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
cd back-end && npx lint-staged
2+
cd ../front-end && npx lint-staged

back-end/.prettierrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"singleQuote": false,
3+
"trailingComma": "es5"
4+
}

back-end/eslint.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
import js from "@eslint/js";
2+
import tseslint from "typescript-eslint";
3+
4+
export default [
5+
js.configs.recommended,
6+
...tseslint.configs.recommended,
7+
{
8+
rules: {
9+
"@typescript-eslint/no-unused-vars": [
10+
"error",
11+
{
12+
argsIgnorePattern: "^_",
13+
varsIgnorePattern: "^_",
14+
destructuredArrayIgnorePattern: "^_",
15+
caughtErrors: "none",
16+
},
17+
],
18+
"no-console": "warn",
19+
"@typescript-eslint/no-explicit-any": "warn",
20+
},
21+
},
22+
];

0 commit comments

Comments
 (0)