this project use TypeScript based on fabu.love
-
server ( backend, use koa2 )
- src : typescript source code
- helper : some tools
- model : mongodb model
- Router : router files
- config.ts : config files
- index.ts : index
- tsconfig.json : ts config file
- src : typescript source code
-
client ( front, use Vuejs + Elementui )
- almost like fabu.love
cd server
yarn / npm install
edit config.ts and enter your mongodb host, database, username, password, port
yarn start / npm start
then the server will run 127.0.0.1:8090 ( default port 8090 )
yarn global add http-server / npm install http-server -g
cd client
http-server ./dist -P http://127.0.0.1:8090/api
Apache 2.0