Skip to content

moijes12/interview-container-vanillajs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

interview-container-vanillajs 🚀

This repository contains files required to quickly setup an environment for Vanilla JS interviews requiring only HTML, CSS and JS coding. This will be useful for JS machine coding interviews. The environment is set up using Visual Studio Code's Remote Containers feature, which allows you to develop inside a containerized environment. This ensures that you have a consistent setup regardless of your local machine's configuration. The environment can be discarded after the interview, making it a clean and efficient solution for interview preparation.

This repository contains:

  • .devcontainer/devcontainer.json with the below extensions installed:
    • esbenp.prettier-vscode for code formatting
    • dbaeumer.vscode-eslint for linting
    • ms-vscode.vscode-typescript-next for latest TypeScript features and support
  • Dockerfile with the following tools installed:
    • node for running JavaScript code and installing dependencies
    • npm for managing JavaScript packages
    • vite installed globaly for quick setup of a vanilla JS project with hot reload

Minimum Requirements

To use this environment, you need to have the following installed on your local machine:

Usage

  1. Clone this repository to your local machine.
  2. Open the cloned repository in Visual Studio Code.
  3. When prompted, click "Reopen in Container" to start the containerized environment.
  4. Once the container is up and running, you can use the terminal inside Visual Studio Code to run commands and set up your vanilla JS project. For example, you can use vite to create a new project with the following command:
    npm create vite@latest my-vanilla-js-project -- --template vanilla

About

A ready container setup for VanillaJS interviews

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors