I'm building a full stack application using create-react-app for my client side and express-generator for my server side. If I were to do this and I said 'npm init -y' in the first folder, what would my root directory be?This is currently how it looks like: https://ift.tt/2QAPnDm why I'm asking is because when I put my .env file in the PracticeTwitter directory, the process.env doesn't recognize the .env until I move it into the server.js. Is there anyway to avoid this? Thank you in advance.
Submitted September 16, 2018 at 10:48PM by WeHealThunderous
No comments:
Post a Comment