An xAPI URL shortenenr
npm install xapi-url-shortener




git clone git@github.com:LearningLocker/url-shortener.git.npm install.npm run build.npm run migrate.npm start.npm run build.npm test.npm start.npm link and xus --help.- Create a ".env" file using the ".env.example" file in this Github repository.
- Pull the image from DockerHub docker pull learninglocker/url-shortener:master.
- Run the image in a container docker run -d -p 8080:80 --name xus --env-file .env learninglocker/url-shortener:master.
To use the CLI you can use the steps below.
- Enter the container docker exec -it xus bash.
- Use the CLI xus --help.