Go Server for the RecruitApp Recruitment and Selection using Psychometric Analysis Project
- Make sure you have the latest version of Go installed. This project uses version 1.10
- Install gorrilla/mux using
go get
- Clone the repository to a location of your choice
- Setup the database by importing the sql script -- found in pkg/config -- to your database server. This project uses
MySQL Server 5.7
. Importing the database script should create the database and it's associated tables - Open up the project in your preferred text editor or IDE.
- Locate the
db.go
file -- inpkg/config
and replace the database credentials with your environment credentials - Open a terminal and cd to the location of the cloned repository
- Run
go run *.go
to run the entire content of the folder