ScaffoldHub - v2
  • Introduction
  • Modeling
    • Two-way Relationships
  • Setup
    • Backend
    • Frontend
    • File Storage
    • Emails with SendGrid
    • Payments with Stripe
  • Debugging
  • Deployment
    • Database
      • SQL
      • MongoDB
    • Backend
      • Google Cloud - App Engine
      • Google Cloud - Run
      • Under construction...
    • Frontend
      • Firebase Hosting
      • Heroku w/ Subdomains
      • Under construction...
  • Features
    • Projects
    • Preview
    • Tenants
      • Single-Tenant
      • Multi-Tenant
      • Multi-Tenant (w/ subdomains)
    • Payments
    • Security
    • Authentication
      • Sign-in and Sign-up
      • Invitation
      • Password Reset
      • Password Change
      • Email Verification
    • Audit Logs
    • Settings
    • Internationalization (I18n)
    • Entity
      • Form
      • Filter and List
      • Export
      • Import
    • API Documentation
  • Architecture
    • Security
    • File Storage
    • Internationalization (I18n)
    • Payments
    • Typescript Support
    • Rate limiting
    • Technologies Versions
    • Under construction...
  • Recipes
    • Testing the API with Postman
    • Enterprise sign-in with WorkOS
    • Under construction...
  • Support
  • Changelog
    • Documentation
    • Scaffolds
  • Custom Development
  • Legacy Scaffolds
  • Go to ScaffoldHub
Powered by GitBook
On this page
  • Installing NodeJS
  • Installing the Dependencies
  • Running the frontend

Was this helpful?

  1. Setup

Frontend

PreviousBackendNextFile Storage

Last updated 2 years ago

Was this helpful?

The frontend configuration files are located at:

  • frontend/src/config/<environment>.tsx (For React and Vue)

  • frontend/src/environments/environment.<environment>.ts (For Angular)

The localhost configuration is already in place, you don't need to change anything. For the staging and production environments, please refer to the section.

Installing NodeJS

Make sure you have installed on your machine. The recommended version is 16.

It is recommended that you use a Node Version Manager tool for you to be able to switch version if you need it in the future.

MacOS/Linux:

Windows:

Installing the Dependencies

Go to the frontend folder of your project and run:

npm install

You can ignore installation warnings, but if it doesn't compile for some reason, try .

yarn install

Running the frontend

Go to the frontend folder of your project and run:

npm start

Deployment > Frontend
NodeJS
https://github.com/nvm-sh/nvm
https://github.com/coreybutler/nvm-windows
Yarn