This repository contains solution to the Shopify 2022 Backend Developer Intern Challenge.
Build an inventory tracking web application for a logistics company.Documentation (Focoused on the backend of application as evaluation dosent depends on the front code.)
- Create Inventory Items
- View Inventory Items
- Update Items
- Softdelete Items
- Recover Items
To deploy this project:
- Clone it from the github
- run "npm i"
- run "npm run dev" (This shall run nodeJS on 5001 port and reactJS on 3000 port.)
- ShopifyBackendChalange: Contains backend code (NodeJS)
- shopifyfrontend: Contains frontend code (ReactJS)
| type | URI | Parameter | Type | Description |
|---|---|---|---|---|
| GET | /items | - | - | Returns all active items |
| GET | /items/deleted | - | - | Returns all deleated items |
| GET | /items/:itemID | itemID | String | Returns item with specific item id |
| POST | /items/ | Item object | JSON body | Creates new item |
| PUT | /items/:itemID | itemID, updated Item in body | String, JSON body | Updates item with id=itemID |
| DELETE | /items/:itemID | itemID, deletionComment | String, JSON body | Soft deletes item with itemID provided. Adds deletion comment to the deleted item. |
| PUT | /items/restore/:itemID | itemID | String | Restores item with id equals to itemID |
If you have any feedback, please reach out to us at [email protected]
I'm a full stack developer and cloud engineer currently persuing my postgraduation at Dalhousie University. I am looking for co-op/full time job oppertunities in Canada. Feel free to contact me on: