CLANE JAVA SOFTWARE ENGINEER TASK This project manages Car management i.e. To create Car Catalogue with dependency on Categories of Cars.
I. The Table Categories manage the Categories. For every Car Catalogue to be created, a categoryId is required. It is expected that consumer will pull the Car Categories returned data through its API to get the created Categories Ids.
II. The Car Tags Ids is also be pulled from Tag table, the tag Id is optional during creation. III. The Car Images which is optional is expected in Base64
The following parameters are expected to create a Car Catalogue;
- name – required
- description – required
- category – required
- tags – optional
- images - optional recordTimestamps – (this is created by the application) engine number (it is sequential and 5 digits long, it will be created by the app)
The Search API Car Catague(s) can be serached using a prefered cateria (name, description, category/categoryId or tag/tagId) , such as choosen any of the following or combining them, two APIs are shared in the Postman collection, whth as based-api-url: http://{ip-address}:8030/api/search-car
The Post APIs Collections,
Here is the public link of the json collection: https://www.getpostman.com/collections/42aa3759bf3150700111 A Postman generated josn file (named: carCatalogue_app_postman_collections) is also contained in this repo. The following are the API URLs:
- Create Car Catalogue
- Create Car Tag
- Update Car Catalogue
- Get A Car Catalogue
- Search Car Catalogue by alphabet
- Search Car Catalogue by numeric
- Get All Car Catalogues
- Create Car Category
- Get CarCategories
- Get Car Category
- Get Car Tags
- Get Car Tag
Readme by: Olufemi Oshin, Senior Software Architect and Developer.