NitroFIT28 Developer Documentation
We use Laravel Valet for local deployment. Laravel Valet is a development environment for Mac minimalists that allows you to run sites without the hassle of Vagrant or modifying the /etc/hosts
file.
Prerequisites
To get started with a Quasar application, you need to ensure you have the following prerequisites:
- Node 12+ for Quasar CLI with Webpack, or Node 14+ for Quasar CLI with Vite.
- To check your Node.js version, run
node -v
in a terminal/console window.
- To check your Node.js version, run
- Yarn v1 (strongly recommended), PNPM, or NPM.
- To check your Yarn version, run
yarn -v
in a terminal/console window.
- To check your Yarn version, run
Installing Quasar CLI
The Quasar CLI is used for project creation, generating application and library code, and various development tasks.
Install the Quasar CLI globally:
yarn global add @quasar/cli
yarn global add @quasar/icongenie
yarn global add https://github.com/dipaksarkar/quasalang
TIP
On this project, we're using the latest Quasar version (currently 2.x). Please go to Quasar Capacitor documentation page for more information.
Add Configuration
Set up your environment files by copying the example files:
yarn
yarn gen:env
yarn make:ssl
Update your .env.frontend.dev
file with your details:
APP_ENV=Development
APP_NAME="NitroFIT28"
APP_DEBUG=true
HOST_NAME=nitrofit28.test
PORT=9001
Migrate the Database
Update your .env
file with your database details:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=nitrofit28
DB_USERNAME=root
DB_PASSWORD=password
Then, run the following command to migrate the database:
yarn fresh:dev
Start the App in Development Mode
To start the app in development mode with hot-code reloading and error reporting, use:
yarn start:web