Giter Club home page Giter Club logo

code-interviewer's Introduction

code-interviewer

Purpose:


This project is a platform for making online interview with writing a code.

Environment configuration:


  1. JDK: java SE 1.8.

  2. Maven: apache-maven-3.3.9.

  3. SQL Server: MySQL Server 5.5.

  4. Install Node.js

  5. In the project directory, use "npm start"

Run server:


Use mvn spring-boot:run

Home page:


http://localhost:8080/

Log in with:


Role Username Password

ADMIN admin admin MANAGER manager manager RECRUITER recruiter recruiter REVIEWER reviewer reviewer INTERVIEWER interviewer interviewer

command for create user in MySQL

create user "codeinterviewer"@"localhost" identified by "codeinterviewer"; grant all on . to "codeinterviewer"@"localhost";

commands for create database in MySQL

create database codereviewer;

commands for use prod profile

mvn clean package (#Enter) java -jar target/code-reviewer.war --spring.profiles.active=prod

URLs:

/user GET --> returns all users POST --> consumes request body of User.class; saves a new user PUT --> consumes request body of User.class; updates a user DELETE --> consumes request param "id"; sets field 'active' onto false /restore/{id} --> (PUT) sets field 'active' onto true /{id} --> (GET) returns a user which has same id /current --> (GET) returns a user which logged in /participants --> (GET) returns a list of participants of current user /{id}/profileImage --> (POST) changes profile image of user /{id}/backgroundImage --> (POST) changes background image of user

/participant GET --> returns all participants POST --> consumes request body of Participant.class; saves a new participant PUT --> consumes request body of Participant.class; updates a participant DELETE --> consumes request param "id"; sets field 'active' onto false /{id} --> (GET) returns a participant which has same id

code-interviewer's People

Contributors

serhiikartashov avatar kutsaniuk avatar gregorypushkedra avatar tomahowk avatar

Watchers

James Cloos avatar  avatar Tina John avatar  avatar Yurii Demkiv avatar

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.