This repository is for exploring advanced node concepts for production deployment. This is a full-blown node blog application with authentication, react-client, and MongoDB.
- Make sure to setup your keys in a
.envfile in root - Make sure to run
yarn installto install all dependencies - Run scripts with:
yarn devyarn buildyarn start
- Upgrade all dependencies to latest
- Switch to using
yarninstead ofnpmpackage-json.lock>yarn.lock
- Required versions set in
package.json:yarn:^1.17.0node:^12.7.0
- Add support for
module-aliasto allow aliasing of modules inrequire() - Switch to
.envfiles for managing keys- Check
.env.placeholderfor setup
- Check
- Remove semicolons in
.js - Add
nodemon.jsonfor Nodemon settings- Add ignore for changes in
client(already handled by CRA)
- Add ignore for changes in
BlogSchemacreatedAt>created
- Some code cleanups
- Upgrade all dependencies to latest
- Switch to using
yarninstead ofnpmpackage-json.lock>yarn.lock
- Required versions set in
package.json:yarn:^1.17.0node:^12.7.0
- Add
jsconfig.jsonto support module path alias directly starting fromsrc - Remove semicolons in
.js - Some code cleanups