command
module
Version:
v0.0.0-...-f3b6af7
Opens a new window with list of versions in this module.
Published: Jul 13, 2025
License: Apache-2.0
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
crawler-api
This is rest api for crawler project
Running Locally with Docker Compose
Prerequisites
Steps
-
Clone the repository:
git clone <your-repo-url>
cd crawler-api
-
Build and start the services:
docker-compose up --build
This will build the Go application, start a MySQL database, and import the initial data from db/mysql.sql.
-
Access the API:
- The API will be available at: http://localhost:8080
- MySQL will be available at port 13306 on your host (if you mapped it), or 3306 by default.
-
Stopping the services:
Press Ctrl+C in the terminal, or run:
docker-compose down
Notes
- The backend will wait for the database to be ready before starting.
- Update
conf/config.yml if you change database credentials or ports.
- For frontend development, ensure CORS is configured for your frontend's origin in
main.go.
- User name: admin@skyell.com Password: 1234567
Replace <your-repo-url> with your actual GitHub repository URL.
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.