Drag&Drop Todo List
git clone https://github.com/woowa-techcamp-2020/todo-2.git
cd todo-2
npm install
Add secrets.js
to config
folder
const DB_CONFIG = {
host: '${mysqlServerIp}',
user: '${mysqlUser}',
password: '********',
database: '${mysqlSchema}',
}
module.exports = { DB_CONFIG }
npm run dev
Then, you can access to your server http://localhost:3000
Frontend
Backend
ETC
|--todo-2
|-- config
|
|-- public // Frontend
| |-- images
| | ...
| |
| |-- javascripts
| | |-- api
| | | ... // api ํธ์ถ ํจ์ ๋ชจ์
| | |
| | |-- components
| | | ... // ์ปดํฌ๋ํธ ํ์ผ
| | |
| | |-- utils
| | | ... // ์ ํธ ํจ์ ๋ชจ์
| | |
| | |-- index.js // webpack entry point
| |
| |-- stylesheets
| |-- common
| | ... // scss ๋ณ์, mixin ๋ฑ ๊ณตํต ์คํ์ผ
| |
| |-- components
| ... // ์ปดํฌ๋ํธ๋ณ ์คํ์ผ
|
|-- src // Backend
| |-- controller.js // ๋ผ์ฐํฐ ์์ฒญ์ ๋ฐ๋ฅธ ์์
์ฒ๋ฆฌ
| |-- model.js // ๋ฐ์ดํฐ๋ฒ ์ด์ค ์์
์ฒ๋ฆฌ
| |-- router.js
|
|-- views
... // pug ํ์ผ