├── .gitignore ├── README.md ├── dockerized ├── README.md ├── app │ ├── .gitignore │ ├── Dockerfile │ ├── README.md │ ├── archived_for_review_server.js │ ├── models │ │ ├── requestModel.js │ │ └── urlModel.js │ ├── package.json │ ├── public │ │ ├── js │ │ │ ├── app.js │ │ │ ├── controllers │ │ │ │ ├── homeController.js │ │ │ │ └── urlController.js │ │ │ └── qrcode.min.js │ │ └── views │ │ │ ├── 404.html │ │ │ ├── home.html │ │ │ ├── index.html │ │ │ └── url.html │ ├── routes │ │ ├── index.js │ │ ├── redirect.js │ │ └── rest.js │ ├── server.js │ └── services │ │ ├── statsService.js │ │ └── urlService.js ├── docker-compose.yml └── nginx │ ├── Dockerfile │ └── nginx.conf └── standalone └── app ├── .gitignore ├── Dockerfile ├── README.md ├── models ├── requestModel.js └── urlModel.js ├── package.json ├── public ├── js │ ├── app.js │ ├── controllers │ │ ├── homeController.js │ │ └── urlController.js │ └── qrcode.min.js └── views │ ├── 404.html │ ├── home.html │ ├── index.html │ └── url.html ├── routes ├── index.js ├── redirect.js └── rest.js ├── server.js └── services ├── statsService.js └── urlService.js /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/README.md -------------------------------------------------------------------------------- /dockerized/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/README.md -------------------------------------------------------------------------------- /dockerized/app/.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules 2 | /DBaccess.js 3 | /npm-debug.log 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /dockerized/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/Dockerfile -------------------------------------------------------------------------------- /dockerized/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/README.md -------------------------------------------------------------------------------- /dockerized/app/archived_for_review_server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/archived_for_review_server.js -------------------------------------------------------------------------------- /dockerized/app/models/requestModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/models/requestModel.js -------------------------------------------------------------------------------- /dockerized/app/models/urlModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/models/urlModel.js -------------------------------------------------------------------------------- /dockerized/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/package.json -------------------------------------------------------------------------------- /dockerized/app/public/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/js/app.js -------------------------------------------------------------------------------- /dockerized/app/public/js/controllers/homeController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/js/controllers/homeController.js -------------------------------------------------------------------------------- /dockerized/app/public/js/controllers/urlController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/js/controllers/urlController.js -------------------------------------------------------------------------------- /dockerized/app/public/js/qrcode.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/js/qrcode.min.js -------------------------------------------------------------------------------- /dockerized/app/public/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/views/404.html -------------------------------------------------------------------------------- /dockerized/app/public/views/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/views/home.html -------------------------------------------------------------------------------- /dockerized/app/public/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/views/index.html -------------------------------------------------------------------------------- /dockerized/app/public/views/url.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/public/views/url.html -------------------------------------------------------------------------------- /dockerized/app/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/routes/index.js -------------------------------------------------------------------------------- /dockerized/app/routes/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/routes/redirect.js -------------------------------------------------------------------------------- /dockerized/app/routes/rest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/routes/rest.js -------------------------------------------------------------------------------- /dockerized/app/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/server.js -------------------------------------------------------------------------------- /dockerized/app/services/statsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/services/statsService.js -------------------------------------------------------------------------------- /dockerized/app/services/urlService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/app/services/urlService.js -------------------------------------------------------------------------------- /dockerized/docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/docker-compose.yml -------------------------------------------------------------------------------- /dockerized/nginx/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/nginx/Dockerfile -------------------------------------------------------------------------------- /dockerized/nginx/nginx.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/dockerized/nginx/nginx.conf -------------------------------------------------------------------------------- /standalone/app/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/.gitignore -------------------------------------------------------------------------------- /standalone/app/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/Dockerfile -------------------------------------------------------------------------------- /standalone/app/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/README.md -------------------------------------------------------------------------------- /standalone/app/models/requestModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/models/requestModel.js -------------------------------------------------------------------------------- /standalone/app/models/urlModel.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/models/urlModel.js -------------------------------------------------------------------------------- /standalone/app/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/package.json -------------------------------------------------------------------------------- /standalone/app/public/js/app.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/js/app.js -------------------------------------------------------------------------------- /standalone/app/public/js/controllers/homeController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/js/controllers/homeController.js -------------------------------------------------------------------------------- /standalone/app/public/js/controllers/urlController.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/js/controllers/urlController.js -------------------------------------------------------------------------------- /standalone/app/public/js/qrcode.min.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/js/qrcode.min.js -------------------------------------------------------------------------------- /standalone/app/public/views/404.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/views/404.html -------------------------------------------------------------------------------- /standalone/app/public/views/home.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/views/home.html -------------------------------------------------------------------------------- /standalone/app/public/views/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/views/index.html -------------------------------------------------------------------------------- /standalone/app/public/views/url.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/public/views/url.html -------------------------------------------------------------------------------- /standalone/app/routes/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/routes/index.js -------------------------------------------------------------------------------- /standalone/app/routes/redirect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/routes/redirect.js -------------------------------------------------------------------------------- /standalone/app/routes/rest.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/routes/rest.js -------------------------------------------------------------------------------- /standalone/app/server.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/server.js -------------------------------------------------------------------------------- /standalone/app/services/statsService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/services/statsService.js -------------------------------------------------------------------------------- /standalone/app/services/urlService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/LiJunpeng/URLShortenerService/HEAD/standalone/app/services/urlService.js --------------------------------------------------------------------------------