Laravel PHP REST web api
- or -
Post a project like this1746
€60(approx. $65)
- Posted:
- Proposals: 29
- Remote
- #2449918
- Completed
Top Shopify Developer ,WordPress, React.js, Next.js, Node.JS, Laravel, Express.js, Vue.js, Mongo DB, Expert ( PHP MySQL ).
Dallas
Full stack developer | Laravel | Wordpress |Core PHP | Codeigniter | PSD to HTML | PSD to Wordpress | Logo Design
Delhi
72260613623117574481531628245582824928107587217432902297485265948619776632820789
Description
Experience Level: Entry
Estimated project duration: 1 day or less
I need a Laravel PHP REST Web Api with two endpoints: one that accepts data to populate a table in MySQL and other to retrieve data from the same table. This is a project from scratch. I want to use Laravel Eloquent to manage DB (create, insert, udate, etc).
The model/table has attributes:
Code int
Reference string(20)
FamilyName string(100)
ModelName string(100)
ItemName string(100)
Price decimal
Endpoint 1:
POST /api/prices
Receives a JSON that is an array of rows with the same columns that in the previous model. It must delete all rows in table and populate again with the JSON. If everything goes fine, it must return an HTTP 204 code; if it fails, it must return an HTTP 202 code and the message/description of the error (plain text).
Endpoint 2:
GET /api/prices/reference
Receives the reference and must return the price. Plain data.
I will need full project source, and I must been able to make it work in my environment in order to pay.
The model/table has attributes:
Code int
Reference string(20)
FamilyName string(100)
ModelName string(100)
ItemName string(100)
Price decimal
Endpoint 1:
POST /api/prices
Receives a JSON that is an array of rows with the same columns that in the previous model. It must delete all rows in table and populate again with the JSON. If everything goes fine, it must return an HTTP 204 code; if it fails, it must return an HTTP 202 code and the message/description of the error (plain text).
Endpoint 2:
GET /api/prices/reference
Receives the reference and must return the price. Plain data.
I will need full project source, and I must been able to make it work in my environment in order to pay.
Esther M.
100% (19)Projects Completed
18
Freelancers worked with
11
Projects awarded
76%
Last project
10 Nov 2020
United Kingdom
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
There are no clarification messages.
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies