https://github.com/annastacia-dev/safiri-web
https://github.com/annastacia-dev/safiri-web
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/annastacia-dev/safiri-web
- Owner: Annastacia-dev
- Created: 2024-05-03T10:21:42.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2024-05-09T08:02:03.000Z (12 months ago)
- Last Synced: 2025-01-06T19:17:14.672Z (4 months ago)
- Language: JavaScript
- Homepage: https://usafiri.vercel.app
- Size: 1.08 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Safiri Web
Web app for safiri a comprehensive transportation management system designed to streamline cashless payments
## Prerequisites
- [Node.js](https://nodejs.org/en/download) (v18.15.0)+
- [Npm](https://www.npmjs.com/get-npm) (9.5.0)+
- [Typescript](https://www.typescriptlang.org/download)## Getting started
This project is bootstrapped with Vite + React JS
To install necessary dependencies
```bash
npm i
```To start the application on your [localhost](http://localhost:5173/)
```bash
npm run dev
```## Formatting and Linting
This project uses [Prettier](https://prettier.io/) for formatting and [ESLint](https://eslint.org/) for linting. To format your code, run:
```bash
npm run prettier
```To lint your code, run:
```bash
npm run lint
```Note: Prefix variables with an underscore\_ if you have declared them but not used them.
e.g. const \_variable = 'value';## Git Hooks
This project uses [Husky](https://typicode.github.io/husky) to run git hooks. The following hooks are configured:
- pre-commit: Runs linting on staged files.
- pre-push: Runs a build to ensure the code compiles.
- commit-msg: Ensures the commit message follows the conventional commits rules.## Commits
This project uses [commitlint](https://commitlint.js.org/#/) to ensure that commit messages follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/) specification.
Check out `commitlint.config.js` for the configuration.