This project aims to build a small but structured full-stack application, so it would be relatively clear for a programmer/beginner to understand how to build a website from scratch.
- Server
- Koa
- Koa Router, Koa Cors, Koa Body
- Monk (MongoDB)
- Node
v8.9.4v10.12.0v14.0.0
- Client
├─Client # frontend folder
│ ├─src # frontend src
│ │ ├─router
│ │ ├─components
│ └─static # static folder
|
|
└─Server # server folder
└─my-koa-app.js # router
# Open a new tab
mongod # Boost Mongo DB
# Open a new tab
cd Server
npm install
npm start
# Enter the Client directory to install dependencies npm install
cd Client
npm install
npm start