start creating server endpoints, database boilerplate

This commit is contained in:
2023-12-24 21:03:32 +00:00
parent c3ae3e91e4
commit 088d3bc0a0
27 changed files with 442 additions and 88 deletions

View File

@@ -0,0 +1 @@
DROP TABLE categories;

View File

@@ -0,0 +1,5 @@
CREATE TABLE categories (
id SERIAL PRIMARY KEY,
name VARCHAR NOT NULL,
user_id SERIAL REFERENCES users(id)
);