Skip to content

victorsteven/gallery-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Photo Gallery Application

Installation

Clone the application using:

git clone git@github.com:victorsteven/gallery-app.git

The Server

Change to the server directory:

cd server
  • Update the .env file with correct details. Both for the real database and the testing database.

  • Run unit and integration test from the root of the server directory using:

go test -v ./...
  • In the root of the server directory, start the server using:
go run main.go

The server will start running on port 7070(the default port from the .env file)

The Client(VueJS)

In a different terminal window, change to the client directory

cd client
  • Installation:
npm install
  • Start the client using:
npm run serve
  • The client will start running on port 8080

Content Display

Visit the browser with the address:

localhost:8080

image here

image here

Customization

  • If you wish to change the port the server listens to, you will need to change that in the .env file in the server directory and also in the src/.env.js file in the client directory.

About

A gallery application built with Golang and VueJS.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published