Giter VIP home page Giter VIP logo

memsource-interview's Introduction

Memsource interview assignment

Demo

Setup page List projects
img_2.png img_1.png

How to run

Backend is standard Gradle Spring Boot application. Used Java version is 11.

gradle bootRun

Frontend is made in VueJs. It is placed in frontend directory.

cd frontend
npm install
npm run dev

API

POST /v1/memsource/users

Request body

{
  "userName": "[email protected]",
  "password": "p@ssw0rd"
}

Response body

{
  "id": 46,
  "userName": "[email protected]"
}

POST /v1/memsource/projects

No response body

Request header

X-userId: 46

Response body

{
  "content": [
    {
      "name": "Another item",
      "status": "NEW",
      "sourceLang": "zu",
      "targetLangs": [
        "gux",
        "kl",
        "kl_gl",
        ...
      ]
    },
    ...
  ],
  "totalElements": 3,
  "totalPages": 1,
  "pageNumber": 0,
  "numberOfElements": 3
}

Development information

  • backend without tests: 2.5 hours
  • backend tests: 2 hours
  • frontend without tests: 3 hours (first time with VueJs)

Assignment

  • Create Spring Boot application.
  • The application will have 2 pages.

Setup Page

  • Memsource account can be configured here.
  • The configuration should be represented as a Spring entity class.
  • Two text fields for username and password.
  • Configuration can be edited and must be saved on a persistent storage (H2 database, for example).
  • No need to care about the security of a password.

Projects Page

Requirements

  • Create production quality code.
  • Understand AJAX.

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.