You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Point the GraphQL IDE to `http://0.0.0.0:3000/graphql`
76
76
## What's included?
77
77
78
78
### 1. Database
79
-
The app uses a postgresql database. It implements the connector with the gem `pg`. The app already includes a `User` model with basic setup.
79
+
The app uses a postgresql database. It implements the connector with the gem `pg`. The app already includes a `User`and a `Account`model with basic setup. We see an `Account` as a company with it's users. We did **not** add multi-tenancy to this app. If you want to do it by yourself check out the [apartment](https://github.com/influitive/apartment) gem.
80
80
81
81
### 2. Authentication
82
82
The app uses [devise](https://github.com/plataformatec/devise)'s logic for authentication. For graphQL API we use the JWT token, but to access the rails_admin backend we use standard devise views, but registration is excluded.
0 commit comments