A MEAN Stack starter kit
- Note: Be sure to update the boilerplate npm packages constantly for security
git clone [email protected]:menabrena/Geekbears-Boilerplate.git
cd Geekbears-Boilerplate
npm install
- Make a copy of the .env file and then run 'git rm --cached', this will ensure that you do not upload the .env file to the repo
- Double check to remove the .env file from the repo, this file should not be uploaded
- Make sure MongoDB is running (
mongod
from MongoDB bin directory)
- Make sure you set the APP_ENVIRONMENT is set to 'development'
node server.js
- Make sure you set the APP_ENVIRONMENT is set to 'live'
node server.js
Contributions/improvements are welcome!
VERY IMPORTANT
As long as you have cloned this repo, you should edit the .gitignore to ignore the .env file since this contains sensitive data from the app, db, etc.