Skip to content

Interactive Platform that empowers educators to educate their students about the world.

Notifications You must be signed in to change notification settings

visualum-engineers/visualum

Repository files navigation

Description

This project was built using the MERN stack

Prerequisites

  1. Install Node.js 16.4.0
  2. Install Doppler: https://docs.doppler.com/docs/enclave-installation
    • Ensure you have setup your account, and have accepted the invite to join the doppler visualum team
    • Doppler is in charge of hosting all enviroment variables.
      • If you do not have access, you will be unable to run/access our Node API.

Run Frontend Server

  1. Open up command line
  2. Navigate to the frontend directory by running cd frontend from root
  3. Run npm install to install all dependencies
  4. Run npm start

Run Node API

  1. Open up command line
  2. Navigate to backend directory by running cd backend from root
  3. Run npm install to install all dependencies
  4. Launching API
    1. If in development : Run npm run dev
    2. If in production : Run npm start

Compiling Sass Files

  • If you use VSCode, install the extension, Live Sass Compiler.
  • If you decide not to use VSCode:
    1. Run npm run scss to compile scss to a main.css file, in the public directory
    2. Note: This method will only build the script. If you make changes, you need to run this command again, to get an updated main.css file.

Launching App for Production

  1. Navigate to frontend directory and run npm build
  2. Navigate to backend directoy and run npm build Note: This requires 2 servers, 1 for the Node REST API, and the 1 for the frontend

Releases

No releases published

Packages

No packages published

Languages