Commit Graph

124 Commits

Author SHA1 Message Date
Lucas Bordeau
ed03111439
Fix linting after prisma generate (#158)
* fix: lint generated prisma files.

* Put lint command in server package.json
2023-05-31 08:39:47 +00:00
Charles Bochet
3674365e6f
Scope server with workspace (#157)
* Rename User to AuthUser to avoid naming conflict with user business entity

* Prevent query by workspace in graphql

* Make full user and workspace object available in graphql resolvers

* Add Seed to create companies and people accross two workspace

* Check workspace on all entities findMany, find, create, update)
2023-05-30 20:40:04 +02:00
Charles Bochet
0f9c6dede7
Clean server post refactor to remove Hasura (#156)
* Clean BE post refactor to remove Hasura

* Add server CI
2023-05-29 22:42:24 +02:00
Charles Bochet
b95ac8b40b
Add logo on navbar workspace container (#147) 2023-05-26 17:41:21 +02:00
Charles Bochet
29fb781c26
Updating server configuration (#145)
Update server deploy staging
2023-05-26 16:30:41 +02:00
Charles Bochet
26d3716ae7
Implement scoping on be (#144) 2023-05-26 14:00:32 +02:00
Charles Bochet
112aa3720b
Fix graphql Queries (#142) 2023-05-26 08:33:33 +02:00
Charles Bochet
17f5cf1766 Fix graphql queries 2023-05-26 00:31:43 +02:00
Lucas Bordeau
b0044ed1a2
Lucas/t 231 timebox i can create a company at the same time im creating (#140)
This PR is a bit messy:

adding graphql schema
adding create company creation on company select on People page
some frontend refactoring to be continued

---------

Co-authored-by: Charles Bochet <charles@twenty.com>
2023-05-25 23:09:23 +02:00
Sammy Teillet
fecf45f3bc
Sammy/t 245 implement resolvers matching hasura (#139)
* chore: remove old resolvers

* refactor: move generated file in code base

* feature: use only necessary code in graphql

* feature: implement query companies

* feature: implement companies and relations

* feature: implement all companies resolvers

* feature: implement all people resolver

* feature: add use resolvers

* feature: implement resolvers for workspace and users
2023-05-25 17:10:00 +02:00
Charles Bochet
34543b7fea
Simplify local dev (#137) 2023-05-25 15:56:28 +02:00
Charles Bochet
80f9cc8797
Re-implement authentication (#136)
* Remove hasura and hasura-auth

* Implement authentication
2023-05-25 11:51:15 +02:00
Charles Bochet
5d06398d2e
Remove hasura and hasura-auth (#134)
* Remove hasura and hasura-auth

* Move all models to prisma

* Start implementing graphql

* chore: clean package json

* chore: make the code build

* chore: get initial graphql.tsx file

* feature: use typegql as qgl server

* refactor: small refactoring

* refactor: clean tests

* bugfix: make all filters not case sensitive

* chore: remove unused imports

---------

Co-authored-by: Sammy Teillet <sammy.teillet@gmail.com>
2023-05-24 17:20:15 +02:00
Charles Bochet
6c7eb53333
Add seeds and move to uuid (#80)
Co-authored-by: Charles Bochet <charles@twenty.com>
2023-04-26 16:42:01 +02:00
Charles Bochet
9971da59a6 Fix server build 2023-04-24 18:04:55 +02:00
Charles Bochet
29b6109e54 Fix tests 2023-04-24 16:53:24 +02:00
Charles Bochet
6d2c8bbdf9 Assign user to workspace on signin 2023-04-24 14:53:48 +02:00
Sammy Teillet
dfcd22d66f
feat: use healthz 2023-04-14 17:03:18 +02:00
Sammy Teillet
0d82751b9b
feat: register health controller 2023-04-14 16:56:18 +02:00
Sammy Teillet
bd884c7407
feat: create a health controller 2023-04-14 16:52:57 +02:00
Sammy Teillet
5468442d1e
chore: remove static server 2023-04-14 16:49:33 +02:00
Charles Bochet
d9ecc56787 Enable Health Check route 2022-12-28 16:59:22 +01:00
Charles Bochet
92267701ff Rename tabs to Inbox, Contacts, Insights 2022-12-05 21:47:17 +01:00
Charles Bochet
cfc3a37e1f Setup Nest and React projects 2022-12-01 15:58:08 +01:00