Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team3 jtq azhar ayushi #13

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,17 @@
# JumpTheQueueGallery
Various implementations of JumpTheQueue

JUMP THE QUEUE
When visiting public (free) or private (paid) events there are often large queues creating significant waiting times. Ideally the organizer of the event would like to streamline the entry of people into the venue. If people were to arrive right on time they could get into line more efficiently. A website or application could support this process by assigning visitors a queue number. This document describes the design of such a website/application, appropriately named JumpTheQueue.



Technical Architecture:
We have designed our application in 3 layered architecture. these are divided as follows:-
For front end we have used devon4ng in angular and for backend we have used devon4j in java.



Execution: For the execution of front end 'devon ng serve' command has been used. For backend execution we have run the application in Eclipse..
For checking the backend functionalities we have used Postman.
For checking the frontend functionalities we have used chrome.

Integration: We have integrated backend and frontend using the REST API calls.
21 changes: 21 additions & 0 deletions backend/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
.*
!.github
!.gitignore
!.mvn
!.travis.yml
*.bak
*.log
*.class
*.diff
*.patch
*.iml
*.jar
*.war
*.ear
hs_err_pid*

target
eclipse-target
war
**/src/generated/
**/tmp/
45 changes: 45 additions & 0 deletions backend/api/pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>com.devonfw.java.jtqbackend</groupId>
<artifactId>jtqbackend</artifactId>
<version>0.0.1</version>
</parent>
<artifactId>jtqbackend-api</artifactId>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
<description>API of the server for the jtqbackend application (containing datatypes, transfer-objects, and service interfaces).</description>

<dependencies>
<dependency>
<groupId>org.springframework.data</groupId>
<artifactId>spring-data-commons</artifactId>
</dependency>
<dependency>
<groupId>com.devonfw.java.modules</groupId>
<artifactId>devon4j-rest</artifactId>
</dependency>
<dependency>
<groupId>com.devonfw.java.modules</groupId>
<artifactId>devon4j-logging</artifactId>
</dependency>
<dependency>
<groupId>com.devonfw.java.modules</groupId>
<artifactId>devon4j-security</artifactId>
</dependency>
<!-- Required for security REST service -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<scope>provided</scope>
</dependency>
<!-- Tests -->
<dependency>
<groupId>com.devonfw.java.modules</groupId>
<artifactId>devon4j-test</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
package com.devonfw.application.jtqbackend.eventmanagement.common.api;

import java.sql.Timestamp;

import com.devonfw.application.jtqbackend.general.common.api.ApplicationEntity;

public interface Event extends ApplicationEntity {

/**
* @return eventNameId
*/

public String getEventName();

/**
* @param eventName setter for eventName attribute
*/

public void setEventName(String eventName);

/**
* @return startDateId
*/

public Timestamp getStartDate();

/**
* @param startDate setter for startDate attribute
*/

public void setStartDate(Timestamp startDate);

/**
* @return endDateId
*/

public Timestamp getEndDate();

/**
* @param endDate setter for endDate attribute
*/

public void setEndDate(Timestamp endDate);

/**
* @return locationId
*/

public String getLocation();

/**
* @param location setter for location attribute
*/

public void setLocation(String location);

/**
* @return descriptionId
*/

public String getDescription();

/**
* @param description setter for description attribute
*/

public void setDescription(String description);

/**
* @return logoId
*/

public String getLogo();

/**
* @param logo setter for logo attribute
*/

public void setLogo(String logo);

/**
* @return attentionTimeId
*/

public String getAttentionTime();

/**
* @param attentionTime setter for attentionTime attribute
*/

public void setAttentionTime(String attentionTime);

/**
* @return visitorCountId
*/

public int getVisitorCount();

/**
* @param visitorCount setter for visitorCount attribute
*/

public void setVisitorCount(int visitorCount);

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
package com.devonfw.application.jtqbackend.eventmanagement.logic.api;

import com.devonfw.application.jtqbackend.eventmanagement.logic.api.usecase.UcFindEvent;
import com.devonfw.application.jtqbackend.eventmanagement.logic.api.usecase.UcManageEvent;

/**
* Interface for Eventmanagement component.
*/
public interface Eventmanagement extends UcFindEvent, UcManageEvent {

}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
package com.devonfw.application.jtqbackend.eventmanagement.logic.api.to;

import com.devonfw.module.basic.common.api.to.AbstractCto;

/**
* Composite transport object of Event
*/
public class EventCto extends AbstractCto {

private static final long serialVersionUID = 1L;

private EventEto event;

public EventEto getEvent() {

return event;
}

public void setEvent(EventEto event) {

this.event = event;
}

}
Loading