my portafolio in golang
my portafolio in golang
See install golang.
Golang you need to create the public and private keys with these commands ubuntu linux "openssl genrsa -out private.rsa 1024" next "openssl rsa -in private.rsa -pubout > public.rsa.pub" and after that take the keys put in you folder secure in the last put the address key in the "ENV" file "privateKey" and "publicKey" but for testing you need to put in the file "authentification/authentication.go" the address direct because have error for use the component godotenv v1.3.0. may be late I will fix this error function but in the demo is direct in the file "authentification/authentication.go".
The system uses two tokens one is for access to the application with an expiration of 1 minutes normal token and the refresh token has an expiration of 20 minutes for testing purposes however it should generally expire in hours or months as a good practice if you wanna change the time you can find in the file authentification/authentification.go - function names (GenerateJWT/GenerateRefreshJWT).
air
redis-server
insert into cat_back_ends (back_end) values('golang');
insert into cat_back_ends (back_end) values('PHP');
insert into cat_back_ends (back_end) values('C# net');
insert into cat_back_ends (back_end) values('node.js');
insert into cat_back_ends (back_end) values('rust');
insert into cat_system_operatives(system_operative) values('Linux');
insert into cat_system_operatives(system_operative) values('Windows');
insert into cat_system_operatives(system_operative) values('Mac OS');
insert into cat_countries (country) values('méxico');
insert into cat_countries (country) values('united state');
insert into cat_countries (country) values('england');
insert into cat_countries (country) values('brazil');
insert into cat_countries (country) values('indian');
insert into cat_countries (country) values('china');
insert into cat_countries (country) values('germany');
insert into cat_countries (country) values('australia');
insert into cat_front_ends (front_end) values('Vue');
insert into cat_front_ends (front_end) values('React');
insert into cat_front_ends (front_end) values('Angular');
insert into cat_front_ends (front_end) values('Svelte');
insert into cat_front_ends (front_end) values('Typescript');
insert into cat_front_ends (front_end) values('jquery');
insert into cat_back_ends (back_end) values('golang');
insert into cat_back_ends (back_end) values('PHP');
insert into cat_back_ends (back_end) values('visual.net C#');
insert into cat_back_ends (back_end) values('scala');
insert into cat_back_ends (back_end) values('node.js');
insert into cat_back_ends (back_end) values('rust');
insert into cat_servers(server) values('AWS');
insert into cat_servers(server) values('Google cloud');
insert into cat_servers(server) values('Azure microsoft');
insert into cat_servers(server) values('Vultr');
insert into cat_servers(server) values('Digital ocean');
insert into cat_servers(server) values('Linode');
insert into cat_servers(server) values('Heroku');