Web-Page Analysis is a node.js-based application that provides a basic analysis of a web-page. Feel free to check out the steps (tickets) for building the application here
When in the root directory install dependecies in order to can install project by one command:
yarn install
after installation is finished run script which install all dependencies for both front- & back-end sides:
yarn app-prepare
after finishing installation run server and client apps:
yarn start
The primary project implementation limitations are:
- A relatively naive URL validation;
- Long server wait time;
- Inability to scrap a SPA;
- Absence of essential tests.
- To make the application production-ready, it is essential to add at least unit tests. It is also recommended to configure three different environments (development, testing, and production) to safely roll out the final product and minimize the number of bugs. Adding CI/CD tools to ensure the quality of the final product and speed up the delivery process.
- It is possible to use CAPTCHA or a similar test to prevent DoS and/or DDoS attacks to improve security of the application. We might also use proven third-party tools (e.g. Sanitize URL NPM package) to sanitize potentially harmful links. Containerization might be used to isolate the application from the host system.
- We might use
worker_threads
andclusters
for performance optimization. - To improve the development process, we might use containerization to avoid any "It's working on my computer" situations. We can also use pre-commit hooks to force code style.