this documents descript the site "AD50"
AD50 is based by site like tistory.
email service "load mail" need (load (1oAD) : vitual commpany)
load mail is gmail like goe.go.kr or hyangdong.hs.kr (groop mail)
[user@mail.load.io]
AD50 Site - AdPage - (Any Program) (It can be automouse)
that Any Program do setting user email by session
account's gain => host bank account (program save log that how much coust that account get money)
account-log-in : can watch AD, and when get money, send money by "Code"
50%:50%
Ad50
4 part of commponent
1. API Control Part but CGI Script and also use "Code"'s API
2. That Any Program
3. BankApi
4. API Server that "like-tistory" site use.
email API
- user account email auth
- smtp email code send
CodeAPI
- code.load.io/cgi-bin/code_gen.py
AmyProgram
- save account session and cookie
- return how much coust user get
BankApi
- CreateAccountAtAccount(~)
- SetThisToGetter(number)
Server
- cgi-bin/api.py
../
├ db.json
├ admailApiComponent
├ accountNumberApiComponent
└ mailApiComponent
cgi-bin/api.py
db.json
{
"users" : USER-DB,
"user bank account hash map" : HASH-MAP-INT-LIST //another hashed digest key, another hash use at hashset
}
user-DB
{
hashed-id : [hashed-pw, hashed-email, hashed-pin, is_authed],
...
}
like-tistory-site-custom-pages
index.html
sign_up.html
sign_in.html
ad.php //Team Tistory??? [Have There Own Session]
get_money.html
ABOUT api.py
Sign Up :
[ https://api.ad50.load.io/cgi-bin/api.py 0 hashed-id hashed-pw mail]
1. create user at DB
2. I) wait email auth
3. 200 : set auth
4. 200 : create bank account
5. 400 : delete user data
return bool is_success
Log In :
[ https://api.ad50.load.io/cgi-bin/api.py 1 hashed-id hashed-pw mail]
1. checking
return auth-pin
Ad :
[ https://api.ad50.load.io/cgi-bin/api.py 2 hashed-id hashed-pw mail session-id(encrypt)]
1. set php session account.
return auth-pin.
Get :
[ https://api.ad50.load.io/cgi-bin/api.py 3 hashed-id hashed-pw mail]
1. check money
2. send code to email
return how-much-sended
each part is Ad50LibApi, Ad50AccountProgram, stdAd50Server
it's git repo
it have create gh code.
well this is very easy too.