Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full-Stack Capstone - Book an appointment application. #14

Merged
merged 76 commits into from
Dec 14, 2023
Merged
Show file tree
Hide file tree
Changes from 53 commits
Commits
Show all changes
76 commits
Select commit Hold shift + click to select a range
516cb44
Initital react app install
tan12082001 Dec 1, 2023
e078ccd
Install babel, stylelint and eslint linters
tan12082001 Dec 1, 2023
bd85ea0
Installed toolkit,axios,router-dom,logger.
tan12082001 Dec 4, 2023
55aff45
Fix linter errors, remove unused files,
tan12082001 Dec 4, 2023
ed4b66d
Merge pull request #1 from tan12082001/initial-project-setup
tan12082001 Dec 4, 2023
05264e7
Routes and Components
Simpleshaikh1 Dec 5, 2023
424e575
Merge pull request #2 from tan12082001/Routing
tan12082001 Dec 5, 2023
bd900cd
Fix linter errors and add prop validations
tan12082001 Dec 5, 2023
e6b9908
Update the sign up form with components
tan12082001 Dec 5, 2023
c00b452
configure local store
tan12082001 Dec 6, 2023
c1343e4
create async methods for signup, login, logout and
tan12082001 Dec 6, 2023
1ca662f
Update the signIn form with components
tan12082001 Dec 6, 2023
0eb5b60
Use the HideableTextFormField component
tan12082001 Dec 6, 2023
55000e0
Merge pull request #3 from tan12082001/login-signup-components
tan12082001 Dec 6, 2023
72ca957
Update the reserve cars routes and add img
tan12082001 Dec 7, 2023
ad1ba85
Eslint linters fix
tan12082001 Dec 7, 2023
fccd2d4
create Slice method for the reservation
tan12082001 Dec 7, 2023
26b9778
Create reserver car model,
tan12082001 Dec 7, 2023
67da189
Update the form components with date picker method
tan12082001 Dec 7, 2023
11a52bd
Install datepicker, format and add styles.
tan12082001 Dec 7, 2023
025c50a
Navigation and Pages
Simpleshaikh1 Dec 7, 2023
c1210e3
Merge branch 'dev' of https://github.com/tan12082001/Vehicle-Booking-…
Simpleshaikh1 Dec 7, 2023
ed2ed6c
sidenav
Simpleshaikh1 Dec 7, 2023
bb7b534
Update async functions
tan12082001 Dec 8, 2023
af47e6d
Check api endpoints for user login and signup.
tan12082001 Dec 8, 2023
df62dc1
Merge pull request #5 from tan12082001/Pages
Simpleshaikh1 Dec 8, 2023
5e88ee4
Display Item Page and Each Item upon click
Simpleshaikh1 Dec 8, 2023
e19344c
remove unused images.
tan12082001 Dec 8, 2023
ee2971e
Add async thunk method to fetch my reservations
tan12082001 Dec 8, 2023
bb89b02
Update the My reservations component and styles
tan12082001 Dec 8, 2023
0858949
Merge pull request #6 from tan12082001/Display-Item
Simpleshaikh1 Dec 8, 2023
b35569e
Merge pull request #7 from tan12082001/my-reservations-feature
tan12082001 Dec 8, 2023
12bb5d8
Merge branch 'dev' into reserve-item-component
tan12082001 Dec 8, 2023
48a03ec
Merge pull request #4 from tan12082001/reserve-item-component
tan12082001 Dec 8, 2023
4957061
Implement delete car feature(changes the badge)
tan12082001 Dec 8, 2023
e0387eb
Add fetch cars and delete car async thunk methods
tan12082001 Dec 8, 2023
98a84b1
Update the redirection routes for signin, signup.
tan12082001 Dec 8, 2023
c041c9e
Added New Car Page
Simpleshaikh1 Dec 9, 2023
7e3a62a
Merge branch 'dev' of https://github.com/tan12082001/Vehicle-Booking-…
Simpleshaikh1 Dec 9, 2023
0ef9dc4
Used the api calls data instead of mock data & update
tan12082001 Dec 9, 2023
b669462
Update README
tan12082001 Dec 10, 2023
4aae196
Added Image Field
Simpleshaikh1 Dec 10, 2023
67a8577
Add kanban board image
tan12082001 Dec 10, 2023
7fd31a5
Merge pull request #9 from tan12082001/AddNewCar
tan12082001 Dec 10, 2023
83b04ca
Merge pull request #11 from tan12082001/readme-documentation
tan12082001 Dec 10, 2023
6cfa7ec
Merge branch 'dev' of https://github.com/tan12082001/Vehicle-Booking-…
tan12082001 Dec 10, 2023
2155091
Update changes after check
tan12082001 Dec 10, 2023
e4de044
Merge pull request #8 from tan12082001/delete-item-feature
tan12082001 Dec 10, 2023
c698b5e
styling
Simpleshaikh1 Dec 12, 2023
aa87051
linters error cleared
Simpleshaikh1 Dec 12, 2023
a42eea8
Add Test suites for components using Jest
tan12082001 Dec 12, 2023
2b2198e
Merge pull request #12 from tan12082001/Style
tan12082001 Dec 12, 2023
e1c1899
Merge pull request #13 from tan12082001/component-tests
tan12082001 Dec 12, 2023
42cd755
Update the state, add styles.
tan12082001 Dec 12, 2023
ff03823
snapshots update after bug fix updates
tan12082001 Dec 12, 2023
a85be6d
Fix form component id,classname warnings
tan12082001 Dec 13, 2023
a3d4143
fix car name display bug
tan12082001 Dec 13, 2023
8956b8e
Merge pull request #15 from tan12082001/bugs-fix/styles
Simpleshaikh1 Dec 13, 2023
12045d0
Dashboard Styling
Simpleshaikh1 Dec 13, 2023
ca57190
fix state usage and dispatch method bugs
tan12082001 Dec 13, 2023
58b80b3
Eslint linter fix
tan12082001 Dec 13, 2023
961bc02
add breakpoint styles for the landing page
tan12082001 Dec 14, 2023
bfa5da3
Add breakpoint styles for few components
tan12082001 Dec 14, 2023
2aa0bfa
update the styles for a component
tan12082001 Dec 14, 2023
0be3137
Merge pull request #16 from tan12082001/Style
Simpleshaikh1 Dec 14, 2023
e2d22bc
Update tests after rendering updates.
tan12082001 Dec 14, 2023
8e5f94e
Merge branch 'dev' of https://github.com/tan12082001/Vehicle-Booking-…
tan12082001 Dec 14, 2023
24ef800
Update the Datepicker to show value
tan12082001 Dec 14, 2023
2b8fc77
Merge pull request #17 from tan12082001/state-bug-fix
tan12082001 Dec 14, 2023
d4d1341
IMage
Simpleshaikh1 Dec 14, 2023
56006b1
updates
Simpleshaikh1 Dec 14, 2023
7120a84
Merge pull request #18 from tan12082001/Style
Wineshuga Dec 14, 2023
08ed0df
Update test cases
tan12082001 Dec 14, 2023
8c70b62
Update the failing test suites, update styles.
tan12082001 Dec 14, 2023
3a9f798
remove back colors
tan12082001 Dec 14, 2023
18e5aa3
Merge pull request #19 from tan12082001/fix-bugs-review-2
tan12082001 Dec 14, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"presets": [
"@babel/preset-react"
],
"plugins": ["@babel/plugin-syntax-jsx"]
}
35 changes: 35 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"env": {
"browser": true,
"es6": true,
"jest": true
},
"parser": "@babel/eslint-parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
},
"ecmaVersion": 2018,
"sourceType": "module"
},
"extends": ["airbnb", "plugin:react/recommended", "plugin:react-hooks/recommended"],
"plugins": ["react"],
"rules": {
"react/jsx-filename-extension": ["warn", { "extensions": [".js", ".jsx"] }],
"react/react-in-jsx-scope": "off",
"import/no-unresolved": "off",
"no-shadow": "off"
},
"overrides": [
{
// feel free to replace with your preferred file pattern - eg. 'src/**/*Slice.js' or 'redux/**/*Slice.js'
"files": ["src/**/*Slice.js"],
// avoid state param assignment
"rules": { "no-param-reassign": ["error", { "props": false }] }
}
],
"ignorePatterns": [
"dist/",
"build/"
]
}
45 changes: 45 additions & 0 deletions .github/workflows/linters.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Linters

on: pull_request

env:
FORCE_COLOR: 1

jobs:
eslint:
name: ESLint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Setup ESLint
run: |
npm install --save-dev eslint@7.x eslint-config-airbnb@18.x eslint-plugin-import@2.x eslint-plugin-jsx-a11y@6.x eslint-plugin-react@7.x eslint-plugin-react-hooks@4.x @babel/eslint-parser@7.x @babel/core@7.x @babel/plugin-syntax-jsx@7.x @babel/preset-env@7.x @babel/preset-react@7.x
[ -f .eslintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.eslintrc.json
[ -f .babelrc ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.babelrc
- name: ESLint Report
run: npx eslint "**/*.{js,jsx}"
stylelint:
name: Stylelint
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: "18.x"
- name: Setup Stylelint
run: |
npm install --save-dev stylelint@13.x stylelint-scss@3.x stylelint-config-standard@21.x stylelint-csstree-validator@1.x
[ -f .stylelintrc.json ] || wget https://raw.githubusercontent.com/microverseinc/linters-config/master/react-redux/.stylelintrc.json
- name: Stylelint Report
run: npx stylelint "**/*.{css,scss}"
nodechecker:
name: node_modules checker
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- name: Check node_modules existence
run: |
if [ -d "node_modules/" ]; then echo -e "\e[1;31mThe node_modules/ folder was pushed to the repo. Please remove it from the GitHub repository and try again."; echo -e "\e[1;32mYou can set up a .gitignore file with this folder included on it to prevent this from happening in the future." && exit 1; fi
23 changes: 23 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.

# dependencies
/node_modules
/.pnp
.pnp.js

# testing
/coverage

# production
/build

# misc
.DS_Store
.env.local
.env.development.local
.env.test.local
.env.production.local

npm-debug.log*
yarn-debug.log*
yarn-error.log*
20 changes: 20 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"extends": ["stylelint-config-standard"],
"plugins": ["stylelint-scss", "stylelint-csstree-validator"],
"rules": {
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"]
}
],
"scss/at-rule-no-unknown": [
true,
{
"ignoreAtRules": ["tailwind", "apply", "variants", "responsive", "screen"]
}
],
"csstree/validator": true
},
"ignoreFiles": ["build/**", "dist/**", "**/reset*.css", "**/bootstrap*.css", "**/*.js", "**/*.jsx"]
}
Loading