Opinionated SaaS quick-start with pre-built user account and organization system for full-stack application development in React, Node.js, GraphQL and PostgreSQL. Powered by PostGraphile, TypeScript, Apollo Client, Graphile Worker, Graphile Migrate, GraphQL Code Generator, Ant Design and Next.js
Sessions are now deleted after password reset/change.
A year has gone by... a lot has changed :sweat_smile: Probably best you scan through the git history, there's too much to list really.
.editorconfig
*.sql
to .gitattributes
to ensure LF line endings (rather than CRLF, which was breaking migration execution on Windows)?sslrootcert=...
in Postgres connection strings, e.g. to support self-signed or default untrusted (e.g. AWS RDS) SSL keys
The main feature in this release is Organizations support. An organization is a group of users (a company, charity, team, workspace, etc), where one user is in charge (the "owner") and one person is the billing contact. You may add further permissions. We've added all the behaviours you'd expect around organizations: creating, deleting, inviting users, inviting non-users, sending invite emails, accepting invites, re-assigning ownership/billing contact, managing members, managing other settings, controlling access to settings based on user role.
There's many other changes in this release; for full details have a look at the git history, but here are some of the highlights:
query: Query
from type Query
pgStrictFunctions
for stronger typing@app/lib
to ease sharing between components/client/server/workerRemember:
It is intended that you use a "point in time" version of this software ─ it is not intended that you can merge updates to this software into your own derivative in an automated fashion.
i.e. you can't simply update to this version - no attempt at backwards compatibility has been made
next.config.js
yarn docker setup
works againThe community have really enjoyed playing with the starter; and they've given back. This release contains a number of features and fixes contributed by the community; in particular I'd like to thank (in no particular order) @JoeSchr, @singingwolfboy, @makoncline, @MobliMic, @charlex, @alexk111 and @hos.
Here are some highlights:
SECURITY DEFINER
function securityuser__forgot_password
task has been fixed, it was using the user id as if it were a user_email id (which works whilst those ids line up on an empty database, but stops working when they diverge - e.g. when anyone adds a second email).last_active
value for a session was never updateddepcheck
, now added to CI)autoComplete
fields have been added to various inputsFix issue with production.Dockerfile
Thanks to all the people who’ve tested the starter and given feedback and pull requests!