Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Connected frontEnd with BackEnd #124

Merged
merged 3 commits into from
Oct 6, 2024
Merged

Conversation

Abhishek-TG18
Copy link
Contributor

Pull Request Format

PR Title

Issue #91 : I Connect FrontEnd Auth with Backend solved

Type of PR

  • Add X in the box to specify the improvement type.
  • Bug fix
  • Feature enhancement
  • Documentation update
  • Other (specify): ___________

Description

This PR implements the authentication feature for the application, including user signup, login, and session management using JWT tokens. The feature enables users to create an account, log in, and access protected routes.

Checklist

  • Add X in the box to specify.
  • I have performed a self-review of my code.
  • [X ] I have tested the changes thoroughly before submitting this pull request.
  • I have provided relevant issue numbers, screenshots, and videos after making the changes.
  • [ X] I have commented my code, particularly in hard-to-understand areas.

Important Notes Before Reviewing the PR

Environment Setup:

Ensure that your local environment is set up correctly. You need to have Node.js and MongoDB installed and running.
Make sure to configure the necessary environment variables in your .env file, including:
PORT: Port for the backend server (default is 5000).
MONGODB_URL: Connection string for MongoDB.
SECRET: Secret key for JWT.
CLIENT_URL: URL for frontend access.

CORS Configuration:

The backend is configured to allow CORS requests from the frontend. Make sure the frontend is running on the specified CLIENT_URL for successful API calls.
Adjust the CORS settings if you are deploying the application or testing from different origins.

Thank you for reviewing my pull request!

Copy link

vercel bot commented Oct 5, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
collect-your-gaming-tools ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 5, 2024 8:57am

@Abhishek-TG18
Copy link
Contributor Author

@swaraj-das
Could you please explain me that what's wrong with this PR

@swaraj-das
Copy link
Owner

@AnitSarkar123 check it what's wrong

@AnitSarkar123
Copy link
Collaborator

@swaraj-das
Could you please explain me that what's wrong with this PR

Could you please give a demo vedio of registration working

Copy link
Collaborator

@AnitSarkar123 AnitSarkar123 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good but I require a demo vedio

@Abhishek-TG18
Copy link
Contributor Author

Sign.Up.for.GamingTools.-.Google.Chrome.2024-10-06.09-04-39.mp4
Collect.your.GamingTools.-.Google.Chrome.2024-10-06.09-05-05.mp4

Screenshot (103)

@AnitSarkar123
Copy link
Collaborator

@Abhishek-TG18 very good 👍 I will merge it today

@AnitSarkar123 AnitSarkar123 merged commit 363d603 into swaraj-das:main Oct 6, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants