-
This is the deployment repo
-
Live site - https://mern-social-media-react.herokuapp.com/
-
- I have hardcoded User "John" as the default user instead of null, so that visitors are not immediately hit with a login screen
- The files where this was implemented (hardcoded):
- client/src/context/AuthContext.js
-
- on mobile I was getting a scrolling bounce of the viewport, when the address bar disappears on mobile
- so I added this to client/src/index.css @media screen and (max-width: 430px) { html { overflow: hidden; width: 100%; } body { height: 100%; /_ prevent overscroll bounce on mobile _/ position: fixed; overflow-y: scroll; -webkit-overflow-scrolling: touch; } }
-
- running on localhost:8800
- initial repo
-
- running on localhost:4000
- initial repo
-
- running on localhost:8900
-
-
Notifications
You must be signed in to change notification settings - Fork 1
MERN Stack deploy repo for react, node, socketio social media app
kawgh1/mern-social-deploy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
MERN Stack deploy repo for react, node, socketio social media app
Topics
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published