Skip to content

sdcirri/wasaphoto

Repository files navigation

Swagger Go SQLite JavaScript Vue.js Vite Docker

WASAPhoto

wasa-screenshot Keep in touch with your friends by sharing photos of special moments, thanks to WASAPhoto! You can upload your photos directly from your PC, and they will be visible to everyone following you.

This project was realized for the Web And Software Architecture course at Sapienza, based on the Fantastic Coffee (decaffeinated) template.

How to run

Running in debug mode

Backend

    $ go run ./cmd/webapi &

Frontend

    $ ./open-npm.sh
    $ npm run dev

Running in docker

docker compose

    $ docker compose up -d

Backend only

    $ docker build -t wasaphoto-backend:latest -f Dockerfile.backend .
    $ docker run -t --rm -p 3000:3000 -v ./demo/db:/app/db wasaphoto-backend:latest

Frontend only

    $ docker build -t wasaphoto-frontend:latest -f Dockerfile.frontend .
    $ docker run -t --rm -p <PORT>:80 wasaphoto-frontend:latest

Your instance of WASAPhoto will be reachable through http://localhost:PORT/ By default, the docker-compose will expose port 8080

Releases

No releases published

Packages

 
 
 

Contributors