-
Ensure .net Core 2.2, PostgreSQL, PgAdmin, Git was installed
-
Go to the folder where the repository will be located, for example, "C:\Git". Clone repository in your directory and switch branch on "dev":
- If you want to use local database run next steps. You could use database from development environment and skip them.
- Run project with debug mode for local development:
or run project with release mode for development/stage/production environment:
- Project is found on: http://localhost:5200/graphiql/
Examples of GraphQL queries:
mutation login($loginData: LoginInput!){ login(loginData: $loginData) {expiresAt, token, user{id, email} } }
Query variables: { "loginData": { "email": "test@test.com", "password": "222" } }
mutation signUp($signUpData: SignUpInput! ){ signUp(signUpData: $signUpData) }
Query variables: { "signUpData": { "email": "test", "password": "123" } }
query Tabs{ tabs{id, name, logo, events{title}} }
mutation AddEvent($createData: EventInput!){ createEvent(createData: $createData) }
Query variables: { "createData": { "title": "test event title", "description": "test event desc", "start": 1, "end": 2, "repeat": 1, "notification": 1, "tabId": 1 } }
mutation AddTab($createData: TabInput!){ createTab(createData: $createData) }
Query variables:
{
"createData": {
"name": "test tab 2",
"logo": "test logo 2"
}
}