Last active
September 19, 2017 03:36
-
-
Save devifr/97d5a496872a27b96cefd32f558cf7de to your computer and use it in GitHub Desktop.
Use Express JS, use sequelize
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
On Folder For App do: | |
1. npm init -y | |
2. npm install --save express body-parser morgan sequelize pg pg-hstore passport-local passport express-session express-handlebars express dotenv bcrypt-nodejs | |
3. touch app.js | |
4. insert code in app.js | |
5. touch bin/www | |
6. insert code | |
7. npm i -D nodemon | |
8. npm install -g sequelize-cli | |
9. sequelize init | |
10. ... | |
source: | |
1. https://scotch.io/tutorials/getting-started-with-node-express-and-postgres-using-sequelize | |
2. https://code.tutsplus.com/tutorials/using-passport-with-sequelize-and-mysql--cms-27537 | |
http://blog.soshace.com/en/2016/12/16/express-js-ejs-templating/ << next learn templating |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For Flash In Express JS:
https://gist.github.com/brianmacarthur/a4e3e0093d368aa8e423