Frontend Setup
Prerequisites
Before you begin, ensure you have the following installed:
- Git
- Node.js 16
- npm (Node Package Manager)
- nvm (Optional: for managing multiple Node.js versions)
Installation Steps
-
Clone the Repository
git clone git@github.com:FASP-QAT/fasp-core-ui.git
cd fasp-core-uiPlease make sure that you have:
- An SSH key generated on your local machine
- The SSH key added to your GitHub account
- An SSH agent running on your local machine
-
Configure Node Version (Optional)
If you're using nvm to manage Node.js versions:nvm install 16
nvm use 16 -
Install Dependencies
npm install --legacy-peer-deps
-
Start the Development Server
npm run dev
-
Configuration (Optional)
To connect to a different backend server, modify theAPI_URL
inConstants.js
. The application is set up to connect to the live backend server by default.
To login to the application, you will need to create a new user in the backend.
The instructions for creating a user are available in the fasp-api installation guide, if you are running your own backend server.
If you are connecting to the demo QAT server, you, you will need to request a new user account from the FASP team.
Verify the application is running
The application will be available at: http://localhost:4202/