This project was built using the MERN stack
- Install Node.js 16.4.0
- 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.
- Open up command line
- Navigate to the frontend directory by running
cd frontend
from root - Run
npm install
to install all dependencies - Run
npm start
- Will launch frontend server on https://localhost:3000
- Open up command line
- Navigate to backend directory by running
cd backend
from root - Run
npm install
to install all dependencies - Launching API
- If in development : Run
npm run dev
- Will launch API server on https://localhost:8000
- If in production : Run
npm start
- If in development : Run
- If you use VSCode, install the extension, Live Sass Compiler.
- If you decide not to use VSCode:
- Run
npm run scss
to compile scss to a main.css file, in the public directory - 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.
- Run
- Navigate to frontend directory and run
npm build
- 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