- 最后登录
- 2019-4-17
- 金钱
- 1154
- 注册时间
- 2017-7-27
- 阅读权限
- 70
- 帖子
- 812
- 精华
- 0
- 积分
- 1130
博士后
|
6#
楼主 |
发表于 2018-3-14 06:09:38
来自手机
|
只看该作者
本帖最后由 Yummy_Boom 于 2018-3-14 06:10 编辑
这是我们公司今年实习生的面试题,你不是很懂行么?能做出来我看看么?不难,就是网页设计,或者你说一下你的思路
Thanks for accepting to take the coding exercise.
We'd like to test your practical object-oriented programming skills
with Python/MySQL/MongoDB/ElasticSearch.
As a test, we would want you to develop a basic web application using
Flask framework with Jinja2 templating.
The basic features needed for the flask app are:
Register a user with a username, First name, Last name, email, and
password. Save the user data in MySQL database
Login user (Validate the user information: username and password from
MySQL). Make sure you use ORM to insert and query data in MySQL (Eg:
SQLAlchemy)
After user logs in, display a keyword search box. (Something like
Google Search Box)
In the backend, Add data(any type of data) in MongoDB as well as index
the data in ElasticSearch. Make sure both the MongoDB and ES have the
same data with same "_id" for every document (dump the data manually
Eg. Calendar events data, flight data, etc.)
Display search results from Elastic Search with pagination when a
keyword search is made
When a user clicks on any item from the search results a new tab
should be opened to display the item details from MongoDB
Bonus: Usage of ODMs for Elastic Search and MongoDB.
(elasticsearch-dsl for ES and MongoEngine for MongoDB), Write scrapers
to dump the data in MongoDB and ES
You can host the test app on any free hosting service (Eg. Heroku) and
send a link to the app and source code (Eg. Github or Google Drive Link)
Please send the completed app by Monday, 3/12/2018.
Please let me know if you have any questions 来自: iPhone客户端 |
|