ebraj / Accident-Detection-Web-App

🚨 CNN based Accident Detection and Emergency Response System
18 stars 4 forks source link

Login page email and password #4

Open sumanth-a5 opened 7 months ago

ebraj commented 7 months ago

Hi @sumanth-a5, the credentials I provided will not work as I used the MongoDB locally, , I have created the /register route, where you can register your account locally once MongoDB setup is done.

The other way

If you want to go to the dashboard without any auth simply comment out the middleware.ts code

sumanth-a5 commented 7 months ago

It giving error while logging into webpage

On Sun, Mar 17, 2024, 10:57 PM Untitled Ebraj @.***> wrote:

Hi @sumanth-a5 https://github.com/sumanth-a5, the credentials I provided will not work as I used the MongoDB locally, , I have created the /register route, where you can register your account locally once MongoDB setup is done.

— Reply to this email directly, view it on GitHub https://github.com/ebraj/Accident-Detection-Web-App/issues/4#issuecomment-2002546963, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB3N4NJ23IHTMYSFFX63DDDYYXHBZAVCNFSM6AAAAABE2LZFPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGU2DMOJWGM . You are receiving this because you were mentioned.Message ID: @.***>

ebraj commented 7 months ago

@sumanth-a5 Just comment out the code of the middleware file for now and you can visit dashboard. There is no register route in the frontend for now to register the account. But there is register route in the backend, if you want you can use the postman to create your account. I will add the register page soon in the frontend XD.

sumanth-a5 commented 7 months ago

It is not even entering into the login page after creating the .env file

On Sun, Mar 17, 2024, 11:09 PM Untitled Ebraj @.***> wrote:

@sumanth-a5 https://github.com/sumanth-a5 Just comment out the code of the middleware for now and you can visit dashboard. There is no register route in the frontend for now to register the account. But there is register route in the backend, if you want you can use the postman to create your account. I will add the register page soon in the frontend XD.

— Reply to this email directly, view it on GitHub https://github.com/ebraj/Accident-Detection-Web-App/issues/4#issuecomment-2002550441, or unsubscribe https://github.com/notifications/unsubscribe-auth/BB3N4NJISUOI35QUDK5DD63YYXIODAVCNFSM6AAAAABE2LZFPOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBSGU2TANBUGE . You are receiving this because you were mentioned.Message ID: @.***>

ebraj commented 7 months ago

If you want to go to the dashboard without any auth simply comment out the middleware.ts code

Follow this temporary steps for now!