Skip to content

RMIT-Vietnam-Teaching/2024a-cosc3056-workshop-05-webform-team-sg-g02-cosc3056-2024a

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open in Visual Studio Code

COSC3056 Week 06 Workshop Starter Code

Starter code for Week 06 Workshop for Web Forms.

Folders:

├── /src/main                    - Location of all files as required by build configuration
│         ├── java               - Java Source location
│         │    └── app           - package location for all Java files
│         └── resources          - Web resources (html templates / style sheets)
│               ├── css          - CSS Style-sheets
│               └── images       - Image files
│ 
├── /target                      - build directory (DO NOT MODIFY)
├── /database                    - The folder to store sqlite database files (*.db files)
├── pom.xml                      - Configure Build (DO NOT MODIFY)
└── README.md                    - This file ;)

Current Libraries

  • org.xerial.sqlite-jdbc (SQLite JDBC library)
  • javalin (lightweight Java Webserver)

Libraries required as dependencies

  • By javalin
    • slf4j-simple (lightweight logging)
  • By xerial/jdbc
    • sqlite-jdbc

Building & Running the code

  1. Open this project within VSCode
  2. Allow VSCode to read the pom.xml file
  • Allow the popups to run and "say yes" to VSCode configuring the build
  • Allow VSCode to download the required Java libraries
  1. To Build & Run
  • Select the "Launch App" launcher profile from the VSCode Run/Debugger
  • Alternatively, open the src/main/java/app/App.java source file, and select "Run" from the pop-up above the main function
  1. Go to: http://localhost:7001

Important Notes

  1. ONLY modify the files which you are allowed to edit. The other files are placed in important places to make our "big software project" work.
  2. DO NOT move the Java files from the src/main/java/app folder. These Java files need to be in this location to ensure our "big software project" works.

DEV Container for GitHub Codespaces

The .devcontainer folder contains configuration files for GitHub Codespaces. This ensures that when the GitHub classroom is cloned, the workspace is correctly configured for Java (V16) and with the required VSCode extensions. This folder will not affect a local VSCode setup on a computer.

🚨 DO NOT MODIFY THE CONTENTS OF THIS FOLDER. 🚨

Authors

  • COSC3056 teaching team, School of Science and Technologies, RMIT Vietnam.
  • Dr. Timothy Wiley, School of Computing Technologies, STEM College, RMIT University.
  • Prof. Santha Sumanasekara, School of Computing Technologies, STEM College, RMIT University.

Copyright RMIT University (c) 2023

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published