idurar / idurar-erp-crm

Open Source Headless ERP CRM E-Commerce Accounting Software | Node Js React
https://cloud.idurarapp.com/
Other
5.86k stars 1.73k forks source link

Login issue #1136

Open Sribabu-Mandraju opened 3 weeks ago

Sribabu-Mandraju commented 3 weeks ago

Hi everyone,

I'm currently stuck on the login section and need some help. Here's a detailed description of the problem:

Issue: The project requires users to log in to access the application, but there is no registration page or option available in both the front-end and back-end. This prevents new users from creating an account and logging in.

Steps Taken So Far:

Successfully cloned and set up the project on my local machine. Confirmed that the website is running locally. Attempted to access the login page, but no registration option is available. Environment:

Operating System: Windows 10 Browser: Chrome 90.0.4430.210 Node.js Version: 14.17.0 Project Version: 4.0.0 Expected Behavior:

There should be a registration page or an option to sign up for a new account. Users should be able to register, create an account, and log in to access the application. Actual Behavior:

There is no registration option on the login page or anywhere else in the application. Screenshots: No registration option on the login page:

Additional Information:

I've checked the project documentation and didn't find any instructions regarding user registration. Looking for guidance on how to add a registration page or enable user registration.

RaoUsama7 commented 3 weeks ago

Hi everyone,

I see that there's an issue with the login section, specifically the lack of a registration option for new users. I'd like to help resolve this problem.

Proposed Solution: Front-End:

Create a Registration Page: Add a new page for user registration with fields for username, email, and password. Form Validation: Implement basic validation for the registration form to ensure data integrity. Back-End:

API Endpoint: Develop an API endpoint for user registration that handles the creation of new user accounts. User Model: Ensure the user model in the database can handle the new user data and save it securely. Steps to Implement: Front-End:

Add a new registration component. Update the navigation to include a link to the registration page. Ensure the login page has a link to the registration page. Back-End:

Create a new route for user registration. Implement the logic to add new users to the database. Ensure password encryption for security.

Conclusion: By implementing the above solution, we can add a registration page and enable user registration, allowing new users to create accounts and access the application.

I am eager to take on this task and implement the necessary changes. Please assign this issue to me, and I will ensure it is handled promptly.

Best regards, Usama

RaoUsama7 commented 3 weeks ago

should I assign it to myself or you will ?

Sribabu-Mandraju commented 3 weeks ago

should we do it together

Sribabu-Mandraju commented 3 weeks ago

Hi @RaoUsama7

I hope you're doing well. I wanted to let you know that I'll be focusing on the frontend part of our project. Could you please take charge of developing the new API on the backend?

Thank you, and please let me know if you need any information or assistance.

Harshey-KS commented 3 weeks ago

Hello guys, will you create a pull request for this or share it here in the comments?

Harshey-KS commented 3 weeks ago

RegisterForm.jsx is already present in frontend/src/forms. Ig its just not connected

MSNoorul commented 3 weeks ago

https://github.com/MSNoorul/idurar-erp-crm/tree/doc/update-readme see the readme fill i give a details to how to login

Sribabu-Mandraju commented 3 weeks ago

Hi team,

For now, we will continue using the provided credentials for user registration. However, please be prepared for potential updates in the future.

RaoUsama7 commented 2 weeks ago

@Sribabu-Mandraju sure i will love to work on backend with you.

Sribabu-Mandraju commented 2 weeks ago

@RaoUsama7 sure, You can reach me through https://x.com/sribabuMandraju

Morel-D commented 2 weeks ago

Hello guys. I'll like to know has the login Issue being solved ?

Sohamnayak4 commented 2 weeks ago

username : admin@demo.com - password : admin123 Use these to login. It worked for me.

H9660 commented 2 weeks ago

Hi @RaoUsama7. I have implemented the desired registration functionality. You can check it here: https://github.com/idurar/idurar-erp-crm/pull/1140

RaoUsama7 commented 2 weeks ago

@H9660 sure onto it.

H9660 commented 2 weeks ago

Hi @RaoUsama7 . Have you reviewed the PR? Also I would like to know what other changes can be made in order to improve this?

FaizanKhan78 commented 1 week ago

Hi everyone,

I'm currently stuck on the login section and need some help. Here's a detailed description of the problem:

Issue: The project requires users to log in to access the application, but there is no registration page or option available in both the front-end and back-end. This prevents new users from creating an account and logging in.

Steps Taken So Far:

Successfully cloned and set up the project on my local machine. Confirmed that the website is running locally. Attempted to access the login page, but no registration option is available. Environment:

Operating System: Windows 10 Browser: Chrome 90.0.4430.210 Node.js Version: 14.17.0 Project Version: 4.0.0 Expected Behavior:

There should be a registration page or an option to sign up for a new account. Users should be able to register, create an account, and log in to access the application. Actual Behavior:

There is no registration option on the login page or anywhere else in the application. Screenshots: No registration option on the login page:

Additional Information:

I've checked the project documentation and didn't find any instructions regarding user registration. Looking for guidance on how to add a registration page or enable user registration.

use

Email as adim@demo.com Password adim123

Then it will login You successfully

H9660 commented 1 week ago

The registration page is connected here in https://github.com/idurar/idurar-erp-crm/pull/1140 Once admin approves it this could be merged to solve this issue once and for all.