/membership_todo

2019 BoostCamp Membeship Mission 3

Primary LanguageJavaScript

Welcome to membership-todo πŸ‘‹

Version Documentation Maintenance

2019 boostcamp mission 3

directory structure

web
β”œβ”€β”€ πŸ“‚ bin
|   └── πŸ“„ www
β”œβ”€β”€ πŸ“‚ database
|   └── πŸ“‚ sql
|       └── πŸ“„ init-db.sql
|   └── πŸ“„ config.js
|   └── πŸ“„ connection.js
β”œβ”€β”€ πŸ“‚ middlewares
|   └── πŸ“„ auth.js
|   └── πŸ“„ passport.js
|   └── πŸ“„ session.js
β”œβ”€β”€ πŸ“‚ models
|   └── πŸ“„ board.js
|   └── πŸ“„ query.js
|   └── πŸ“„ sqlExecutor.js
|   └── πŸ“„ user.js
β”œβ”€β”€ πŸ“‚ public
|   └── πŸ“‚ images
|   └── πŸ“‚ javascripts
|       └── πŸ“‚ components
|           └── πŸ“„ Log.js
|           └── πŸ“„ Modal.js
|           └── πŸ“„ Permission.js
|       └── πŸ“„ admin.js
|       └── πŸ“„ board.js
|       └── πŸ“„ mypage.js
|       └── πŸ“„ signup.js
|       └── πŸ“„ utils.js
|   └── πŸ“‚ stylesheets
|       └── πŸ“„ admin.css
|       └── πŸ“„ board.css
|       └── πŸ“„ index.css
|       └── πŸ“„ log.css
|       └── πŸ“„ modal.css
|       └── πŸ“„ mypgae.css
|       └── πŸ“„ sign.css
β”œβ”€β”€ πŸ“‚ routes
|   └── πŸ“‚ api
|       └── πŸ“„ admin.js
|       └── πŸ“„ board.js
|       └── πŸ“„ mypgae.js
|       └── πŸ“„ signin.js
|       └── πŸ“„ signup.js
|   └── πŸ“„ api.js
|   └── πŸ“„ index.js
β”œβ”€β”€ πŸ“‚ views
|   └── πŸ“‚ layout
|       └── πŸ“„ header.ejs
|       └── πŸ“„ sign-form.ejs
|   └── πŸ“‚ link
|       └── πŸ“„ head.ejs
|   └── πŸ“„ admin.ejs
|   └── πŸ“„ board.ejs
|   └── πŸ“„ board.ejs
|   └── πŸ“„ error.ejs
|   └── πŸ“„ index.ejs
|   └── πŸ“„ mypage.ejs
|   └── πŸ“„ signin.ejs
|   └── πŸ“„ signup.ejs
└── πŸ“„ app.js

Database Modeling

image

.envμ—μ„œ μ‚¬μš©ν•˜λŠ” ν™˜κ²½λ³€μˆ˜

DB_HOST=127.0.0.1 DB_USER=remote DB_PASSWORD=boostcamp2019 DB_NAME=todo

API

Preview

메인 νŽ˜μ΄μ§€ - 둜그인 ν•œ 경우

메인 νŽ˜μ΄μ§€ - 둜그인 μ•ˆ ν•œ 경우

둜그인 νŽ˜μ΄μ§€

νšŒμ›κ°€μž… νŽ˜μ΄μ§€

κ΄€λ¦¬μž νŽ˜μ΄μ§€

λ³΄λ“œ νŽ˜μ΄μ§€ (읽기/νŽΈμ§‘ κΆŒν•œ μžˆλŠ” 경우)

λ³΄λ“œ νŽ˜μ΄μ§€ (읽기 κΆŒν•œ μžˆλŠ” 경우)

λ³΄λ“œ νŽ˜μ΄μ§€ (κΆŒν•œμ΄ μ—†λŠ” 경우)

마이 νŽ˜μ΄μ§€ (λ‚΄ λ³΄λ“œμ— κΆŒν•œ μΆ”κ°€)

마이 νŽ˜μ΄μ§€ (λ‚΄κ°€ κΆŒν•œμ΄ μžˆλŠ” λ³΄λ“œ λͺ©λ‘)

🏠 Homepage

Install

npm install

DB Setting

mysql> source 경둜/web/database/sql/init-db.sql

Start

npm start

Version

npm 6.9.0
node 10.16.3
mysql 8.0.17

Author

πŸ‘€ hzoou (Woo hyeju)

🀝 Contributing

Contributions, issues and feature requests are welcome!
Feel free to check issues page.

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❀️ by readme-md-generator