Messenger chatbot for managing sports activities
- Node version 14
- Local PostgreSQL database
- Local Redis instance
- Local setup
git clone https://github.com/zsevic/sportista-chatbot
cd sportista-chatbot
cp .env.sample .env # change values after copying
npm i
pg_ctl -D /usr/local/var/postgres restart
redis-server
npm run start:dev
- Chatbot setup for local usage
npx ngrok http 3000
export MESSENGER_EXTENSIONS_URL=<URL>
npm run messenger-profile:set
echo "Y" | npm run messenger-webhook:set <URL>/webhooks/messenger
npm run build
npm start
npm run lint
npm run lint:fix
npm test
npm run migration:generate <MIGRATION_NAME>
npm run migrate
npm run migrate:down
Generated at /api-docs
endpoint
- Node.js, TypeScript, NestJS, Bottender, Redis, TypeORM