HackerTrans
TopNewTrendsCommentsPastAskShowJobs

singingwolfboy

no profile record

Submissions

Advent of Slop: A Guest Post by Claude

lucumr.pocoo.org
6 points·by singingwolfboy·7 bulan yang lalu·0 comments

comments

singingwolfboy
·2 bulan yang lalu·discuss
https://archive.ph/aE9Xg
singingwolfboy
·2 bulan yang lalu·discuss
https://archive.ph/EvzqM
singingwolfboy
·4 bulan yang lalu·discuss
https://archive.ph/ABkeI
singingwolfboy
·4 bulan yang lalu·discuss
https://archive.ph/6kiqr
singingwolfboy
·4 bulan yang lalu·discuss
https://archive.ph/KTIGX
singingwolfboy
·5 bulan yang lalu·discuss
https://archive.ph/J8pg5
singingwolfboy
·6 bulan yang lalu·discuss
https://archive.ph/pm1c1
singingwolfboy
·6 bulan yang lalu·discuss
https://archive.ph/rHPk3
singingwolfboy
·7 bulan yang lalu·discuss
https://archive.ph/trS1i
singingwolfboy
·9 bulan yang lalu·discuss
https://archive.is/Xe0yW
singingwolfboy
·11 bulan yang lalu·discuss
https://archive.is/QH4hl
singingwolfboy
·11 bulan yang lalu·discuss
https://archive.ph/Q9lvm
singingwolfboy
·11 bulan yang lalu·discuss
https://archive.is/BYFSO
singingwolfboy
·12 bulan yang lalu·discuss
https://archive.is/7BmHJ
singingwolfboy
·tahun lalu·discuss
https://archive.ph/Pkxun
singingwolfboy
·6 tahun yang lalu·discuss
PostGraphile [1] is a framework for generating a GraphQL API based on the tables in your database; as a result, good database design is crucial. Graphile Starter [2] is a quickstart project that demonstrates best practices for getting up and running with PostGraphile quickly. In particular, check out the SQL migration file in that project [3]. It demonstrates:

1. Dividing up tables so that one user can have more than one email address

2. Using PostgreSQL’s “row-level security” system to restrict database results based on the logged in user

3. Dividing tables across multiple schemas for additional security

4. SQL comments for documentation

5. SQL functions for common functionality, such as logging in or verifying an email

It’s a fascinating project, and well worth a look!

[1](https://www.graphile.org/postgraphile/)

[2](https://github.com/graphile/starter)

[3](https://github.com/graphile/starter/blob/master/%40app/db/mi...)