GithubHelp home page GithubHelp logo

want100cookies / grademaster Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 648 KB

U SHALL NOT PASS

License: MIT License

Shell 1.99% Batchfile 1.54% Java 57.76% CSS 1.73% HTML 20.07% JavaScript 16.92%

grademaster's Introduction

Build Status

GradeMaster

A small application to ease the grading of project groups for teachers.

Features:

  • Teachers can assign and deadline a grade to a group
  • Students can grade fellow group members before the deadline ends
  • Teachers can finalize the given grades and export it to CSV/PDF

Documentation

Swagger is used to document the API. To view the documentation, run the Spring boot app and visit http://localhost:8080/swagger-ui.html

Setup

Backend

Docker is being used to run all the needed backend services:

$ docker-compose up -d

To run the backend the following environment variables should exist:

  • EMAIL_HOST
  • EMAIL_PORT
  • EMAIL_USERNAME
  • EMAIL_PASSWORD

For intellij; Edit configurations... > Select configuration > Environment variables

Frontend
$ cd ./src/main/resources/public
$ npm install
Now you're ready to run the Spring boot app :)

Requirements

  • Java SDK >= 8.x
  • NPM >= 5.x
  • Node >= 9.x
  • Docker >= 17.x
  • Docker-compose >= 1.18.x

grademaster's People

Contributors

basvtholt avatar cassshh avatar dannyhooyer avatar jstrating avatar want100cookies avatar

Watchers

 avatar

grademaster's Issues

Deletion of group fails test

Data gets removed from database, however test fails.

For now @Ignore-ed

@Test
@Ignore("Disabled until fixed.")
public void teacherCanDeleteOwnGroup() {
String token = obtainAccessToken("[email protected]", "password");
Group g = groupService.findById(2L);
given()
.auth()
.oauth2(token)
.when()
.delete("/api/v1/groups/{groupId}", g.getId())
.then()
.statusCode(HttpStatus.ACCEPTED.value());
Group group = groupService.findById(g.getId());
assertThat(group, is(nullValue()));
}

@Ignore("Disabled until fixed.")
public void adminCanDeleteGroup() {
String token = obtainAccessToken("[email protected]", "password");
Group g = groupService.findById(1L);
given()
.auth()
.oauth2(token)
.when()
.delete("/api/v1/groups/{groupId}", g.getId())
.then()
.statusCode(HttpStatus.ACCEPTED.value());
Group group = groupService.findById(g.getId());
assertThat(group, is(nullValue()));
}

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.