SaiUpadhyayula/spring-reddit-clone

How to make this in MongoDB instead of MySQL ?

Raghav-byte opened this issue · 1 comments

I was trying to make a database in MySQL but it was showing different errors every time. I have experience in MongoDB so I was thinking of making this in Mongo only instead of MYSQL, can someone guide me on how to do that !! Thanks in advance

@Raghav-byte since MongoDB isn't a relational database, it would be a completely different way to structure the data. You would not be able to do JOIN queries.

If you are sticking to NoSQL, you could check out a Digital Ocean tutorial

or Spring Boot, MongoDB: JWT Authentication with Spring Security article + GitHub Repository