- Node.js >= 16.0.0
- MongoDB >= 4.2.0
npm install
npm run dev
.env.production
GITHUB_CLIENT_SECRETS=github secrets
GITHUB_CLIENT_ID=github client id
GITEE_CLIENT_SECRETS=gitee secrets
GITEE_CLIENT_ID=gitee client id
JWT_SECRET=jwt secret
npm install
npm start
docker pull drinkjs/mojito-server
docker run --env-file=./.env.production -p 3840:3840 --name=mojito_server -d -e MONGO_CONNECTION=mongodb://MyHost:27017/ drinkjs/mojito-server