Skip to content

Latest commit

 

History

History
61 lines (52 loc) · 2.52 KB

README.md

File metadata and controls

61 lines (52 loc) · 2.52 KB

DNA: Doctors Nexus Amity Web app

The Official repo of DNA web app designed and developed by Dr. Aghosh

Features

  • Authentication: JWT Http-only cookie
  • Design System: 2 Tier
  • User registration, OTP verification, Event registeration, Payment, Admin Dashboard

Frontend

  • React Ts Vite with Shadcn components
  • Dark mode available
  • Auto login: uses localstorage to trigger JWT authentication if user has signed in with same client before and not signed out
  • User profile and Dashboard - user edit some data.
  • OTP verification via email (phone available in backend but not enabled since twilio is not free)

Image 1Image 1 Image 1Image 1 Image 1Image 1 Image 1Image 1 Image 1

Backend

  • Django with DRF, corsheaders, simplejwt, (twilio, razerpay - disabled because its not free)
  • Middleware to get HTTP-Only cookies and set it as bearer token for DRF
  • Signals to assign unique DNA ID for every new registration and setup user profile
  • Apps
  • accounts - AbstractUser & UserProfile model with user validation logic and REST APIs
  • programs - Program & Event models with REST APIs
  • registration - Registration model with REST APIs
  • verification - OTP model with otp generation, sending, validation logic and REST APIs

Schema of the backend:

Image 1

Progress checklist

  • Backend jwt http-only cookies auth
  • Backend accounts, programs, registration, verification apps
  • Backend REST APIs
  • Backend DNA ID
  • Frontend Context APIs
  • Frontend mobile sidebar
  • Frontend darkmode
  • Frontend login and registration forms
  • Frontend otp verification
  • Backend email otp setup
  • Disable phone OTP verifiication
  • Close sidebar from clicking outside
  • Remove label and update placeholders in login/register forms
  • use useNavigate instead of href
  • create pages for events, privacy, terms and conditions, contact
  • Create smooth UI UX for inital loading of app
  • Payment page
  • Admin Dashboard
  • Docs webpage
  • Frontend Contact form with emailjs

Contact

Dr. Aghosh B Prasad
aghoshbprasad100@gmail.com