Skip to content

meghavinam/GoApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

database table creation

CREATE TABLE user_details ( id int NOT NULL AUTO_INCREMENT, first_name varchar(250) NOT NULL, last_name varchar(250) NOT NULL, adress text NOT NULL, age int NOT NULL, created_date datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, updated_date datetime NOT NULL DEFAULT CURRENT_TIMESTAMP, PRIMARY KEY (id) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci

Virtualhost

<VirtualHost *:80> ProxyPreserveHost On ProxyRequests Off ServerName api.abc.com ProxyPass / http://localhost:8086/ ProxyPassReverse / http://localhost:8086/

Extra installation

add proper configurations in src/config/config.json file

run and build the fiile

run sh buildfile.sh

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published