-
Notifications
You must be signed in to change notification settings - Fork 0
chore : signup and login intergrations with backend #38
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
base: main
Are you sure you want to change the base?
Conversation
isuruK2003
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Issues in the app.settings.ts file
|
|
||
| const PORTS = { | ||
| production: 8000, | ||
| production: 8081, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this needs to be 8000
|
|
||
| export const settings: Settings = { | ||
| export const settings = { | ||
| rebotWebsocket: { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
interfaces should not be removed, since this is typescript file
| /** | ||
| * App Configuration | ||
| * ----------------- | ||
| * This file contains all development-level app configurations. | ||
| * Not to be confused with user-configurable app settings like theme preferences. | ||
| * | ||
| * Note: | ||
| * To connect to a local backend instead of production: Set isProduction to false | ||
| */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no need to remove this
| export const settings = { | ||
| rebotWebsocket: { | ||
| isUserVisible: false, | ||
| value: `ws://${BACKEND_URL}/ws/rebot` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
line 15 change affects line 20. So change it to ws://${BACKEND_DOMAIN}:${BACKEND_PORT}/ws/rebot
| login: "/login", | ||
| signupStepOne: "/signup/step-one", | ||
| signupStepTwo: "/signup/step-two", | ||
| forgotPassword: "/forget-password/", | ||
| resetPassword: "/reset-password" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
need to be prefixed with the port and backend url. Like login: '${BACKEND_URL}/login'

@isuruK2003 check from your side