kevinUsa Posted February 15, 2017 Report Posted February 15, 2017 The Assignment You are a DevOps engineer. Your boss has requested that you build a blog post API. You have been given a database schema by the DBA team that you will need to use to insert information into a SQLite database. Create a repository on Github (do notfork this one) and add the code necessary to provide an API that will write single posts to the database and retrieve a list of all posts from the database. You should include a copy of the database in your repository. It ought to work "out of the box". Requirements You must use a scripting language (i.e., Perl, Python, Ruby, Go, Java, Node) Shell scripting is not allowed for the assignment (i.e., Bash, Ksh, Zsh) Your solution must be easily deployable and include a well documented process to do so. Your solution must be checked into Github. Do not submit a pull request to this repository. Send us a link to your repository. Please show your work. We want to see multiple commits and see how you approached the problem. API Implementation You will need to implement 2 API endpoints for this assignment. An endpoint for POSTing a single blog post Endpoint must be /post Method must be POST Content of the POST must be the title and body of the post An endpoint for GETing all blog posts Endpoint must be /posts Method must be GET There should be no content sent (this is a GET request) Content received must be the post_id, title, and body of all posts in an array All data exchanged with the API must be in JSON format. Included in the Repository You will find a file called blog.db in the repository. It is a SQLite database file and already includes the table you need for persisting blog post data. When the API is used to POST a blog post it should be written to the database. When a GET is called the API should retrieve all entries from the database. Last Words Have fun! If you don't like doing this assignment you probably won't like working here. We like to code and we do a lot of automation. We're looking forward to seeing your API in action! Quote
Shyam_Sunder_From_TD Posted February 15, 2017 Report Posted February 15, 2017 1 minute ago, kevinUsa said: The Assignment You are a DevOps engineer. Your boss has requested that you build a blog post API. You have been given a database schema by the DBA team that you will need to use to insert information into a SQLite database. Create a repository on Github (do notfork this one) and add the code necessary to provide an API that will write single posts to the database and retrieve a list of all posts from the database. You should include a copy of the database in your repository. It ought to work "out of the box". Requirements You must use a scripting language (i.e., Perl, Python, Ruby, Go, Java, Node) Shell scripting is not allowed for the assignment (i.e., Bash, Ksh, Zsh) Your solution must be easily deployable and include a well documented process to do so. Your solution must be checked into Github. Do not submit a pull request to this repository. Send us a link to your repository. Please show your work. We want to see multiple commits and see how you approached the problem. API Implementation You will need to implement 2 API endpoints for this assignment. An endpoint for POSTing a single blog post Endpoint must be /post Method must be POST Content of the POST must be the title and body of the post An endpoint for GETing all blog posts Endpoint must be /posts Method must be GET There should be no content sent (this is a GET request) Content received must be the post_id, title, and body of all posts in an array All data exchanged with the API must be in JSON format. Included in the Repository You will find a file called blog.db in the repository. It is a SQLite database file and already includes the table you need for persisting blog post data. When the API is used to POST a blog post it should be written to the database. When a GET is called the API should retrieve all entries from the database. Last Words Have fun! If you don't like doing this assignment you probably won't like working here. We like to code and we do a lot of automation. We're looking forward to seeing your API in action! Quote
Chamak_Chandra Posted February 15, 2017 Report Posted February 15, 2017 30 minutes ago, kevinUsa said: The Assignment You are a DevOps engineer. Your boss has requested that you build a blog post API. You have been given a database schema by the DBA team that you will need to use to insert information into a SQLite database. Create a repository on Github (do notfork this one) and add the code necessary to provide an API that will write single posts to the database and retrieve a list of all posts from the database. You should include a copy of the database in your repository. It ought to work "out of the box". Requirements You must use a scripting language (i.e., Perl, Python, Ruby, Go, Java, Node) Shell scripting is not allowed for the assignment (i.e., Bash, Ksh, Zsh) Your solution must be easily deployable and include a well documented process to do so. Your solution must be checked into Github. Do not submit a pull request to this repository. Send us a link to your repository. Please show your work. We want to see multiple commits and see how you approached the problem. API Implementation You will need to implement 2 API endpoints for this assignment. An endpoint for POSTing a single blog post Endpoint must be /post Method must be POST Content of the POST must be the title and body of the post An endpoint for GETing all blog posts Endpoint must be /posts Method must be GET There should be no content sent (this is a GET request) Content received must be the post_id, title, and body of all posts in an array All data exchanged with the API must be in JSON format. Included in the Repository You will find a file called blog.db in the repository. It is a SQLite database file and already includes the table you need for persisting blog post data. When the API is used to POST a blog post it should be written to the database. When a GET is called the API should retrieve all entries from the database. Last Words Have fun! If you don't like doing this assignment you probably won't like working here. We like to code and we do a lot of automation. We're looking forward to seeing your API in action! Interview lo task aa...? @Spartan Quote
Shyam_Sunder_From_TD Posted February 15, 2017 Report Posted February 15, 2017 Just now, Chamak_Chandra said: Interview lo task aa...? @Spartan Quote
ARYA Posted February 15, 2017 Report Posted February 15, 2017 2 minutes ago, busstand_bathku said: FT or consulting ? Quote
Chamak_Chandra Posted February 15, 2017 Report Posted February 15, 2017 31 minutes ago, kevinUsa said: yeah @Spartan Bhayya nuvvu devops ee kada.....? Quote
Kalam_Youtheman Posted February 15, 2017 Report Posted February 15, 2017 1 hour ago, kevinUsa said: The Assignment You are a DevOps engineer. Your boss has requested that you build a blog post API. You have been given a database schema by the DBA team that you will need to use to insert information into a SQLite database. Create a repository on Github (do notfork this one) and add the code necessary to provide an API that will write single posts to the database and retrieve a list of all posts from the database. You should include a copy of the database in your repository. It ought to work "out of the box". Requirements You must use a scripting language (i.e., Perl, Python, Ruby, Go, Java, Node) Shell scripting is not allowed for the assignment (i.e., Bash, Ksh, Zsh) Your solution must be easily deployable and include a well documented process to do so. Your solution must be checked into Github. Do not submit a pull request to this repository. Send us a link to your repository. Please show your work. We want to see multiple commits and see how you approached the problem. API Implementation You will need to implement 2 API endpoints for this assignment. An endpoint for POSTing a single blog post Endpoint must be /post Method must be POST Content of the POST must be the title and body of the post An endpoint for GETing all blog posts Endpoint must be /posts Method must be GET There should be no content sent (this is a GET request) Content received must be the post_id, title, and body of all posts in an array All data exchanged with the API must be in JSON format. Included in the Repository You will find a file called blog.db in the repository. It is a SQLite database file and already includes the table you need for persisting blog post data. When the API is used to POST a blog post it should be written to the database. When a GET is called the API should retrieve all entries from the database. Last Words Have fun! If you don't like doing this assignment you probably won't like working here. We like to code and we do a lot of automation. We're looking forward to seeing your API in action! basically especially mana desi gaaalu vaalaki vachinaa task ni manaki interview lo ichii answer kanukooni use chesukuntaaaru....later not selected ani antaaaru...these days idhi chaala common ayyipoyindhii..emaina task unte ila interview ani adagatam answer thelisaakaa lite anaaadam Quote
Spartan Posted February 15, 2017 Report Posted February 15, 2017 i dont have expertise in this. Quote
boeing747 Posted February 15, 2017 Report Posted February 15, 2017 full time ayuntundi. consulting lo ila adigithe bokka inka evadiki jobs raavu Quote
battu Posted February 15, 2017 Report Posted February 15, 2017 easy ye kadha.... python use chesi request module vadi requests.POST vadatham and reguests.get vadatham vachina json file ni pasrse chesi database ki push chestham... Quote
kevinUsa Posted February 15, 2017 Author Report Posted February 15, 2017 that gave me got account and kellyservices Quote
Willams Posted February 15, 2017 Report Posted February 15, 2017 7 minutes ago, kevinUsa said: that gave me got account and kellyservices Quote
battu Posted February 15, 2017 Report Posted February 15, 2017 14 minutes ago, kevinUsa said: that gave me got account and kellyservices you mean git account? Full details PM chei.... Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.