A Vue.js frontend built with TypeScript that handles phone authentication and user profile management using Firebase.
VSCode + Volar (and disable Vetur).
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 Volar to make the TypeScript language service aware of .vue
types.
- Clone the repository and install dependencies:
git clone <repository-url>
cd backend
npm install
- Configure Firebase:
- Go to Firebase Console: https://console.firebase.google.com
- Select your project
- Add web app to your project
- Copy the values and paste them into the
.env
and.env.development
file
npm run dev
npm run format
npm run format:check
npm run build
Lint with ESLint
npm run lint