μ΄ νμ΄μ§λ μ‘λνΈ κ΅μλ μΉSW νλ‘μ νΈ κ³Όλͺ© νλ‘μ νΈλ‘ λ§λ€μ΄μ§ ννμ΄μ§μ
λλ€.
- Node.js v10.15.0 (express)
- Bootstrap v4.1.3
jQuery v1.12.4-> Vanilla JS ES6+ (Translating)- mongoDB
npm install
sudo service mongodb start
nodemon app.js
Default port number : 8080
/models/
: MongoDB Schema FileboardSchema
: board's DB schemamember.js
: members page's DB schemauser.js
: account info (admin, etc..)
/public/
: static file folder (such as javaScript files, CSS files, images files etc.)javascripts/dist
: Compile to ES5 syntax (bc of IE compatibility) - babel 7robots.txt
: To give instructions about site to web robots
/routes/
: Routing specific directory/views/
: View part. EJS is similar with java jsp, Ruby erb
- Password encryption method: bcrypt(Password Hash Function)
- When saving a default admin account info, you should save it on
/.env