{"id":17973855,"url":"https://github.com/anejckl/chatapp","last_synced_at":"2026-04-11T02:04:03.229Z","repository":{"id":259984607,"uuid":"864978378","full_name":"anejckl/chatApp","owner":"anejckl","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-11T21:55:35.000Z","size":672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"dev-anej","last_synced_at":"2024-12-11T22:31:03.098Z","etag":null,"topics":["ai","angular","javascript","langchain"],"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/anejckl.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-09-29T17:09:29.000Z","updated_at":"2024-12-11T21:55:39.000Z","dependencies_parsed_at":"2024-11-27T21:22:41.255Z","dependency_job_id":"89184890-4bd0-45c6-bec9-166c1483ac5b","html_url":"https://github.com/anejckl/chatApp","commit_stats":{"total_commits":42,"total_committers":2,"mean_commits":21.0,"dds":"0.023809523809523836","last_synced_commit":"a6fa11c11f9bc2e1639c3fc46f2de817c2f77c24"},"previous_names":["anejckl/chatapp"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2FchatApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2FchatApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2FchatApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/anejckl%2FchatApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/anejckl","download_url":"https://codeload.github.com/anejckl/chatApp/tar.gz/refs/heads/dev-anej","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230050131,"owners_count":18165013,"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":["ai","angular","javascript","langchain"],"created_at":"2024-10-29T17:03:53.550Z","updated_at":"2026-04-11T02:04:03.189Z","avatar_url":"https://github.com/anejckl.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ChatApp\n\nThis project is a chat application built with Angular and Node.js. It includes user authentication via Auth0, a chat interface, and various administrative functionalities.\n\n## Development server\n\nRun `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files.\n\n## Backend server\n\nRun `npm run start-backend` to start the backend server. The backend server runs on `http://localhost:3000/`.\n\n## Start both frontend and backend\n\nRun `npm run start:all` to start both the frontend and backend servers concurrently.\n\n## Code scaffolding\n\nRun `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`.\n\n## Build\n\nRun `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.\n\n## Running unit tests\n\nRun `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io).\n\n## Running end-to-end tests\n\nRun `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.\n\n## Further help\n\nTo get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.\n\n## Environment Variables\n\nCreate a `.env` file in the `api/` directory with the following content:\n\nOpenAI\nOPENAI_API_KEY=your-openai-api-key \nMODEL_NAME=gpt-4 \nTEMPERATURE=0.7\n\nSecurity\nSECRET_KEY=your-secret-key\n\nCors\nORIGIN=http://localhost:4200\n\nDatabase\nDB_HOST=localhost \nDB_USER=root \nDB_PASSWORD=your-db-password \nDB_NAME=chat_app\n\n## API Endpoints\n\n- `POST /api/user` - Save user details to session\n- `POST /api/user/logout` - Logout user and destroy session\n- `GET /api/chat` - Get chat messages\n- `GET /api/chat/history` - Get chat history\n- `GET /api/model` - Get model information\n- `GET /api/terms` - Get terms and conditions\n- `GET /api/admin` - Admin functionalities\n\n## License\n\nThis project is open-source and available under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanejckl%2Fchatapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanejckl%2Fchatapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanejckl%2Fchatapp/lists"}