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

Final-capstone-Frontend : Doctor Appointment #13

Merged
merged 268 commits into from
Nov 22, 2023
Merged
Show file tree
Hide file tree
Changes from 250 commits
Commits
Show all changes
268 commits
Select commit Hold shift + click to select a range
ba2d971
For importing creatSlice and createAsyncThunk
DianaBeki Nov 7, 2023
16328e9
Add doctorSlice with createAsyncThunk for doctor CRUD operations
DianaBeki Nov 7, 2023
b8135e2
Update README.md
tajulafreen Nov 7, 2023
998dabc
Details page
DianaBeki Nov 7, 2023
0ea6589
Add margin top
DianaBeki Nov 7, 2023
2fb40bf
Install dependecies
DianaBeki Nov 7, 2023
654ae91
Sends post request to create new doctor on the server
DianaBeki Nov 7, 2023
9edb535
Sends requests for doctors
DianaBeki Nov 7, 2023
276565a
Retrieves list status and any error
DianaBeki Nov 7, 2023
36cb8f7
Create files
DianaBeki Nov 7, 2023
85f9a79
Fix linters
DianaBeki Nov 7, 2023
f34a99c
Define component for form to add doctor
DianaBeki Nov 7, 2023
b90c15b
Add import statements and create doctorlist functional component
DianaBeki Nov 7, 2023
b660b13
Implement Redux state accessfetching using useSelector and useEffect
DianaBeki Nov 7, 2023
ee7df53
Add page title and status messages for doctor list components
DianaBeki Nov 7, 2023
2faad5b
Implement the display of doctors with hover effect the data status is…
DianaBeki Nov 7, 2023
27b438d
Display a link component with a link
DianaBeki Nov 7, 2023
e4c5a35
Create container with specified gap and styling for alignment
DianaBeki Nov 7, 2023
df3250b
Display doctors specialization with appropriate text aligning
DianaBeki Nov 7, 2023
e6d0ec0
Fix linter errors
DianaBeki Nov 7, 2023
0ece216
Import doctor details and add form
DianaBeki Nov 9, 2023
334defa
Import doctor details and add form
DianaBeki Nov 9, 2023
59a13a3
Use display flex to style my container
DianaBeki Nov 9, 2023
acdb322
Merge pull request #3 from tajulafreen/doctor-list-page
DianaBeki Nov 9, 2023
7fe4a0a
Add add doctor form as function component
DianaBeki Nov 9, 2023
d5d9cc8
Initialize form state and redux selectors
DianaBeki Nov 9, 2023
6a3424d
Implement handleinputchange function to update form data dynamically
DianaBeki Nov 9, 2023
15e0c51
Implement handleformsubmit to dispatch createdoctor action on form su…
DianaBeki Nov 9, 2023
bb473cd
Render heading and error messages based on form submission status
DianaBeki Nov 9, 2023
3d94769
create form structure with input field for doctor's name
DianaBeki Nov 9, 2023
78f1cfe
Add input field for doctor's specialization
DianaBeki Nov 9, 2023
6c5a7e9
Add input field for doctor's image url
DianaBeki Nov 9, 2023
be27f7f
Add input field for doctor's fee
DianaBeki Nov 9, 2023
3f1a357
Add input field for doctor's bio
DianaBeki Nov 9, 2023
0cc5d63
Create submit button with dynamic text based on form submission status
DianaBeki Nov 9, 2023
4c89c1a
Fix linter errors
DianaBeki Nov 9, 2023
ca15121
Add hover to background color in submit button
DianaBeki Nov 9, 2023
60a67dc
Fix linters error
DianaBeki Nov 9, 2023
30193e5
Merge pull request #4 from tajulafreen/add-doctor-form
tajulafreen Nov 9, 2023
94831cd
Initialize DoctorDetails component and import dependencies
kit0-0 Nov 9, 2023
12a2ceb
Define DoctorDetails component functionality
kit0-0 Nov 9, 2023
1bdfbc5
Handle loading state in DoctorDetails component
kit0-0 Nov 9, 2023
86f34f7
Handle failed state in DoctorDetails component
kit0-0 Nov 9, 2023
db0fce1
Handle doctor not found state in DoctorDetails component
kit0-0 Nov 9, 2023
dcc037b
Display doctor details in DoctorDetails component
kit0-0 Nov 9, 2023
7c13d26
Merge pull request #5 from tajulafreen/feat/doctordetails
kit0-0 Nov 9, 2023
3541000
update signin
tajulafreen Nov 9, 2023
20b761a
add react-router
tajulafreen Nov 9, 2023
cb45673
add user folder
tajulafreen Nov 9, 2023
ddcc0ff
add user slice
tajulafreen Nov 9, 2023
9d36031
add signin function
tajulafreen Nov 9, 2023
f7db832
solve linter issue
tajulafreen Nov 9, 2023
a960ca0
add handle sign in function
tajulafreen Nov 9, 2023
ffb8cf5
add sign in form
tajulafreen Nov 9, 2023
f20b0ce
add input
tajulafreen Nov 9, 2023
d02215f
add password input
tajulafreen Nov 9, 2023
8648f95
add submit button
tajulafreen Nov 9, 2023
6cd97f5
export signin form
tajulafreen Nov 9, 2023
3b67920
import axios
tajulafreen Nov 9, 2023
20a4696
add signup function
tajulafreen Nov 9, 2023
651a41a
add signin function
tajulafreen Nov 9, 2023
d9f2e4a
add user slice
tajulafreen Nov 9, 2023
be5f4d0
solve linter issue
tajulafreen Nov 9, 2023
f4e4117
add cases
tajulafreen Nov 9, 2023
10d0b37
solve linters
tajulafreen Nov 9, 2023
d89f67d
export states
tajulafreen Nov 9, 2023
fae80e0
update state
tajulafreen Nov 9, 2023
0a0ae0f
import states
tajulafreen Nov 9, 2023
e4225be
solve the linter issue
tajulafreen Nov 9, 2023
bbbd1f1
add sign up form
tajulafreen Nov 9, 2023
296d593
add try and catch
tajulafreen Nov 9, 2023
a3d8016
add form
tajulafreen Nov 9, 2023
b4b738f
add input name
tajulafreen Nov 9, 2023
a67fffc
update signin file
tajulafreen Nov 9, 2023
dd25702
add input email
tajulafreen Nov 9, 2023
8dc700a
add input password
tajulafreen Nov 9, 2023
c956c48
add submit button
tajulafreen Nov 9, 2023
a894694
export signup form
tajulafreen Nov 9, 2023
fa34157
solve linter issue
tajulafreen Nov 9, 2023
eb92194
update file
tajulafreen Nov 9, 2023
04af8c5
add linters
tajulafreen Nov 9, 2023
9d05cea
Add margin top bottom to list item for mobile version responsiveness
DianaBeki Nov 9, 2023
4614e12
update app.js
tajulafreen Nov 9, 2023
3377aa7
update app.js
tajulafreen Nov 9, 2023
41e8e55
add route
tajulafreen Nov 9, 2023
08a7e47
add signup route
tajulafreen Nov 9, 2023
18eb823
Update URL for host
DianaBeki Nov 10, 2023
0e74eef
write to responsiveness
DianaBeki Nov 10, 2023
19926e4
Add form for adding new doctors
DianaBeki Nov 10, 2023
bd6156d
Add green background hover effect to button
DianaBeki Nov 10, 2023
4c45ad4
Notification message added when user created account
katfogy Nov 10, 2023
79d526f
Added reset field when user is added successfully
katfogy Nov 10, 2023
3b83454
update store.js
tajulafreen Nov 10, 2023
1fd8002
update function
tajulafreen Nov 10, 2023
451f22d
remove push
tajulafreen Nov 10, 2023
f9910c6
add link
tajulafreen Nov 10, 2023
35a20ec
add error messsages
tajulafreen Nov 10, 2023
723e718
Merge pull request #6 from tajulafreen/login-page
tajulafreen Nov 10, 2023
ac843c0
add delete doctor page
tajulafreen Nov 10, 2023
e0f6a94
add useeffect
tajulafreen Nov 10, 2023
263b670
add handle delete function
tajulafreen Nov 10, 2023
e95c09f
add status
tajulafreen Nov 10, 2023
bb17004
solve the linter errors
tajulafreen Nov 10, 2023
3749f4f
add styleling
tajulafreen Nov 10, 2023
ac3c7a7
update deletepage
tajulafreen Nov 10, 2023
6f52ba1
Update URL
DianaBeki Nov 11, 2023
7271d74
Update image property
DianaBeki Nov 11, 2023
2cb2f02
Fix linters error
DianaBeki Nov 11, 2023
bfa9d5f
Add flex wrap property to container
DianaBeki Nov 11, 2023
691f8d0
port changed from 4000 to 3000
katfogy Nov 11, 2023
bbc10b4
Thunk file created
katfogy Nov 11, 2023
529088c
reservation slice created
katfogy Nov 11, 2023
4466e24
reservation slice added in the store
katfogy Nov 11, 2023
ca95e1e
add delete page
tajulafreen Nov 11, 2023
f9545c6
update doctorslice
tajulafreen Nov 13, 2023
b00133b
reservation and new reserve done
katfogy Nov 13, 2023
d647dd4
Implement delete button
DianaBeki Nov 13, 2023
19f2da1
update package.json'
tajulafreen Nov 13, 2023
a008074
add style
tajulafreen Nov 13, 2023
fdc49b0
update the url
tajulafreen Nov 13, 2023
773078a
add styling for image
tajulafreen Nov 13, 2023
e8f0ae9
Merge pull request #7 from tajulafreen/delete-page
tajulafreen Nov 13, 2023
803c940
add server
tajulafreen Nov 13, 2023
46b942e
give the path
tajulafreen Nov 13, 2023
9e1f2da
update reservations
tajulafreen Nov 13, 2023
ea28122
add if else condition
tajulafreen Nov 13, 2023
995b81b
add-navigation
tajulafreen Nov 13, 2023
f9ff0c2
change email to name
tajulafreen Nov 13, 2023
cfd9139
upddate the actions
tajulafreen Nov 13, 2023
9c48235
Update SideNav.js
katfogy Nov 14, 2023
5adc26b
add id in SideNav.js
katfogy Nov 14, 2023
827acb4
Update myReservations.js
katfogy Nov 14, 2023
bc51ab6
add use effect
katfogy Nov 14, 2023
2908311
remove handle
katfogy Nov 14, 2023
f6e1430
add handle canceletion
katfogy Nov 14, 2023
1b7f003
remove unnessecary styling
katfogy Nov 14, 2023
4308b8d
add table styling
katfogy Nov 14, 2023
7b4bb83
Update styling
katfogy Nov 14, 2023
2bb35e3
add table names
katfogy Nov 14, 2023
5d23036
Update newReservation.js
katfogy Nov 14, 2023
154e996
add imports
katfogy Nov 14, 2023
8f7613d
Update newReservation function
katfogy Nov 14, 2023
013ff99
make changes in new reservation function
katfogy Nov 14, 2023
ee8dfb9
add user id
katfogy Nov 14, 2023
7f7d7ba
getting user id
katfogy Nov 14, 2023
9f1b88d
add if condition
katfogy Nov 14, 2023
8d22259
add user id condition
katfogy Nov 14, 2023
76ddede
add try method
katfogy Nov 14, 2023
173e2b5
Update try
katfogy Nov 14, 2023
986f4a2
Update option doctor method
katfogy Nov 14, 2023
d954104
Update error message
katfogy Nov 14, 2023
c05b10a
Update reservationSlice.js
katfogy Nov 14, 2023
db425b4
Update reservationSlice
katfogy Nov 14, 2023
d303f23
Update reservationSlice case
katfogy Nov 14, 2023
048972f
add fetch reservation case
katfogy Nov 14, 2023
4f26154
Update reservationSlice rejected case
katfogy Nov 14, 2023
00e5f82
Update rejected case and message
katfogy Nov 14, 2023
b764dd6
Update thunk.js
katfogy Nov 14, 2023
0ab509b
change to local storage
tajulafreen Nov 14, 2023
bd735a4
update new reservation
tajulafreen Nov 14, 2023
5afc639
update thunk.js
tajulafreen Nov 14, 2023
8858c3b
add local storage
tajulafreen Nov 14, 2023
856464b
Update userSlice.js
katfogy Nov 14, 2023
1fbeedf
import axios
katfogy Nov 14, 2023
3f36b6f
Update try method
katfogy Nov 14, 2023
5a94d0a
add return response
katfogy Nov 14, 2023
0dc6650
Update state
katfogy Nov 14, 2023
5fa6c2c
add select user
katfogy Nov 14, 2023
6386e17
Merge branch 'dev' into reserve
katfogy Nov 14, 2023
f86143d
add window load
tajulafreen Nov 14, 2023
0fd1545
Merge pull request #8 from tajulafreen/reserve
katfogy Nov 14, 2023
8815347
Styling components
DianaBeki Nov 15, 2023
39f2332
Update background color
DianaBeki Nov 15, 2023
38794e1
Add margin left to containernav
DianaBeki Nov 15, 2023
97d7cd9
Add fixed position to sidenav container and its hidden in mobile version
DianaBeki Nov 15, 2023
d5fa4af
Use display flex to display flex items in colimns
DianaBeki Nov 15, 2023
3b55c30
Add padding top bottom to style button
DianaBeki Nov 15, 2023
b2cdfeb
Add margin auto to div container
DianaBeki Nov 15, 2023
6fcb566
Add padding property to container
DianaBeki Nov 15, 2023
5b2a0a9
Write media queries for responsiveness
DianaBeki Nov 15, 2023
6775611
Fix the No doctors Addedgit add message to only display when there a…
DianaBeki Nov 15, 2023
2a50e86
Fix no doctor available issue to ensure messages appears only when th…
DianaBeki Nov 15, 2023
34482db
Integrate global toast container for user notifications
DianaBeki Nov 15, 2023
7c02b2f
Implement toast notification for successful doctor addition
DianaBeki Nov 15, 2023
cc9e716
add pagination
tajulafreen Nov 19, 2023
44b4a6e
add views per page
tajulafreen Nov 19, 2023
0a8a82b
add disable color
tajulafreen Nov 19, 2023
e891bab
add styling for buttons
tajulafreen Nov 19, 2023
289af0c
Merge pull request #9 from tajulafreen/carousel
tajulafreen Nov 19, 2023
e345ce1
Write test for add doctor form file
tajulafreen Nov 19, 2023
985e74e
Write test for delete doctor file
tajulafreen Nov 19, 2023
352e6b3
Write test for doctor fdetails file
tajulafreen Nov 19, 2023
6732b03
Write test for doctor list file
tajulafreen Nov 19, 2023
a4403fe
Write test formy reservation file
tajulafreen Nov 19, 2023
cb1de80
Write test for new reservation file
tajulafreen Nov 19, 2023
82fd1cf
Write test for side nav file
tajulafreen Nov 19, 2023
66f9030
create snapshots and solve error related route
tajulafreen Nov 19, 2023
03e5084
write test for signup and signin file
tajulafreen Nov 19, 2023
9f5c3b2
Merge pull request #10 from tajulafreen/test
tajulafreen Nov 20, 2023
358974d
Add margin left for large screen
DianaBeki Nov 20, 2023
2d4f04d
Implement responsive navigation sidebar
DianaBeki Nov 20, 2023
820d240
Write responsive media queries for menu bar
DianaBeki Nov 20, 2023
084554a
Write media queries for responsiveness
DianaBeki Nov 20, 2023
555797c
Import css file for use
DianaBeki Nov 20, 2023
4e6da2b
add carousel
tajulafreen Nov 20, 2023
9cc00e5
Add margin top to social container
DianaBeki Nov 20, 2023
af972a7
Use display flex property for my list items
DianaBeki Nov 20, 2023
e7e9e9c
Add margin left
DianaBeki Nov 20, 2023
6328614
Merge branch 'dev' into styling-pages
DianaBeki Nov 20, 2023
d09965d
Merge pull request #11 from tajulafreen/styling-pages
DianaBeki Nov 20, 2023
3b34b6d
add navbar
tajulafreen Nov 20, 2023
d45c547
add navbar link
tajulafreen Nov 20, 2023
c60f2f2
add navbar link
tajulafreen Nov 20, 2023
283fb90
Use display flex to style form
DianaBeki Nov 20, 2023
16f13ad
Use flexbox to style form
DianaBeki Nov 20, 2023
c6a926b
Update placeholder
DianaBeki Nov 20, 2023
171cc91
Use flexbox to style compponents and make it responsive
DianaBeki Nov 20, 2023
fab433c
Add padding
DianaBeki Nov 21, 2023
8051cc0
import logout from slice
DianaBeki Nov 21, 2023
55b2276
Add logout function in redux
DianaBeki Nov 21, 2023
5d16507
Declare handle logout function to dispatch action
DianaBeki Nov 21, 2023
d3d42a1
Add margin top to large screen
DianaBeki Nov 21, 2023
27a1407
add styles on details page
tajulafreen Nov 21, 2023
384b7a0
add padding
tajulafreen Nov 21, 2023
588b1a1
add margin
tajulafreen Nov 21, 2023
75a79c7
modify styles
tajulafreen Nov 21, 2023
29411c9
add margin in navbar
tajulafreen Nov 21, 2023
7044551
add project name
tajulafreen Nov 21, 2023
dd8ee37
add margin
tajulafreen Nov 21, 2023
6d10231
add padding
tajulafreen Nov 21, 2023
2b58e83
use flexbox
tajulafreen Nov 21, 2023
a18052d
add margin
tajulafreen Nov 21, 2023
6b26814
Add handle submit function to submit form when button is clicked
DianaBeki Nov 21, 2023
cb0b397
Initialize form state and dispatch in component
DianaBeki Nov 21, 2023
2671717
Use map array that return each list of doctor
DianaBeki Nov 21, 2023
8b11176
Dispatch handleDelete function to delete doctor onclick
DianaBeki Nov 21, 2023
2e7559b
Use doctor details to show details for doctor list
DianaBeki Nov 21, 2023
a1e939a
Integrate redux state and routing in components
DianaBeki Nov 21, 2023
ca46ecf
Declare paginate function for doctor list
DianaBeki Nov 21, 2023
76f27e4
Implement dynamic pagination
DianaBeki Nov 21, 2023
7bc0725
Implement sidenav component
DianaBeki Nov 21, 2023
14b327b
Implement responsive navigation and logout functionality
DianaBeki Nov 21, 2023
1a7dfe9
add linters
tajulafreen Nov 21, 2023
a8162d1
Merge pull request #12 from tajulafreen/delete-reserve
tajulafreen Nov 21, 2023
80c896f
Update documentation
DianaBeki Nov 21, 2023
f9c8325
Update documentation
DianaBeki Nov 21, 2023
1817bc7
Update documentation
DianaBeki Nov 21, 2023
0b5d41b
update readme
tajulafreen Nov 21, 2023
892946b
Fix the required changes
DianaBeki Nov 22, 2023
171b31e
Merge branch 'dev' of github.com:tajulafreen/Final-capstone-Frontend …
DianaBeki Nov 22, 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
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"@babel/preset-react",
"@babel/preset-env"
],
"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 [email protected] [email protected] [email protected] [email protected] [email protected] [email protected] @babel/[email protected] @babel/[email protected] @babel/[email protected] @babel/[email protected] @babel/[email protected]
[ -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 [email protected] [email protected] [email protected] [email protected]
[ -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
package-lock.json
# 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"]
}
159 changes: 158 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,158 @@
# Final-capstone-Frontend
<a name="readme-top"></a>
DianaBeki marked this conversation as resolved.
Show resolved Hide resolved

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • In this review iteration, one test is failing:

image

Kindly correct it. 👍


<div align="center">

<br/>
<h1>Doctor Appointment</h1>

</div>

## 📗 Table of Contents

- [📖 About the Project](#about-project)
- [Schema](#ER-diagram)
- [🛠 Built With ](#-built-with-)
- [Tech Stack ](#tech-stack-)
- [Key Features ](#key-features-)
- [🚀 Live Demo](#live-demo)
- [Kanban Board](#kanban)
- [💻 Getting Started ](#-getting-started-)
- [Prerequisites](#prerequisites)
- [Setup](#setup)
- [Run Tests](#run-tests)
- [👥 Authors ](#-authors-)
- [🔭 Future Features:](#-future-features)
- [🤝 Contributing ](#-contributing-)
- [⭐️ Show your support ](#️-show-your-support-)
- [🙏 Acknowledgments ](#-acknowledgments-)
- [📝 License ](#-license-)

# Final-capstone-Frontend <a name="about-project"></a>

It's an Online Doctor Reservation web application designed to provide users with the ability to reserve, view, and manage doctors and doctor appointment reservation . The system aims to streamline the process of finding and booking doctors from various locations

#### Link to [Backend](https://github.com/tajulafreen/Final-capstone-Backend/pull/23)

## 🛠 Built With <a name="built-with"></a>

### Tech Stack <a name="tech-stack"></a>

<details>
<summary>Framework</summary>
<ul>
<li><a href="https://react.dev/">React</a></li>
<li><a href="https://redux.js.org/">Redux</a></li>
<li><a href="#">CSS</a></li>
</ul>
</details>

### Key Features <a name="key-features"></a>

1-User Access: The system allows users to create accounts and log in
2-Doctor reservation: hospitals can list their available doctors. Each listing includes details such as doctors name, date, and location.
3-Reservation Management: Users can view available doctors at different locations and make reservations
4-Add and delete doctors in including location

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## 🚀 Live Demo <a name="live-demo"></a>

- This is 'Book Doctor'<a href="">Live Demo Link</a>

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## 🎬 Kanban Board <a id="kanban"></a>

Link to the [Kanban Board](https://github.com/tajulafreen/Final-capstone-Backend/projects/1)

All 4 Authors have been contributing to this project from start to finish

You can find the initial snapshot and setup of the Kanban board [here]().

## 💻 Getting Started <a name="getting-started"></a>

### Prerequisites

In order to run this project you need:

- Installed Git.
- Installed React
- Installed Redux
- Create a local directory that you want to clone the repository.
- Open the command prompt in the created directory.
- On the terminal run this command git clone [email protected]:tajulafreen/Final-capstone-Frontend.git

### Setup

Clone this repository to your desired folder:

```sh
git clone [email protected]:tajulafreen/Final-capstone-Frontend.git
```

```sh
cd Final-capstone-Frontend
```

````

```sh
npm install
````

```sh
npm start
```

## 👥 Authors <a name="authors"></a>

Collaborators.

## 👥 Author <a name="authors"></a>

👤 **Tajul Afreen**
- GitHub: [@githubhandle](https://github.com/tajulafreen)
- LinkedIn: [LinkedIn](https://www.linkedin.com/in/tajul-afreen/)

👤 **Diana Beki**

- GitHub: [Diana Beki](https://github.com/DianaBeki)
- LinkedIn: [Diana Beki](https://www.linkedin.com/in/diana-beki-b49684230/)

<p align="right">(<a href="#readme-top">back to top</a>)</p>

# 🔭 Future Features:

- Proper authentication
- Authorization


## 🤝 Contributing <a name="contributing"></a>

Contributions, issues, and feature requests are welcome!

Feel free to check the [issues page]().

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## ⭐️ Show your support <a name="support"></a>

If you liked this project, give it a ⭐️ and kindly send to me an e-mail expressing it, it would make our day and fuel our motivation.

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## 🙏 Acknowledgments <a name="acknowledgements"></a>

Hats off to Murat Korkmaz for designing the awesome template that inspired us to create this project. ✨
Microverse for giving us this chance
The amazing code reviewers for making us improve every day 👍

Original design idea by [Murat Korkmaz on Behance](https://www.behance.net/gallery/26425031/Vespa-Responsive-Redesign).

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## 📝 License <a name="license"></a>

This project is [MIT](./LICENSE) licensed.

<p align="right">(<a href="#readme-top">back to top</a>)</p>
81 changes: 81 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "capstone",
"version": "0.1.0",
"private": true,
"dependencies": {
"@material-tailwind/react": "^2.0.8",
"@reduxjs/toolkit": "^1.9.5",
"@testing-library/jest-dom": "^5.17.0",
"@testing-library/react": "^13.4.0",
"@testing-library/user-event": "^13.5.0",
"autoprefixer": "^10.4.14",
"axios": "^1.4.0",
"bootstrap": "^5.3.1",
"postcss": "^8.4.27",
"primereact": "^10.0.9",
"prop-types": "^15.8.1",
"react": "^18.2.0",
"react-bootstrap": "^2.8.0",
"react-dom": "^18.2.0",
"react-icons": "^4.10.1",
"react-redux": "^8.1.2",
"react-router": "^6.18.0",
"react-router-dom": "^6.14.2",
"react-scripts": "5.0.1",
"react-spinners": "^0.13.8",
"react-test-renderer": "^18.1.0",
"react-toastify": "^9.1.3",
"redux": "^4.2.1",
"redux-mock-store": "^1.5.4",
"redux-thunk": "^2.4.2",
"swiper": "^11.0.4",
"tailwindcss": "^3.3.3"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test --transformIgnorePatterns \"node_modules/(?!axios)/\"",
"eject": "react-scripts eject",
"predeploy": "npm run build",
"lint": "eslint \"**/*.{js,jsx}\" --fix && stylelint \"**/*.{css,scss}\" --fix",
"deploy": "gh-pages -d build"
},
"eslintConfig": {
"extends": [
"react-app",
"react-app/jest"
]
},
"browserslist": {
"production": [
">0.2%",
"not dead",
"not op_mini all"
],
"development": [
"last 1 chrome version",
"last 1 firefox version",
"last 1 safari version"
]
},
"devDependencies": {
"@babel/core": "^7.23.3",
"@babel/eslint-parser": "^7.23.3",
"@babel/plugin-syntax-jsx": "^7.23.3",
"@babel/preset-env": "^7.23.3",
"@babel/preset-react": "^7.23.3",
"babel-eslint": "^10.1.0",
"babel-jest": "^29.6.2",
"eslint": "^7.32.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-plugin-import": "^2.29.0",
"eslint-plugin-jsx-a11y": "^6.8.0",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"gh-pages": "^5.0.0",
"stylelint": "^13.13.1",
"stylelint-config-standard": "^21.0.0",
"stylelint-csstree-validator": "^1.9.0",
"stylelint-scss": "^3.21.0"
}
}
Binary file added public/Favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading