Colubrina/backend
2022-06-05 22:58:18 +10:00
..
config init 2022-06-05 22:58:18 +10:00
lib init 2022-06-05 22:58:18 +10:00
migrations init 2022-06-05 22:58:18 +10:00
models init 2022-06-05 22:58:18 +10:00
routes init 2022-06-05 22:58:18 +10:00
seeders init 2022-06-05 22:58:18 +10:00
.env.example init 2022-06-05 22:58:18 +10:00
.gitignore add .gitignore 2022-06-05 22:34:57 +10:00
.prettierignore init 2022-06-05 22:58:18 +10:00
.prettierrc init 2022-06-05 22:58:18 +10:00
index.js init 2022-06-05 22:58:18 +10:00
LICENSE init 2022-06-05 22:58:18 +10:00
nginx.conf init 2022-06-05 22:58:18 +10:00
NOTICE init 2022-06-05 22:58:18 +10:00
package.json init 2022-06-05 22:58:18 +10:00
README.md init 2022-06-05 22:58:18 +10:00
yarn.lock init 2022-06-05 22:58:18 +10:00

Colubrina Backend

Setup instructions

  • Run yarn install to install the dependencies.
  • Configure the MariaDB database connection in config/config.json using the example template config/config.example.json.
  • Configure .env with the template .env.example.
  • Run sequelize db:migrate to create the database tables.
  • Run sequelize db:seed to seed required information to the database.
  • Run yarn serve to start the proxy with nodemon which automatically restarts on file-change for development.
  • Run yarn start or node . to start the proxy in production.
  • Colubrina Proxy runs on port 23998.