Password strength analyzer, for CSE 4471 at OSU.
The only requirement needed to build this on your local system is NodeJS and npm.
- NodeJS Download
- If your system has a package manager, it is better to install node through it.
- Node will come with npm when installed.
To ease setting up the development environment, a Docker container is included in this repository that can be used to set up a consistent development environment.
Additionally, if you use Visual Studio Code, you can use the Docker environment to additionally have a selection of sane default configurations and development plugins.
If you use a Linux operating system double check your UID:GID. If it is not 1000:1000
, then
change these values in Dockerfile
to match your UID:GID.
To use docker by itself:
- Run
docker-compose up
in the project's root directory. - After the image is built and running, you can visit
localhost:8080
on your local machine to view the development server. Any changes you make in your local editor will reflect from the container. - To stop or restart the server, run
docker-compose down
anddocker-compose restart
respectively.
To use with VS Code: (note, you may need to reconfigure git inside the container)
- Install the VS Code Remote Development extension pack.
- Run the
Remote-Containers: Reopen in Container
command within VS Code with the project opened locally. - After some setting up the Docker container, the VS Code window will reload. The predefined configuration will be loaded as well as predetermined extensions installed.
Refer to the documentation for remote development in containers and for Docker in general, as well as for docker-compose specifically for more information about how all of this works.
npm install
npm run serve
npm run build
npm run test
npm run lint