init backend, added admin page in front
Signed-off-by: Nicolas Froger <nicolas@kektus.xyz>
This commit is contained in:
parent
5c6e641fbd
commit
ddc6c64f0f
89 changed files with 5083 additions and 9 deletions
|
|
@ -0,0 +1,6 @@
|
|||
quarkus.analytics.disabled=true
|
||||
quarkus.flyway.migrate-at-start=true
|
||||
%dev.kektus.assets.bucket=assets
|
||||
%dev.kektus.admin.token=hunter2
|
||||
quarkus.http.cors=true
|
||||
%dev.quarkus.http.cors.origins=/.*/
|
||||
|
|
@ -0,0 +1,15 @@
|
|||
create table Post (
|
||||
id bigserial not null primary key,
|
||||
description text,
|
||||
date timestamp(6) with time zone,
|
||||
city varchar(64),
|
||||
country varchar(64),
|
||||
latitude float4,
|
||||
longitude float4
|
||||
);
|
||||
|
||||
create table Asset (
|
||||
id bigserial not null primary key,
|
||||
filename varchar(255) not null,
|
||||
post_id bigint references Post
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue