Quasar Feathers Structured Conversation
A Simple experiment in Structured Conversation.
Given that this platform relies on both Feathers.js and Quasar-Framework, it's useful to install both as follows
- npm install -g @feathersjs/cli
- npm install -g quasar-cli
Install Node 10 on a *nix environment. We haven't tested this on Windows.
We've created a Plume, a script to help you get set up. Just open a terminal, navigate to the root of the project and run this command:
> ./bin/plume/setup.sh
Follow the directions. If you have any difficulty, feel free to contact @ncko.
Assuming your name is Barney :/
cp api/config/dev.json api/config/barney.json
cat "api/config/barney.json" > .gitignore
In order to send emails, you need an SMTP server. You can use your personal Gmail too.
You can also run a local SMTP server by running this command:
docker run -p 1025:1025 -p 8025:8025 mailhog/mailhog
We prefer that you get a free account from: https://mailtrap.io/register/signup
Once you get your API keys, populate them in config/barney.json
You can use your own MongoDB instance that you can pull using Docker.
docker pull mongo
docker run --name tq-mongo -p 27017:27017 mongo:latest
Update mongodb
and emailconfig
in /api/config/barney.json
In config/overrides.json
, change the adminEmail to your main test account email.
Two terminals.
- Root: npm install
- /api: npm install
- Root: npm run dev
- /api: npm run dev
npm install -g pm2;
quasar build;
pm2 start ecosystem.config.js;
docker-compose up
- Create account
- Install CLI:
curl https://cli-assets.heroku.com/install.sh | sh
- heroku login --interactive
- heroku apps:create tqbarney
- Add Mailgun and Mlabs free plans
heroku config:Set NODE_ENV=heroku
- git push heroku master
Demo: http://tqmaster.herokuapp.com
Pass the following env vars to override initial behavior
IS_PRIVATE_PORTAL=false,
REQUIRES_INVITE=false,
ADMIN_EMAIL="sue@sixpack.com"
- /config/index.js proxyTable target must reflect the domain, not localhost
- /src/api.js socket must reflect the domain, not localhost
Made from quasar-feathers-tutorial