cd ~/codeexpress -e library-appcd library-appnpm inpm i mongoose- Rename
app.jstoserver.js - Update
bin/www, line 7 to refer toserverinstead ofapp mkdir config controllers models views/booksViews views/authorsViews views/partialstouch config/database.js controllers/booksController.js controllers/authorsController.js models/bookModel.js models/authorModel.js routes/booksRoutes.js routes/authorsRoutes.js views/booksViews/index.ejs views/booksViews/show.ejs views/booksViews/new.ejs views/booksViews/edit.ejs views/authorsViews/index.ejs views/authorsViews/show.ejs views/authorsViews/new.ejs views/authorsViews/edit.ejs views/partials/headerPartial.ejs views/partials/footerPartial.ejs
Created
May 28, 2020 05:56
-
-
Save micahwierenga/d2456186ecaca297fe73899ec9d7ed7e to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment