Monash-FIT3170 / JRVS

Project 4 - FIT3170 - 2024
3 stars 1 forks source link

JRVS

Project 4 - FIT3170 - 2024

JRVS is an educational app that makes AI easy to understand and exciting to learn through interactive learning paths and modifiable content.

Team:

Running the app

Pre-requisites:

  1. delete all yarn.lock files, node_modules and package-lock.json files
  2. update .env file in server/ with mongo_uri password, encryption_key, encrpytion_iv and jwt_secret
  3. add/update .env file in client/ with REACT_APP_BACKEND_URL
  4. npm run install-all-mac or npm run install-all-win (if on mac or windows)
  5. npm run dev to run the dev app

Hosting the app through docker

  1. make sure you have docker desktop installed from https://www.docker.com/
  2. make sure you have the .env correctly setup in the root of the server/ directory, and client/ directory
  3. navigate to the root directory of the project in the terminal and run docker-compose up --build
  4. you should now be able to access the application from http://localhost domain!