Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example [Server]Pure Code First/EF/Postgres/Redis Sub - [Client]React/Apollo #22

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

arif-hanif
Copy link

@arif-hanif arif-hanif commented May 2, 2020

Tasks:

  • Create server with PCF, Postgres, Redis subscriptions
  • Create React, Apollo client
  • Rename C# project namespace to Server instead of SlackClone
  • Align Server SDL with existing examples
  • Add direct messaging
  • Add token refresh to remove error of stale token

@arif-hanif arif-hanif marked this pull request as draft May 2, 2020 14:46
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 Arif Hanif
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove

@@ -0,0 +1,63 @@
{
"name": "slack-clone-client",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to react-apollo

<ApolloProvider client={client}>
<Helmet>
<meta charSet='utf-8' />
<title>Slack Clone</title>
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

React-Apollo Client

{
endpoints.MapGet("/", async context =>
{
await context.Response.WriteAsync("GraphQL Server Launched");
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add address

Comment on lines +91 to +99
var redisConfigurationOptions = new ConfigurationOptions
{
AllowAdmin = false,
Ssl = false,
Password = "p909446d3e9c3405a7e4e38876320a36ca80fa98668e44e7a49cdbabf02ad514e",
EndPoints = {
{ "ec2-3-86-75-248.compute-1.amazonaws.com", 20849 }
}
};
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

remove credentials and move to user secrets

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant