Manishkr1007 / WordWeaver

https://word-weaver-rho.vercel.app
MIT License
3 stars 4 forks source link

Change the backend and connect to mongodb by replacing appwrite #12

Open Manishkr1007 opened 2 days ago

Manishkr1007 commented 2 days ago

Create a backend file and add server and make all data store in mongodb as database

AayushiJapsare15 commented 16 hours ago

Hello @Manishkr1007 ,

I would love to take on this issue and contribute by integrating MongoDB to store all relevant data. Here’s my plan:

Signup:

I will create a MongoDB schema that stores the full name, email, and password, mirroring the current signup page functionality. Using Tailwind CSS, I will add extra constraints on password validation for improved security. Login:

The login page will ask for the email and password, and I will authenticate the user using JWT and bcrypt for password hashing and verification. Alternatively, we can implement session-based authentication using cookies or session IDs. Blog Details:

For blog content, I will create a MongoDB schema to store all textual data. Since images cannot be stored in MongoDB and local storage is not ideal, I will integrate a cloud storage solution (such as AWS S3, Cloudinary, or similar) to handle image uploads and retrieval. Additionally, I will update each relevant page to ensure proper data storage and retrieval from MongoDB. I have experience working with MongoDB, Node.js, React.js, and have implemented similar functionality across several projects.

Since this is a relatively complex and heavy task, I kindly request that the following labels be applied to the issue: hacktoberfest-accepted, hacktoberfest, and gssoc-ext (level 3).

Looking forward to your feedback and approval!