This API lets users store information as a string through a simple RESTful interface. Users are managed by the api.
The program uses a postgresql database to store user authentication information and user data.
DATABASE_HOST
database host addressDATABASE_POST
port database is accessible onDATABASE_USERNAME
username for accessing the database withDATABASE_PASSWORD
password of database access userDATABASE_NAME
name of the database on the server
Column | Type | Constraints |
---|---|---|
username |
CITEX | Primary Key, Not null |
email |
CITEX | Unique, Not null |
password_hash |
BYTEA | Not null |
Column | Type | Constraints |
---|---|---|
token |
VARCHAR | Primary Key |
username |
CITEX | Foreign Key, Not null |
created_at |
TIMESTAMPTZ | Not null, automatically set by database |
expires_at |
TIMESTAMPTZ | Not null, automatically set by database |
Column | Type | Constraints |
---|---|---|
username |
CITEX | Primary Key, Foreign Key |
data |
VARCHAR | Not null |