Open gbowne1 opened 3 months ago
@gbowne1 hi again, i was busy for couple of weeks, now i have free time again, please assign this to me, i will take a look and fix it, thanks
Ok @Sky-De
@gbowne1 is there any contributor access for the server for these .env :
PORT=
MONGO_URI=mongodb://localhost:27017/twitchbot
TWITCH_USERNAME= TWITCH_PASSWORD= TWITCH_CHANNEL=
SECRET_KEY=
or do I have to create all of these for myself inform me about it thanks
@Sky-De
There is no server, database, etc. so you'll need to create your own using MongoDB Atlas, MongoDB Compass or the cli versions mongod and mongosh for making your own server and database/collections for this.
Thanks
@gbowne1 I created everything except Twitch. Unfortunately, I do not have access to Twitch to create : TWITCH_USERNAME= TWITCH_PASSWORD= TWITCH_CHANNEL=
Is it possible for you, as the project owner, to provide a Twitch mock for me and other developers? There are quite a few things that I can improve on your server, such as cleaning up the code and creating a better structure for routes, middleware, controllers, and testing. However, I will require your assistance with Twitch. Please let me know if you can provide it. Otherwise, I regret to inform you that I will have to unassign this issue.
@Sky-De
Actually it is much easier if you can create your own account on Twitch because of how the bot registration process works. Its also not as simple as just providing a testing account.
I also believe that the old justin.tv API endpoint(s) still work for testing so there is that, but that would require more testing. Once the bot is working with the old API endpoints could just plug in the new API endpoints and carry on.
However there is still a lot of work that needs to be done before we get to integration with Twitch that would not specifically require Twitch, like the UI, etc.
I can still unassign you if you like.
@jarmentor
@gbowne1 Hey Greeting, I am interested in fixing this issue.
@Babuprasanth27 you are welcome to work on this issue.
@gbowne1 Thanks
Not sure if this is a thing 100% but:
The Login/Logout button stays in the Logout label state whether or not I am logged in or out. Also theres no snackbar, alert, toast, etc to tell the user the state of logged in or logged out status.
As a side note, am getting
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:3001/logout. (Reason: CORS request did not succeed). Status code: (null).
XHR POST http://localhost:3001/logout
An Source map error: Error: JSON.parse: unexpected character at line 1 column 1 of the JSON data Resource URL: null Source Map URL: react_devtools_backend_compact.js.map
and a Axios error
I am using mongod and mongosh with the database 'twitchbot`.