/euphoria

🪐Euphoria: drop-in audio chat.🟣

Primary LanguageTypeScript

🚀Euphoria💥

Server [5/8]:

  • [ ] TODO Add auth with SMS step
  • [ ] Create login page
  • [X] Add JWT
  • [X] Photo uploading bugfix (server)
  • [X] Add other (VK, Google) auth strategy
  • [X] Move https://localhost:3001 on server files to `.env`
  • [X] Bugfix on database
  • [X] Rewrite all twitter part of code to github
  • [X] Rewrite all components from JS to TS

Client [1/3]:

	React.useEffect(() => {
		window.addEventListener('message', ({ data, origin }) => {
			const user: string = data;
			if (typeof user === 'string' && data.includes('avatarUrl')) {
				// Проверяем, строка-ли user: если да -- проверяет, включают-ли данные в себя avatarUrl
				setUserData(JSON.parse(user));
				onNextStep();
			}
		});
	});
  • [X] Photo uploading bugfix (client)
  • [X] Add responsive for mobile and tablet