Backend for simulation website for experiment about redenomination
https://carbide-bongo-338115.et.r.appspot.com/
https://carbide-bongo-338115.et.r.appspot.com/api-docs
This project can only use yarn, please install it. After installing yarn, use:
yarn install
Please also install and setup postgresql
- Configure your database in config/default.js
- Run this command,
npm run dev
- Create .env file consisting of this value
NODE_ENV="development"
DB_USER="your_database_username"
DB_PASSWORD="your_database_password"
DB_HOST="your_database_host"
DB_PORT=DATABASE_PORT
DB_NAME="your_database_name"
JWT_KEY="64_bit_random_string"
ADMIN_PASSWORD="admin_password"
- Run
npm run build npm start