├── .babelrc ├── .gitignore ├── .travis.yml ├── Dockerfile ├── LICENSE ├── README.md ├── app.js ├── bin └── www ├── docker-compose.yml ├── media ├── shorts-small.png └── shorts.png ├── package.json ├── resource └── config │ └── enviroment-sample.json ├── src ├── routes │ └── url.js ├── schemas │ └── urlSchema.js └── url │ ├── shortUrlController.js │ ├── shortUrlRepository.js │ ├── shortUrlService.js │ └── shortener.js ├── test ├── fixtures │ └── config.json ├── setup │ └── coverage.spec.js └── url │ ├── shortUrlController.spec.js │ ├── shortUrlRepository.spec.js │ ├── shortUrlService.spec.js │ └── shortener.spec.js └── yarn.lock /.babelrc: -------------------------------------------------------------------------------- 1 | { 2 | "presets": ["es2015", "stage-0"] 3 | } 4 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/.gitignore -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/.travis.yml -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/README.md -------------------------------------------------------------------------------- /app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/app.js -------------------------------------------------------------------------------- /bin/www: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/bin/www -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /media/shorts-small.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/media/shorts-small.png -------------------------------------------------------------------------------- /media/shorts.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/media/shorts.png -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/package.json -------------------------------------------------------------------------------- /resource/config/enviroment-sample.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/resource/config/enviroment-sample.json -------------------------------------------------------------------------------- /src/routes/url.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/routes/url.js -------------------------------------------------------------------------------- /src/schemas/urlSchema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/schemas/urlSchema.js -------------------------------------------------------------------------------- /src/url/shortUrlController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/url/shortUrlController.js -------------------------------------------------------------------------------- /src/url/shortUrlRepository.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/url/shortUrlRepository.js -------------------------------------------------------------------------------- /src/url/shortUrlService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/url/shortUrlService.js -------------------------------------------------------------------------------- /src/url/shortener.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/src/url/shortener.js -------------------------------------------------------------------------------- /test/fixtures/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/fixtures/config.json -------------------------------------------------------------------------------- /test/setup/coverage.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/setup/coverage.spec.js -------------------------------------------------------------------------------- /test/url/shortUrlController.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/url/shortUrlController.spec.js -------------------------------------------------------------------------------- /test/url/shortUrlRepository.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/url/shortUrlRepository.spec.js -------------------------------------------------------------------------------- /test/url/shortUrlService.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/url/shortUrlService.spec.js -------------------------------------------------------------------------------- /test/url/shortener.spec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/test/url/shortener.spec.js -------------------------------------------------------------------------------- /yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/matheuslc/shorts/HEAD/yarn.lock --------------------------------------------------------------------------------