Skip to content
This repository has been archived by the owner on Sep 16, 2024. It is now read-only.
/ moonbot Public archive

Cryptocurrency lending bot

License

Notifications You must be signed in to change notification settings

m00nbyte/moonbot

Repository files navigation

Moonbot

Automate your cryptocurrency loans

😵 Features:

🚀 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)

⚙️ Installation Steps:

# /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

❤️ Like my work?

This project needs a ⭐ from you. Don't forget to leave a star.

Buy Me A Coffee

About

Cryptocurrency lending bot

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages