Everyone is welcome for code contributions or code enhancemnets.
please give a star, fork the repo and create PR for your code contributions
create database userdb;
use userdb;
create table users(
user_id int not null auto_increment primary key,
username varchar(45) not null,
password varchar(100) not null,
email varchar(45) not null
);
air
go run main.go
curl --location 'localhost:8080/signup' \
--header 'Content-Type: application/json' \
--data-raw '{
"username": "user1",
"password": "password1",
"email": "user1@gmail.com"
}
'
curl --location 'localhost:8080/signin' \
--header 'Content-Type: application/json' \
--data '{
"username": "user1",
"password": "password1"
}
'