Swipe Mission is a web application that allows users to identify whether photos and their descriptions are correct.
- Docker
- Docker Compose
-
Clone this repository:
git clone https://github.com/yourusername/swipe-mission.git cd swipe-mission
-
Build and run the application:
docker-compose up --build
-
Open your web browser and navigate to
http://localhost:8080
- On the home page, you'll see buttons for different attitudes (e.g., age, gender).
- Click on an attitude to start reviewing images.
- For each image:
- Swipe right or press the right arrow key if the description is correct.
- Swipe left or press the left arrow key if the description is wrong.
- Swipe down or press the down arrow key to undo the last action.
- Swipe up or press the up arrow key to save and exit.
backend/
: Contains the Go backend codefrontend/
: Contains the HTML, CSS, and JavaScript for the frontenddb/
: Contains the ScyllaDB initialization scripttest_image/
: Contains the test imagestest_result/
: Contains the test result text filesDockerfile
: Defines the Docker image for the applicationdocker-compose.yml
: Defines the services (app and database) for running the application
To make changes to the application:
- Modify the code in the
backend/
orfrontend/
directories as needed. - Rebuild and run the application using
docker-compose up --build
.
Currently, the application uses test images and results located in the test_image/
and test_result/
directories. To test with different images or results, replace the files in these directories before building the Docker image.
This project is licensed under the MIT License.