Skip to content

Mark II - A NightmareJS bot to test a duolingo story

License

Notifications You must be signed in to change notification settings

stanleygomes/mark-ii

Repository files navigation

Mark II - A nodeJS bot to test a duolingo story

This is for testing only porposes 🚀

It was crafted on Nodevader.

Requirements

  • Node: 10.x
  • Global dependencies: nodemon, mocha and eslint

Startup

Step by step to get this up and running

Clone repo and go to project folder

git clone https://github.com/stanleygomes/mark-ii.git && cd nodevader

Install dependencies

npm install
npm i -g nodemon mocha eslint

Start server

Via express server

npm run dev

Start enviroment

Copy enviroment variables template

cp .env.template .env

Via docker-compose (start database, run migrations and start server)

docker-compose up

Replace your duolingo credentials on .env file

# duolingo credentials
[email protected]
DUOLINGO_PASSWORD=yourSecureAndSecretPassword

To test it on the browser, simply go to: http://localhost:3000/crawler