{"id":18573848,"url":"https://github.com/numax-cz/reactloginsystem","last_synced_at":"2026-04-11T06:02:35.315Z","repository":{"id":108308210,"uuid":"353079241","full_name":"Numax-cz/ReactLoginSystem","owner":"Numax-cz","description":"Toto je Register/Logint system v Reactu a NodeJS","archived":false,"fork":false,"pushed_at":"2021-03-31T19:25:40.000Z","size":201,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-17T14:48:12.451Z","etag":null,"topics":["bootstrap","html5","nodejs","nodemon","react","react-router","reactjs"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Numax-cz.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-03-30T17:06:17.000Z","updated_at":"2021-03-31T19:13:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"fa68f098-10f3-4bde-80c5-ca74b5e0cf40","html_url":"https://github.com/Numax-cz/ReactLoginSystem","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numax-cz%2FReactLoginSystem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numax-cz%2FReactLoginSystem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numax-cz%2FReactLoginSystem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Numax-cz%2FReactLoginSystem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Numax-cz","download_url":"https://codeload.github.com/Numax-cz/ReactLoginSystem/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254442321,"owners_count":22071863,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["bootstrap","html5","nodejs","nodemon","react","react-router","reactjs"],"created_at":"2024-11-06T23:13:10.938Z","updated_at":"2025-12-30T22:36:04.913Z","avatar_url":"https://github.com/Numax-cz.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ReactNodeJsLoginSystem\n* Aplikace slouží jako ukázka!\n* Hesla se nešifrují do databáze!\n* Aplikace má základní kontrolu registrace!\n***\n## Použité balíčky \n* body-parser@1.19.0\n* cors@2.8.5\n* dotenv@8.2.0\n* express@4.17.1\n* mysql@2.18.1\n* nodemon@2.0.7\n* @testing-library/jest-dom@5.11.10\n* @testing-library/react@11.2.5\n* @testing-library/user-event@12.8.3\n* axios@0.21.1\n* bootstrap@4.6.0\n* react@17.0.2\n* react-dom@17.0.2\n* react-router-dom@5.2.0\n* react-scripts@4.0.3\n* web-vitals@1.1.1\n# Potřebné nastavení\n## Npm install\n* Nainstalujte balíčky pomocí `npm i`\n* Balíčky musíte nainstalovat jak ve složce `client` tak `server`\n\n***\n## Jak nastavit porty?\n* V souboru `client\\.env.local` nastavení portu `React App`\n* V souboru `.env` nastavení portu `serveru`\n* Výchozí port react app: `3000`\n* Výchozí port serveru: `3001`\n***\n## Jak nastavit post request?\n* V souboru `client\\src\\ App.js`\n* Neupravujte prosím /api/....\n```js\nconst URL = \"http://localhost:3001/api/register\"; //Post pro register\nconst URLUser = \"http://localhost:3001/api/usernamech\"; //Post pro name checker\nexport const URLLoginPage = \"http://localhost:3001/api/login\" //Post pro login\n```\n***\n## Jak nastavit mysql?\n* V souboru `.env`  nastavit údaje od databáze\n```\nDATABASE_HOST=\nDATABASE_USER=\nDATABASE_PASS=\nDATABASE_DB=\n```\n* Použité parametry databáze:\n```sql\nCREATE TABLE `test`.`login` ( `id` INT NOT NULL AUTO_INCREMENT , `username` VARCHAR(500) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL , `password` VARCHAR(500) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL , PRIMARY KEY (`id`)) ENGINE = InnoDB;\n```\n***\n## Jak spustit server?\n* Spuštění serveru ve `vývojářském režimu` (automatický restart serveru při změně)\n```\nnpm run dev\n``` \n* Spuštění serveru v `hostovaném režimu` (žádný restart při změně)\n```\nnpm run start\n``` \n***\n## Jak spustit react app?\n```\nnpm run start\n``` \n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumax-cz%2Freactloginsystem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnumax-cz%2Freactloginsystem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnumax-cz%2Freactloginsystem/lists"}