Douban for academic notes, a fork of douban clone
# install postgresql
brew install postgresql
psql postgre
CREATE USER {user_name};
CREATE DATABASE academiadoc;
cd backend
npx babel lib -d dist
node dist/app.js
npm run dev
or npm run build
on production
export NODE_ENV=production
npx sequelize-cli db:migrate