https://github.com/codetoby/atc-server
Automate Carting Shoes
https://github.com/codetoby/atc-server
Last synced: 5 months ago
JSON representation
Automate Carting Shoes
- Host: GitHub
- URL: https://github.com/codetoby/atc-server
- Owner: codetoby
- Created: 2023-01-23T16:43:03.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-04T15:47:59.000Z (over 2 years ago)
- Last Synced: 2025-02-17T14:45:15.214Z (about 1 year ago)
- Language: JavaScript
- Homepage:
- Size: 1.24 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ATC Server
The ATC (Add to Cart) server is an Express.js application designed to automate the process of adding products (shoes) to the cart.
## API Reference
### Adding items to Shopping Cart (Currently Supported: Snipes, Solebox)
You can add Onygo, Notebooksbilliger into config.json
```http
GET /atc?site=${site}&pid=${pid}&size=${size}
```
| Parameter | Type | Description |
| :-------- | :------- | :------------------------- |
| `site` | `string` | **Required**. The site where you want to cart the shoe. |
| `pid` | `string` | **Required**. ID of the shoe. |
| `size` | `string` | **Required**. Size of the shoe. |
## Installation & Setup
1. Clone the repository:
```bash
git clone [repository-url]
cd atcserver
```
2. Install the dependencies:
```bash
npm install
```
3. Start the server:
```bash
npm start
```
## Authors
- [@codetoby](https://www.github.com/codetoby)