- git clone
Run the server:
create .env
- cd client
- npm install
- npm run dev
Run the Client:
create .env
-
npm server
-
npm install
-
npm run dev
-
npx prisma migrate dev
part-1 [Server Configure]
-
- Clone Server Install dependencies and configure
.env
- Clone Server Install dependencies and configure
-
- Insatall
PostgreSQL
and connect to thedatabase
- Insatall
-
- Generate Gmail app for and configure it in
.evn
- Generate Gmail app for and configure it in
-
- Cloudinary Account creation and configure to .env`
-
- Create SSCL Commerce account and configure it to `
🔲 part-4 [Reusable+rtk+axios+]
⏩ No rtk operation were performed. ⏩ just performed the login and register operation based on react hook form
-
- Make Registration
-
- Add Validation using
zod
npm install zod
npm install @hookform/resolvers zod
- Add Validation using
-
- Setting Default Value and Custom Error Messages
-
- Setting Default Value Validation for Patient Registration
-
- Display Error Messages in Login Form
-
npm install @reduxjs/toolkit react-redux
-
npm install axios
-
- Create Dashboard test layout
Add axios base query
-
Default configuration :; axiosInstance.ts
-
[we need this for modifying req and res of user.]
🔲 part-3 [Login+ Logout + Register Functionable using server action]
-
- Create Patient Register Page
-
- Create User Login Page
-
- Get Input Field From Valuses Using React Hook Form
-
- Modify Patient Data into Form Data
-
- Register Patient Server Fuctionality
-
- Implement Login User Server Fuctionality
-
- Set Token in
Browser Local Storage
- Set Token in
-
- Retrive User info from
Browser Local Storage
- Retrive User info from
-
- Implement Logout Functionality
-
- Implement lazy loading to Navbar component
Project: