W3-Anjan / Go-Beego-Project

Beego assignment

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

beego-assignment-prodipto

Beego assignment Prodipto

Used tools

  • Beego
  • Golang
  • HTML, CSS, jQuery and JavaScript

Installation process of necessary tools:

Go installation process:

Beego installation:

  • Edit the .profile file by running the following command:
- sudo nano ~/.profile
  • Add the following paths at the end of .profile file.
export PATH=$PATH:/usr/local/go/bin
export PATH=$PATH:/home/diptoprodipto/go/bin

export GOPATH="/home/diptoprodipto/go/"
export GOBIN="/home/diptoprodipto/go/bin"
  • Run the following commands on your terminal:
- go get -u github.com/beego/beego/v2
- go get -u github.com/beego/bee/v2

For running the project:

  • Go to the project directory and run the following command:
- bee run
  • In case of "missing go.sum entry" error run:
- go mod tidy
- More on this error: https://stackoverflow.com/questions/67203641/missing-go-sum-entry-for-module-providing-package-package-name

Project overview

  • Select your preferred option and cat images will be shown.

Screenshot from 2022-01-28 18-43-14

  • You can sort the images in ascending/descending order and access them all in pagination mode.

Screenshot from 2022-01-28 18-50-35

About

Beego assignment


Languages

Language:Smarty 83.7%Language:JavaScript 10.1%Language:Go 6.2%