Skip to content

Latest commit

 

History

History
74 lines (60 loc) · 4.29 KB

SETUPDOC.md

File metadata and controls

74 lines (60 loc) · 4.29 KB

dsd-cohort-2024

This setup document is for the DSD Cohort 2024 group Team Bethany and Ryan

Software Installs

NodeJS

  • Have Node installed on your local machine: https://nodejs.org/en
  • Can use the terminal to check if you have node installed & what version with node -v

Java

IntelliJ

  • IntelliJ for the backend Java application
    • Community edition DOES NOT SUPPORT SPRING BOOT so don't download this version (ask me how I know this facepalm)
    • Download this version: https://www.jetbrains.com/idea/download/?section=windows
    • This version is only free for 30 days, might have to figure something else out after the free window ends

VSCode

Backend_Application

Getting Started

  • Clone entire project locally
  • The backend application can be opened with IntelliJ or VSCode by right-clicking on the Backend_Application folder and selecting which program to use
  • If you don't have an SDK downloaded, IntelliJ will propmt you to choose one to download
  • Both IntelliJ and VSCode have a green play button that you use to run the Java SpringBoot project and a debug button image
  • The backend application is set up to run on localhost:8080 and this is set in the dsdcohort.Application --> resources --> application.properties file
  • After starting up the project, navigate to localhost:8080 and confirm that you can see a message in your browser!
  • The backend project has been set up to have a config folder that contains a CORSConfig file. This file will allow the frontend project to access the backend API

Dependencies

  • You will need to have a Java SDK v.21 installed (link is above in the Java installs list)

Project Structure

  • The Application file that contains the main() function is the entry point into the application, and this file must remain at the root of the application folder

Frontend_Application

Getting Started

  • Clone entire project locally and open the Frontend_Application in VSCode
  • Run npm install to install all project dependencies
  • This project was boostrapped with Vite so to run the project use the command npm run dev
  • Open your browser and navigate to localhost:3000 to see the React frontend project loaded

Dependencies

  • React Router
  • Prettier
  • Jest
  • ESLint

Project Structure

  • index.html is the entrance file into the project

Backend project settings for reference in case I messed this up somehow: image