Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

jesse-grabowski/pbl4-2024

Repository files navigation

PBL4 Project Website Repository

Javascript/Typescript Info

APIs

  • https://github.com/cwaku/Leaderboard
    • This is leaderboard animation, instead of storing leaderboard data. However, the API this use (which is the next link) is exactly what we want.
  • https://microverse.notion.site/Leaderboard-API-service-24c0c3c116974ac49488d4eb0267ade3
    • This is a simple leaderboard API that only allows to POST scores and GET scores. This is exactly what we need, it is likely we are continuing with this API as our external leaderboard service.
  • https://github.com/Mwapsam/leaderboard
    • This seems to be a similar project as the first link, just more barebone.
  • https://github.com/kamranahmedse/driver.js
    • This API seems very useful for new users, essentially perfect to make tutorial playthrough animations. Depending on the Designers, whether if tutorial-ish feature is included, this API is would be a good candidate. Plus, the demo website seems to have quite a lot of examples, for a low priority feature, it would save a lot of time if we decide to implement a tutorial.
  • https://github.com/toss/es-toolkit
    • This is an utility library, like numpy. I don't this with the scope of this project, this would be that helpful. Since the complexity of the code is probably low, it would only make some codes several lines shorter, it doesn't seems worth it to invest the time to learn this. Basic js should be enough.

Note

Paragraphs below are copied from Vue template Readme

Recommended IDE Setup

VSCode + Vue Extension (and disable Vetur).

Type Support for .vue Imports in TS

TypeScript cannot handle type information for .vue imports by default, so we replace the tsc CLI with vue-tsc for type checking. In editors, we need Vue Extension to make the TypeScript language service aware of .vue types.

Customize configuration

See Vite Configuration Reference.

Developing Guide

Note

For the operations below, you need to have Node.js installed on your computer. In this project, we use the LTS version (20.18). The commands are executed in the terminal with 'pbl4-2024' as the working directory

npm install

Compile and Hot-Reload for Development

npm run dev

Type-Check, Compile and Minify for Production

npm run build

Run Unit Tests with Vitest

npm run test:unit

Lint with ESLint

npm run lint

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published