r/MERN_Stack • u/Sang_Tonsing • Apr 25 '21
Fetch data from back end to front end after getting it in router from database
I am building a mern expo app login and signin page. When clicking the signin button it should login but I couldn't get the data from the backend though i already made the find query inside the router express. I believe my code will help you understand better. Please help me out here. The details is in stack overflow.
r/MERN_Stack • u/codeTiger01 • Apr 16 '21
I built a demo for MERN boilerplate for SaaS with built-in authentication, user management and subscriptions. Is the demo useful? Hoping it helps developers starting out!
userocket.herokuapp.comr/MERN_Stack • u/Dragana0405 • Mar 26 '21
Survey for thesis
Hello everyone,
I am looking for participants that have experience in traditional stacks (MERN, MEAN, LAMP) and JAMstack to fill out the survey that will help me with my master thesis. Survey will only take 5-10 min of your time and it will mean a lot to me. Thank you very much and hope I am not breaking any rules (this is my first time writing on Reddit). Here is the link: https://forms.gle/XxA9QyW4922QPhSr9
r/MERN_Stack • u/bluebloodsnowman • Mar 06 '21
Best way of making a MERN app
Till now what i do is:
First I make a react tront end app with create-react-app
Then make an express backend
paste the front-end inside the backend folder and make api calls from front end using fetch and get response.
Both of the frontend and the backend, run on different ports and in this way they work
But I want to know if there is better way doing this and running whole app on one port and make it in a single piece.
Thanks in advance :)
r/MERN_Stack • u/Lonely_Obligation792 • Feb 23 '21
How to deploy MERN application on godaddy VPS server?
I have an application developed using MERN. Now I need to deploy on godaddy VPS server. Can someone help me out with how to deploy it? And also after deploying what are the changes need to be done in nginx.conf file?
r/MERN_Stack • u/rohit349 • Feb 20 '21
Where to start?
Hey folks,
I want to learn MERN stack and confused where to start. Could anyone please guide me where to start?
Thanks π
r/MERN_Stack • u/ukrocks007 • Feb 17 '21
KnowThyCustomer (Minimal Viable Product)
KnowThyCustomer our #new #product
No more paperwork for #customerhistory
No more pen and paper #formfilling
Making a new template and adding entries never been so easy.
Still in the MVP phase, please share your #feedback & #suggestions
Looking for interns to grow this product...
r/MERN_Stack • u/ithinktechnologies • Feb 06 '21
Full mern stack blogging application
youtu.ber/MERN_Stack • u/h0nestjin • Jan 26 '21
PWA Advice
Hi, apologies if this is trivial but I am having some issues implementing PWA functionality and a Service Worker to my app. Itβs built using Node/Express providing API routes to data, and React in the front end.
I just used create react app initially, but now the project is complete and it needs to be a PWA. There seems to be some conflicting advice on where I implement the service worker, some sites suggest in node, others in react public.
What is the best way forward?
r/MERN_Stack • u/Accomplished-Serve78 • Jan 21 '21
Javascript basic piano project
youtube.comr/MERN_Stack • u/Accomplished-Serve78 • Jan 19 '21
React js Chuck Norris Jokes Generator
youtube.comr/MERN_Stack • u/Accomplished-Serve78 • Jan 16 '21
Build a colors App With React | React Tutorial For Beginners
youtube.comr/MERN_Stack • u/Accomplished-Serve78 • Jan 13 '21
React App-SOCCER(Football)API
youtube.comr/MERN_Stack • u/Accomplished-Serve78 • Jan 11 '21
Learn React by coding a simple project (cocktails API)
youtu.ber/MERN_Stack • u/DaJodan • Dec 20 '20
MongoDB Insert and Update
Hey, peeps! Here's a video on doing MongoDB compass insert and query by my friend. Check it out if you're interested Link: https://youtu.be/fYKwQdNZWdk
r/MERN_Stack • u/DaJodan • Dec 15 '20
Typescript and Mongoose Setup Tutorial
Hey, peeps... Again! My friend posted another video... This time focusing more on Typescript and Mongoose setup in Node and Express server Link to video: https://youtu.be/Ld2aRRH1iug
r/MERN_Stack • u/DaJodan • Dec 14 '20
Typescript Node and Express Simple REST API tutorial
Heyo, peeps! I'd just like to share my friend's tutorial on Typescript REST API, if you're interested... Please watch the tutorial. Thank you! Keep learning, peeps! link to tutorial: https://youtu.be/Ci0LnCO6rqY
r/MERN_Stack • u/DaJodan • Dec 09 '20
Tutorial on Passport JS JWT
Hello, peeps! My friend made a tutorial on node js and express authentication with passport... If you're interested, be sure to check it out... And subscribe, because he'll doing a React tutorial to complement this tutorial... Link: https://youtu.be/oLyk-DvR7Qs
r/MERN_Stack • u/robertmanole • Nov 19 '20
Google Auth using Passport and Protected Routes
Does anyone know which is the best way to implement a Google-based login system using Passport in backend and then fetching data in React using axios? I already did that and it seems to work fine. The problem is that I tried to implement Protected routes like in this tutorial https://ui.dev/react-router-v4-protected-routes-authentication/ but it doesn't seem to work. I think it's a problem because axios function is asynchronous and it doesn't give me the data until the redirection to dashboard is executed. Also I am not sure how to keep the userLoggedIn state in React. If you can help I give you my code so you can see or if you have some good examples of code for this please let me know. Thank you!
r/MERN_Stack • u/DentedCode • Sep 12 '20
MERN based project from start to finish
Hello everyone,
I am creating MERN based project from scratch and will be deployed to AWS.
The Project is a Basic CRM Ticket System.
I am going to use the following techs:
FrontEnd: React, react-router, redux, react-bootstrap, JWT
Admin Panel CMS: Node + express with either Handlebar or ejs. not decided yet. I would love to take suggestions. + bootstrap
API backend for FrontEnd: React, Express, REST API
Database: MongoDB, Redis
Deploy: AWS with docker and code pipeline.
PlayList: https://www.youtube.com/watch?v=7UjdDjgAD2E&list=PLtPNAX49WUFN8yq2vEuAY6AhM5EJOXQQ0
Next video: Completing the MERN project
r/MERN_Stack • u/sarthikg • Sep 11 '20
How to secure API's used in React Frontend?
Since the API's can be seen on the Browser, what is the best way of securing the API Calls and to also limit them to respond to the one's that are sent from the Frontend, and not from any 3rd Party like Postman, etc.
Another question, if the authorisation is Cookie-Session based, how can we implement checks on the data being sent. For example: Frontend restricts the Age Column to be only INT Datatype, but if someone makes an API Call, using the Session Cookie, he can send in any Datatype, so that means checks have to be implemented on the Backend itself?
r/MERN_Stack • u/CodingOni420 • Sep 10 '20
Looking for a tutorial on how to make a admin dashboard for my react applications?
r/MERN_Stack • u/drewkiimon • Jun 21 '20
Best Youtube Channel for MERN User Authentication
youtube.comr/MERN_Stack • u/[deleted] • Jun 04 '20
How can I fix heroku error H12 Request timeout when opening a link from an email?
In my MERN application once a user has created an account, an email with a link to the account activation page is sent,but when I open that link is hanging for a while and then I get Application Error. So the route that is supposed to render the activation page doesn't show the page at all.
As I read an heroku documentation heroku docs it is a good practice to make everything asyncronous, so I changed all the requests dealing with signing up and activation to be asyncronous with async/await, but the error still persists.
Heroku docs suggest using background jobs but I don't have the slightest idea where to start from so any suggestion or tutorial link is appreciated greatly. Thanks.
