Skip to content

RiddMa/MAGN-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAGN-Generator

MAGN影评

前端 Frontend

Vue.js2+Vuetify。

npm install
npm run dev
#or
npm run build

后端 Backend

Node.js+Koa2+MongoDB。

配置 Configuration

新建/src/config.js:

module.exports = {
    port: "Your Backend Listen Port",
    dbUser: "Your DB User",
    dbPassword: "Your DB Password",
    dbDomain: "Your DB Address",
    dbPort: "Your DB Port",
    dbName: "Your DB Name",
    tokenSecret: "Your Token Secret",
    rootDir: __dirname,
};
npm install
node ~/src/app.js
#or
pm2 start ~/src/app.js --watch

Releases

No releases published

Packages

No packages published

Languages