{"id":18858017,"url":"https://github.com/kvbc/react-messenger","last_synced_at":"2026-04-10T07:03:02.254Z","repository":{"id":221371938,"uuid":"753057507","full_name":"kvbc/react-messenger","owner":"kvbc","description":"Simple messaging app built on a Next.js frontend with an Express backend and a SQLite database, using Github authentication services","archived":false,"fork":false,"pushed_at":"2024-02-25T15:49:57.000Z","size":520,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-30T07:37:15.193Z","etag":null,"topics":["back-end","backend","database","express","expressjs","front-end","frontend","github","github-authentication","github-oauth","messaging","messanger","next","nextjs","react","reactjs","tailwind","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/kvbc.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":"2024-02-05T11:40:04.000Z","updated_at":"2024-02-08T19:07:23.000Z","dependencies_parsed_at":"2024-02-25T16:36:01.067Z","dependency_job_id":null,"html_url":"https://github.com/kvbc/react-messenger","commit_stats":null,"previous_names":["kvbc/react-messenger"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kvbc/react-messenger","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Freact-messenger","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Freact-messenger/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Freact-messenger/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Freact-messenger/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kvbc","download_url":"https://codeload.github.com/kvbc/react-messenger/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kvbc%2Freact-messenger/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267345397,"owners_count":24072514,"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","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["back-end","backend","database","express","expressjs","front-end","frontend","github","github-authentication","github-oauth","messaging","messanger","next","nextjs","react","reactjs","tailwind","typescript"],"created_at":"2024-11-08T04:09:36.535Z","updated_at":"2026-04-10T07:03:02.145Z","avatar_url":"https://github.com/kvbc.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# react-messenger\n\nSimple messaging app built on a Next.js frontend with an Express backend and a SQLite database, using Github authentication services (OAuth Apps)\n\nThis project was a great introduction to the world of third-party auth providers, as well as a huge help to familiarize myself with a simple potential login/logout user flow in a React application. Learned a lot of do's and dont's when it comes to access tokens. HttpOnly cookies for the win!\n\nTech Stack:\n- **T**ypescript\n- **E**xpress.js\n- **N**ext.js (React)\n- **T**ailwind CSS\n- **S**QLite\n\n###### (new TENTS stack?)\n\nLessons learned:\n- Should have used React Query 😅\n\n## Installing\n\n1. Run `install.bat`\n\nor\n\n1. Run `npm run install-link` in `shared/`\n2. Run `npm run install-link` in `frontend/` and `backend/`\n\n## Running / Development\n\nThere must exist an `.env` file in `backend/` with the following properties:\n- `CLIENT_ID` - Github OAuth app client ID (see [Resources](#Resources))\n- `CLIENT_SECRET` - Github OAuth app client secret (see [Resources](#Resources))\n\n---\n\n1. Run `dev.bat /ob`\n\nor\n\n1. Run `npm run dev` in `backend/`, `frontend/` and `shared/`\n2. Open up http://localhost:3000\n\n## Resources\n\n- [Github - OAuth Apps](https://docs.github.com/en/apps/oauth-apps)\n- [Github User API](https://docs.github.com/en/rest/users?apiVersion=2022-11-28)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Freact-messenger","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkvbc%2Freact-messenger","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkvbc%2Freact-messenger/lists"}