-
Make sure you have
nodeinstalled on your computer -
Install dependencies
npm install
-
Run dev server
npm run dev
The app is now running at https://localhost:5173/
Open the rmmbr directory in your code editor of choice and start developing. Save your changes and the browser will update in real time!
-
Install dependencies using yarn
npm install
-
Build the app
npm run build
After this step, the built app is located inside the
distdirectory in a project root. -
Launch the app
npm run preview
3.1 You can combine step 2 and 3 by running:
npm run prod
-
Visit the app
Your app is now running at
https://localhost:4173/Open it in your browser and see how the app will look like when you deploy it!
You should run the following commands as npm run <command> (e.g. npm run test:unit)
dev- run a server in development modebuild- build the app for productionbuild:github- build the app for github pagespreview- run a server in production mode (you have tobuildthe app first)prod- run a server in production mode (combinesbuildandpreviewcommands)test:unit- run unit testslint:check- check linting rulestypes:check- check for all TypeScript types in the project to be correct
These are the main libraries/dependencies you should be comfortable with to properly work on this project.
- TypeScript
- Vite
- Vitest
- Tailwind
- Supabase
There're several github workflows that are run depending on some actions:
This workflow checks for linting rules in the project files
Runs on:
- PR to
master - Push to
master
This workflow checks for typescript types in the project to be valid
Runs on:
- PR to
master - Push to
master
This workflow runs unit tests in the project and makes sure that all tests are passing
Runs on:
- PR to
master - Push to
master
This workflow deploys the app to https://rasulomaroff.github.io/rmmbr/
Runs on:
- Push to
master