- Import the repo into Replit.com
- You need to create a .env file in the root and provide two environment values namely MONGO_URI= and NODE_ENV=production. Please refer the youtube video of Burak "https://www.youtube.com/watch?v=O3BUHwfHf84&t=809s" on how to setup your mongodb database.
- When importing the github repo to replit.com, the contents of the .replit file doesn't get fetched properly. Hence as a workaround, please copy the contents of the .replt file in the repo to your Replit.com app.
- Delete the package-lock.json file in the root and frontend directories
- build the app using: npm run prod_build
- run the app using: npm run start
-
Notifications
You must be signed in to change notification settings - Fork 0
yogeshmr/mern5
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published