diff --git a/README.md b/README.md index 6b33e66..9b786cc 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,44 @@ -# cgv_auto_reservation +# CGV Booking Automation +This project is a code for automating movie bookings on CGV (Cine de Grande Vue). +## Prerequisites +- Node.js +- npm/yarn + - Puppeteer + - Axios + - Moment.js + - ... + +## Installation +1. Clone this repository to your local machine. +2. Install dependencies using npm or yarn: + ```batch + npm install + # or + yarn install + ``` +3. Set up environment variables by creating a `.env` file in the root directory and providing the required variables: + ```javascript + URL_LOGIN='https://www.cgv.co.kr/user/login' + URL_IPARKCGV='https://m.cgv.co.kr/WebApp/Reservation/schedule.aspx?tc=0013&rc=01&ymd=&fst=&fet=&fsrc=' + CGV_ID= + CGV_PW= + EZPAY_PW= + BOT_TOKEN= + BOT_CHATID= + COOKIE= + ``` + +## Usage +To run the script, execute the following command: + ```batch + npm run dev + # or + node ./cgvAjax.js 1 + ``` + +## Contributing +Feel free to contribute to this project by opening issues or pull requests. Any feedback or suggestions are welcome! + +## License +This project is licensed under the MIT License. \ No newline at end of file