- This is a web service project built with Golang Gin framework that allows users to register and view their portfolios.
- Implement the backend to match the API endpoints called by the open source frontend
- Golang 1.2 or higher
- Gin framework
- MySQL
- Clone this repository to your local machine.
- Install the necessary dependencies by running the following command:
go mod download
- Set up the environment variables by creating a .env file in the root directory of the project and adding the following variables:
MYSQL_URI = <MySQL uri>
JWT_SECRET = <your jwt secret key>
- Run the project by running the following command:
go run main.go
Open your web browser and navigate to http://localhost:5001 to access the web service.