https://github.com/beihao-zhou/shopifybackend
This is the F22 shopify backend intern challenge
https://github.com/beihao-zhou/shopifybackend
Last synced: 9 days ago
JSON representation
This is the F22 shopify backend intern challenge
- Host: GitHub
- URL: https://github.com/beihao-zhou/shopifybackend
- Owner: Beihao-Zhou
- Created: 2022-05-11T15:42:35.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-05-11T18:08:46.000Z (about 3 years ago)
- Last Synced: 2025-02-16T20:48:34.102Z (3 months ago)
- Language: JavaScript
- Size: 12.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Shopify Fall 2022 Backend Intern Challenge
## Production
The app is run on [Replit](https://shopifyBackend.beihaozhou.repl.co)
## Endpoints
The methods of creating and getting all inventories live at the `https://shopifyBackend.beihaozhou.repl.co/inventory` endpoint, deleting and updating inventories can be done by sending request to `https://shopifyBackend.beihaozhou.repl.co/inventory/:id`, where `id` is the inventory id and you can get that by sending get request first.## Additional Feature
I chose the second feature that locations of inventories can also be created. Each location has its ID, which is associated with the field `locationId` of inventory schema.
The methods of creating and getting all locations live at the `https://shopifyBackend.beihaozhou.repl.co/location` endpoint, deleting is also implemented and you can send the request to `https://shopifyBackend.beihaozhou.repl.co/location/:id`.