🚀 minimal
and clean
design
🎨 responsive layout (tablet & mobile friendly)
🌗 dark/light mode (auto detect the system color-mode)
💬 multi-language (auto detect the system language)
🚏 tour (short introduction into the website)
# /backend/config/index.js
db: {
host: 'localhost',
port: 27017,
name: 'lending',
user: 'user',
pass: 'pass'
},
JWT_SECRET: '<secret_string>',
PORT_DEV: 3001,
PORT_PROD: 3000
# /frontend/.env
REACT_APP_API_URL=http://localhost:3001
# go to
$ cd backend
# install dependencies
$ yarn
# serve
$ yarn server:dev
$ yarn server
# cron
$ yarn submit-offers:dev
$ yarn submit-offers
$ yarn sync-earnings:dev
$ yarn sync-earnings
# go to
$ cd frontend
# install dependencies
$ yarn
# dev
$ yarn start
# prod
$ yarn build
# add/start instance
$ sudo pm2 start yarn --name "moonbot" --exp-backoff-restart-delay=100 -- server
# stop instance
$ sudo pm2 stop moonbot
# instance information
$ sudo pm2 show moonbot
# realtime information
$ sudo sudo pm2 monit
# add to startup
$ sudo pm2 startup
# update config (run if instances were modified)
$ sudo pm2 save
This project needs a ⭐ from you. Don't forget to leave a star.