GithubHelp home page GithubHelp logo

course-project-utalk's Introduction

Utalk

Our group want to make an online discussion forum based on course for students, professors and faculties in the University of Toronto.

Important:

  1. Our program needs version 17 JDK to run

    File -> Project Structure -> Project -> Project SDK set to 17 & Project language level 17 - Sealed types, always-strict floating-point semantics

    setting language level to 17

    File -> Project Structure -> Modules -> language level set to 17

  2. Please follow these steps to change the path in the FilePathHelper to your absolute path for our program down to the database package, after that it should be able to run.

    once download the project

    Project -> src -> edu -> main -> outerlayer -> database right click on the database package, Copy Path/Reference, choose Absolute Path

    Project -> src -> edu -> main -> outerlayer -> userinterface -> FilePathHelper, paste the Absolute Path to FILEPATH

    Project -> src -> edu -> main -> runner -> Executer Run 'Executer.main()' to compile project

  3. Please empty the csv files when you run test cases as user and commentable user are written by different functions, therefore running the test cases will cause a misallignment in them.

  4. our specification is the first section of our design document, our project accessibility report is included just before our progress report in our design document, and our progress report is the last section.

  5. Please run the executer to compile our codes.

  6. Add "JUnit4" to classpath to run the junit test

Basic function include:

Student: add comment, delete one's own comment, enroll course, drop course, present course page, present postpage

Faculty: add course, update course

Professor: add comment, delete comment, enroll course, drop course, present course page, present postpage

Reader and writer: read and write into csvs.

JavaStorage: record all the information stored in it into Arraylists so that we can write them to csvs.

course-project-utalk's People

Contributors

hanqi-angelina avatar zhijunwang1 avatar kuang-jiang avatar zeyuanli0702 avatar frankqqqq avatar junhao-saw avatar wanzzhij avatar github-classroom[bot] avatar

Stargazers

 avatar

course-project-utalk's Issues

Bugs needed to be fixed for the method AddComment

The AddComment and/or associated loaddata methods are not working currently, the main UI can run without bugs till the present courspage phase. Please utilize the completed functions to test your part.

Upper/lower case problem

Please make sure that the name of every directory you are using is in lower case and every java class are begin with a capital letter.

Fixe the bugs for writing commentableUsers

Hi,

I have fixed the bugs for writing commentableUsers into csv when calling StuProPage().

All other files changes are due to the addition of edu folder to adhere to the naming convention.

Please add tests for your own functions

Hi all,
UI is not implemented now, I would suggest writing a few tests for your own code to test its functionality.
I think course GitHub exercise 1-4 is a good resource that you can refer to.

Methods Needed for Testing

(This is a test for using the assigning feature of Issues)
Please implement the log in and register methods of Faculty so that I can test my create course and update course methods.
Thanks a lot :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.