Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/arumandesu/gobackendnotmangalib
Backend for notMangaLib in Golang
https://github.com/arumandesu/gobackendnotmangalib
Last synced: 5 days ago
JSON representation
Backend for notMangaLib in Golang
- Host: GitHub
- URL: https://github.com/arumandesu/gobackendnotmangalib
- Owner: ARUMANDESU
- Created: 2022-11-05T11:01:26.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-11-22T18:04:21.000Z (almost 2 years ago)
- Last Synced: 2023-04-24T17:00:18.134Z (over 1 year ago)
- Language: Go
- Size: 3.98 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Database (PostgreSQL)
```postgresql
create table manga
(
mangaid serial
primary key,
name varchar not null,
description varchar,
author varchar(30),
type varchar,
last_updated_time timestamp,
status varchar,
rating double precision,
mangaImg varchar default ''
);
create table mangateam
(
id serial
primary key,
teamid integer
constraint fk_teamid
references team
);
create table team
(
teamid serial
primary key,
name varchar(35) not null
);create table teamuser
(
id serial
primary key,
teamid integer
constraint fk_teamid
references team,
userid integer
constraint fk_userid
references useri
);
create table useri
(
userid serial primary key,
name varchar(50) not null,
email varchar
constraint unique_email
unique,
hashed_password char(60) not null,
role varchar
);create table chapter
(
chapterid serial
primary key,
chapter_number numeric(5, 1),
volume_number numeric(4),
title varchar default ''::character varying,
images character varying[]
);create table manga_chapter(
chapterid integer
constraint fk_chapterid
references chapter(chapterid),
mangaid integer
constraint fk_mangaid
references manga(mangaid));
```