Find Jobs
Hire Freelancers

Spring-boot project

$10-65 USD

已完成
已发布超过 6 年前

$10-65 USD

货到付款
The Project: Lost in Translation Background Many websites need to be displayed in multiple languages. To handle this, all the language- specific labels on the website are assigned a unique key and stored in a translation file. A website can have multiple translations files—one for each language. Translation files are stored in JSON, which allows labels to be stored hierarchically. For example, we could group the labels together by each section of a webpage: The website can reference each label in the HTML by its key in dot-notation ([login to view URL] = “Welcome to my Webpage!”). The key is dynamically replaced by the label when the page is rendered. This means that your raw HTML pages will contain no actual text, just keys. The downside of this technique is that is becomes difficult to see what label a key corresponds to without looking through a long JSON document. There’s got to be something we can do about that, right? The Task Your job is to create a web application that allows a user to search a provided translation file for a specific label. The search query will be the key of the label, in dot-notation. The requirements are as follows: • When your application initializes, it must load and process a single JSON translation file named [login to view URL] (an example has been provided) and store the data in memory. We will run your application using a different JSON file, but you can assume the JSON file will be valid. The value of a JSON object can only be a string (the label), or another JSON object (a nested JSON object). There will be no arrays in the JSON object. • The front-end of the application will be a single web page with a search interface of your choosing. The search interface will contain a search box, for entering the key, and a search results area to display the matching label. For example, if someone searched for “[login to view URL]”, the search page should display: “User Name”. One only search result is possible since each key is unique. If the user enters an invalid key, or a key that could not be exactly matched from the JSON file, no search results should be returned. • The application must be written using Java and Spring Boot ([login to view URL]). You may use whatever libraries or front-end frameworks you wish in order to achieve your goal. • Do not collaborate with other people on this project. It should represent only your own work. implement these extrafeatures: • Make the search request using AJAX. Dynamically display the search results on the screen when the response is returned. • A “reverse” search option: Allow the user to search by the label, and return all of the keys to which the label belongs. This search result can return multiple keys. Once again, only exact matches need to be considered. How the UI switches between the regular search and the reverse search is up to you. • Some cool feature you think would bring value to the application. Hint Loading the JSON file in a usable format can be made easy by using the ObjectMapper class. This class is an included dependency with any Spring Boot web application and can convert the raw JSON file into a Map which can be further processed to generate a set of keys and values. Example: In the map above, the value can be a String or another Map (in the case of a nested JSON object). The End Product include a small summary (no more than 1 page) of your thoughts on the project. Did you learn anything interesting? Did the end result turn out like you thought it would? Really anything that might be of interest to us! Ideally, we would like you to submit your work within 5 days of receiving this document. If your schedule won’t cooperate, please let us know.
项目 ID: 15084536

关于此项目

3提案
远程项目
活跃7 年前

想赚点钱吗?

在Freelancer上竞价的好处

设定您的预算和时间范围
为您的工作获得报酬
简要概述您的提案
免费注册和竞标工作
颁发给:
用户头像
I am expert in spring boot. I can do your task within a day. Relevant Skills and Experience Spring Proposed Milestones $111 USD - Final
$65 USD 在1天之内
4.9 (3条评论)
2.8
2.8
3威客以平均价$52 USD来参与此工作竞价
用户头像
Hi i am experienced C++ programmer and web designer. We can further discuss about your project in chat Relevant Skills and Experience C++ Programmer + Web Designer Proposed Milestones $30 USD - Milestone
$30 USD 在3天之内
0.0 (0条评论)
0.0
0.0
用户头像
Pegus Info, leading technology start-up with extensive experience in analysis, design, implementation and testing of various complex software systems suited for heterogeneous environments. Relevant Skills and Experience Java, J2EE technology and Web Service (SOAP, REST), MEAN Stack, Liferay, Amazon MWS API, eCommerce, Prestashop, OpenCart,Python,Node JS, React JS, Angular JS,Test Automation - pSelenium 3, Cucumber Proposed Milestones $61 USD - payment
$61 USD 在1天之内
0.0 (0条评论)
0.0
0.0

关于客户

UNITED STATES的国旗
Bowling Green, United States
4.0
2
付款方式已验证
会员自9月 27, 2015起

客户认证

谢谢!我们已通过电子邮件向您发送了索取免费积分的链接。
发送电子邮件时出现问题。请再试一次。
已注册用户 发布工作总数
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
加载预览
授予地理位置权限。
您的登录会话已过期而且您已经登出,请再次登录。