Skip to content

Repository files navigation


Logo

Direct Dealing

Telecom NANCY - Coding Week 2023
Explore the docs »

View Demo · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contact

About The Project

TelecomNancy DirectDealing est une application d’économie circulaire en ligne permettant à des personnes de prêter/emprunter du matériel (tondeuse, marteau-piqueur, épluche-légumes, etc.) et/ou de proposer/demander des services (réparation d’une fuite d’eau, leçon de piano, déménagement, etc.)

(back to top)

Built With

Java

(back to top)

Video

You can find here a video presentation of the project.

Getting Started

To properly run the project, you need to have a Java IDE (Eclipse, IntelliJ, etc.) and a Java SDK (OpenJDK, Oracle JDK, etc.) installed on your computer. You need also to have JavaFX. If you don't have it, you can download it here.

Prerequisites

There is no prerequisites to run the project.

Installation

  1. Clone the repo
    git clone https://gitlab.telecomnancy.univ-lorraine.fr/pcd2k24/codingweek-08.git
  2. Navigate to the project folder
    cd codingweek-08
  3. Build the project
    ./gradlew build
  4. Add files/ folder
    cp -r ./Last_Release/files ./build/libs/
  5. Run the project
    ./gradlew run

(back to top)

Run .jar

  1. Navigate to the folder where is located the .jar file (default is Last_Realease/ folder)
  2. Copy/Paste the "files/" folder
  3. Run the .jar with the required modules
    java --module-path PATH_TO_THE_MODULES_FOLDER --add-modules=javafx.base,javafx.controls,javafx.fxml,javafx.graphics,org.json,org.apache.commons.io,com.calendarfx.view -jar codingweek-xx-x.x-SNAPSHOT.jar
    

(back to top)

Usage

How to run the tests :

  1. Run the projet a first time to create the build/ folder
    ./gradlew build
  1. The build fails, you now have to copy/paste the content of the files/ folder :
    cp -r ./Last_Release/files/. ./build/classes/java/main/eu/telecomnancy/codingweek/global/
  1. You can now successfully run the build and the tests
    ./gradlew build

(back to top)

Roadmap

  • Day 1
    • Create the project
    • Create the README
    • Create all the scenes with Scenebuilder
      • Connection
      • Registration
      • Profile
      • Public profile (canceled)
      • Manage Adverts
      • Create Advert
      • Search Advert
      • Advert details
      • Advert modification
      • Home bar
    • Data management
      • User
        • Id
        • UserName
        • Firstname
        • Lastname
        • Email
        • Password (hashed)
        • Money
        • Adress
        • City
        • Planning
        • Adverts
        • Reviews
      • Advert
        • Id
        • Type
        • Title
        • Description
        • IdOwner
        • Price
      • Transaction
        • Id
        • IdAdvert
        • IdBorrower
        • Planning
        • State
        • Duration
      • Planning
        • Not found yet
    • Manage Switch between scenes
    • Manage the connection (reported for day 2)
    • Create the json files
    • Find a way to store the planning (found, in implementation)
  • Day 2
    • Backend for Users
      • Connection
      • Registration
      • ...
    • Backend for Adverts
      • Json file created
    • Create Advert and display (not sorted per user yet)
    • Calendar : display the planning
  • Day 3
    • End of Adverts backend
      • Sort per user
      • Consult Advert
      • Fix some bugs
    • Calendar
      • Backend (utils)
    • General
      • Delete user
      • Delete advert
      • Modify user
      • Modify advert
    • Search advert
    • Display profile
    • Refactor code, fix bugs
  • Day 4
    • Calendar
      • Link to the app
        • Transactions
        • Adverts
        • Users
    • Transaction
    • Begin Review system
    • Complete unit tests
  • Day 5
    • Report problem to admin
    • Admin logic
    • Review system
    • End of unit tests
    • User "Sleep" during vacation
    • Frontend work
    • CSS
    • Fix bugs

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contact

Project Link: https://gitlab.telecomnancy.univ-lorraine.fr/pcd2k24/codingweek-08

(back to top)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages