Giter Club home page Giter Club logo

doctor-appointmnet-system-mern-project's Introduction

doctor-appointmnet-system-mern-project's People

Contributors

techinfo-youtube avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

doctor-appointmnet-system-mern-project's Issues

Issue in momentjs while parsing time data from client to server

As described in the video momentjs was used to parse the raw data of time to general HH:mm format to store them in mongodb as a string inside the timings array
This was the task
but when moment js was used there was some issue with the timepicker some kind of bug which was not letting the user to choose the start time and end time , i have found this quite intimidating , I repeatedly tried every possible method but still no progress and the bug was unsolved untill i came across the dayjs package which was exactly like moment js and it was hopefully not showing that same time picking bug in the timepicker.rangepicker component of the antd . Along with that the moment js was also not formatting the time instead it was sending an object which had the raw data in it which was also quite confusing for me.

So this was my approach

  • First i removed the momentjs package using npm remove moment in /client dir
  • Then i installed the dayjs package using the npm install dayjs in /client dir
  • Changes made to Profile.jsx
    Screenshot 2023-04-30 223846
    Screenshot 2023-04-30 223926
    Screenshot 2023-04-30 223950

Changes according to this approach can be made to the applyDoctor.jsx also

Screenshot 2023-04-30 224728

This seems to solve my issue , if any one else is facing the same issue can go for dayjs
And to the author of this project
Thanks a lot for this amazing series on mern stack sir , I am now much more clear in the concepts. Your videos are pretty underrated and definitely full of knowledge after scowring thorugh the internet i found your channel and truly it was a blessing. Again thanks a lot deep down from my heart.

Error

getting axios error while registering the user error:500 what should i do?
WhatsApp Image 2023-06-22 at 6 12 36 PM

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.