Comments (2)
I should probably mention that if you intend to run the website in a production environment you do not use the webpack dev server. You have to build the static files and serve them using a webserver. The backend is already configured to serve the static files, all you have to do is run npm run build and start the backend with npm start making sure that the NODE_ENV is in production.
from instaclone.
@Sandermoen thank you!
from instaclone.
Related Issues (14)
- aws s3
- Bug: GET https://www.instaclone.net/api/user/shegusi/posts/12 404 (Not Found) HOT 1
- Isn't it an overkill to create both followers and followings schema?.
- hey plz ans these importent question!!!! it will help me a lot if u will ans this HOT 2
- Add chat option to the website HOT 3
- Installation problem HOT 17
- A new fork: Dogegram HOT 2
- Registration function failed ! HOT 1
- POST /api/post 500 41596.590 ms - 64 TypeError: Cannot read property 'toObject' of undefined at module.exports.createPost (C:\Users\POSBANK\social-networking\instaclone\controllers\postController.js:101:15) HOT 5
- Can you tell me the complete process to deploy mern app to heroku? HOT 1
- Miss designs HOT 1
- Facebook clone
- What is the github Authorization callback URL?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from instaclone.