8000 GitHub - tony-nguyen1/mks-coaching: Single Page Application for a sports coach
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

tony-nguyen1/mks-coaching

Repository files navigation

MksCoaching

GitHub contributors GitHub commit activity Static Badge

This project was generated using Angular CLI version 19.1.4.

Development server

To start a local development server, run:

ng serve

To start a local server usable with a smartphone connected to the same network, run :

ip a | grep "inet "
ng serve --host xxx.xxx.xxx.xxx  --port 4200

Once the server is running, open your browser and navigate to http://localhost:4200/. The application will automatically reload whenever you modify any of the source files.

Code scaffolding

Angular CLI includes powerful code scaffolding tools. To generate a new component, run:

ng generate component component-name

For a complete list of available schematics (such as components, directives, or pipes), run:

ng generate --help

Building

To build the project run:

ng build mks-coaching --named-chunks

This will compile your project and store the build artifacts in the dist/ directory. By default, the production build optimizes your application for performance and speed.

Running unit tests

To execute unit tests with the Karma test runner, use the following command:

ng test

Running end-to-end tests

For end-to-end (e2e) testing, run:

ng e2e

Installing Cypress

To install Cypress, run this command :

ng add @cypress/schematic

Angular CLI does not come with an end-to-end testing framework by default. You can choose one that suits your needs.

Additional Resources

For more information on using the Angular CLI, including detailed command references, visit the Angular CLI Overview and Command Reference page.

Deployement

To deploy to github pages from the command line install angular-cli-pages.

ng add angular-cli-ghpages

Then, you can use the next command. It will :

  • build the project
  • nuke the source file and keep only the output
  • create the error 404 page
  • create the branch gh-pages, add, commit and push to the repository
ng deploy --base-href=/mks-coaching/

Tailwind

Source

npm install -D tailwindcss postcss autoprefixer
npx tailwind init

npm i -D daisyui@latest

Firebase

Link for firebase

npm install firebase

Firestore

npm install firebase@11.2.0 --save

Graph ApexCharts

Lien vers le dépôt sur Github ; leur page web.

ng add ng-apexcharts

TODO

## Techs

  • Partial hydration
  • Animatations
  • Static Site Generation il faut un server pour faire ça
  • Mobile First Design
  • TransformStream pour l'inscription ??? J'ai oublié ce que ça veut dire ???
  • Me trouver un nouveau shell ? IDE ? éditeur de texte ?
  • angular ErrorHandler

CSS/UX/UI

  • .btn:focus-not-visible et .btn:focs:not(:focus-visible) pour focus avec tab et souris resp.
  • utiliser initial-letter pour faire un style magazine
  • new viewports units : lvh et svh
  • inert
  • animation-timeline ?
  • dialog html et css ::backdrop
  • popover pour faire apparaitre et disparaitre un agenda par exemple ???
  • container ???

Features

Asset Source

Autres

web.dev Excalidraw

Font

< 5C4D p dir="auto">CallHeart font

Google font

Sémentique de Version

SemVer

Languages

0