tts-fe

(★ 20)

A platform where students can experiment with the possible combination of schedule options they can pick at the start of the semester

File Explorer

  • .dockerignore
  • .env.example
  • .gitignore
  • .prettierignore
  • .prettierrc
  • 8
  • build.sh
  • components.json
  • dev.sh
  • docker-compose.yaml
  • Dockerfile
  • eslint.config.js
  • index.html
  • netlify.toml
  • nginx.tts.conf
  • package-lock.json
  • package.json
  • postcss.config.js
  • prod.sh
  • README.md
  • tsconfig.json
  • vite.config.ts

# Use via CDN

jsDelivr

jsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.

Command Glossary

Commands referenced in this DOCs, explained below.

🔍

docker compose

View Details ▼

Run and manage multi container Docker applications.

docker compose ps

List all running containers:

docker compose up {{[-d|--detach]}}

Create and start all containers in the background using a `docker-compose.yml` file from the current directory:

docker compose up --build

Start all containers, rebuild if necessary:

🔍

npm install

View Details ▼

Install Node packages.

npm {{[i|install]}}

Install dependencies listed in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

npm {{[i|install]}} {{package_name}} {{[-D|--save-dev]}}

Download the latest version of a package and add it to the list of dev dependencies in `package.json`:

🔍

npm run

View Details ▼

Run a script.

npm run

List available scripts:

npm run {{script_name}}

Run a script:

npm run {{script_name}} -- {{argument}} {{--option}}

Pass arguments to a script:

🔍

npm

View Details ▼

JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.

npm init {{[-y|--yes]}}

Create a `package.json` file with default values (omit `--yes` to do it interactively):

npm {{[i|install]}}

Download all the packages listed as dependencies in `package.json`:

npm {{[i|install]}} {{package_name}}@{{version}}

Download a specific version of a package and add it to the list of dependencies in `package.json`:

🔍

vite

View Details ▼

Create a Vite project.
Used to build JavaScript projects.
Available templates: vanilla, vanilla-ts, vue, vue-ts, react, react-ts, react-swc, react-swc-ts, preact, preact-ts, lit, lit-ts, svelte, svelte-ts.

npm create vite@latest my-react-app --template react-ts

Setup using `npm` 6.x:

npm create vite@latest my-react-app -- --template react-ts

Setup using `npm` 7+, extra double-dash is needed:

yarn create vite my-react-app --template react-ts

Setup using `yarn`:

// repository documentation