{"id":20521889,"url":"https://github.com/nickemma/note-app","last_synced_at":"2026-04-20T14:36:33.149Z","repository":{"id":293595668,"uuid":"984390776","full_name":"nickemma/note-app","owner":"nickemma","description":"A modern note-taking application demonstrating the integration of multiple programming languages and databases. The app supports user authentication, note creation, reading, updating, and deletion (CRUD), with authorization ensuring only logged-in users can modify their own notes. Others can view notes, and a stats endpoint provides note analytics.","archived":false,"fork":false,"pushed_at":"2025-05-22T19:17:19.000Z","size":116,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-07T19:56:27.436Z","etag":null,"topics":["aws","axios","ci-cd","docker","fastapi","gin","golang","java","mongodb","nextjs","nlp-machine-learning","postgresql","python","spring-boot","tailwindcss","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nickemma.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-05-15T21:20:34.000Z","updated_at":"2025-06-06T16:44:53.000Z","dependencies_parsed_at":null,"dependency_job_id":"ebc5c0e1-9a84-40a2-a13f-08a0ee5143b8","html_url":"https://github.com/nickemma/note-app","commit_stats":null,"previous_names":["nickemma/note-app"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nickemma/note-app","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fnote-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fnote-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fnote-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fnote-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nickemma","download_url":"https://codeload.github.com/nickemma/note-app/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nickemma%2Fnote-app/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32051015,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T11:35:06.609Z","status":"ssl_error","status_checked_at":"2026-04-20T11:34:48.899Z","response_time":94,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["aws","axios","ci-cd","docker","fastapi","gin","golang","java","mongodb","nextjs","nlp-machine-learning","postgresql","python","spring-boot","tailwindcss","typescript"],"created_at":"2024-11-15T22:33:03.252Z","updated_at":"2026-04-20T14:36:33.142Z","avatar_url":"https://github.com/nickemma.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Language Note-Taking App\n\n### Description\n\nA modern note-taking application demonstrating the integration of multiple programming languages and databases. The app supports user authentication, note creation, reading, updating, and deletion (CRUD), with authorization ensuring only logged-in users can modify their own notes. Others can view notes, and a stats endpoint provides note analytics.\n\n### Features\n\n- **Authentication:** JWT-based user registration and login via Java (Spring Boot) with PostgreSQL.\n- **Note Management:** CRUD operations for notes using Go (Gin) with MongoDB, including rate limiting.\n- **Analytics:** Note statistics (e.g., user note count) via Python (FastAPI).\n- **Frontend:** Responsive UI built with Next.js and TypeScript, styled with Tailwind CSS.\n- **Authorization:** Only authenticated users can create, edit, or delete their own notes.\n- **Multi-Language Integration:** Combines Java, Go, Python, and TypeScript for a polyglot architecture.\n- **Containerized:** Uses Docker Compose to orchestrate PostgreSQL, MongoDB, and all services.\n\n## Tech Stack\n\n### Backend\n\n- **Languages**: Go (Golang), Java and Python for high-performance microservices\n- **API Gateway**: Kong with rate limiting (1000 requests/minute default)\n- **Authentication**: JWT + bcrypt password hashing\n\n### Databases\n\n- **PostgreSQL**: EHR data storage (AWS RDS)\n- **MongoDB**: Session caching (patient active video sessions)\n\n### Containerization\n\n- **Docker**: \n\n## Project Structure\n\n| Note-Taking-App        | Methodology                            |\n|------------------------|----------------------------------------|\n| **java-backend**       | Spring Boot backend for authentication |\n| **go-backend**         | Gin backend for note CRUD              |\n| **python-backend**     | FastAPI backend for stats              |\n| **frontend**           | Next.js frontend                       |\n| **.env**               | Environment variables                  |\n| **docker-compose.yml** | Orchestrates services                  |\n\n### Prerequisites\n\n- Docker and Docker Compose\n- Node.js (for local frontend development, optional)\n- Maven (for local Java development, optional)\n- Go (for local Go development, optional)\n- Python 3.10+ (for local Python development, optional)\n\n### Setup Instructions\n\n1. Clone the Repository:\n```sh\n  git clone https://github.com/nickemma/note-app.git\n  cd note-taking-app\n```\n\n2. Create the .env File: Copy the provided .env template to the project root and ensure the values match your environment:\n\n- POSTGRES_USER=admin\n- POSTGRES_PASSWORD=secret\n- POSTGRES_DB=notesdb\n- MONGO_URI=mongodb://mongo:27017/notesdb\n- JWT_SECRET=your-very-secure-secret-key\n- JAVA_API_URL=http://java-backend:8080\n- GO_API_URL=http://go-backend:8081\n- PYTHON_API_URL=http://python-backend:8000\n\n3. Build and Run with Docker Compose:\n```sh\n docker-compose up --build\n```\nThis starts:\n- PostgreSQL on port 5432\n- MongoDB on port 27017\n- Java backend on port 8080\n- Go backend on port 8081\n- Python backend on port 8000\n- Next.js frontend on port 3000\n\n4. Access the App: Open http://localhost:3000 in your browser.\n\n### API Endpoints\n\n- Java Backend (Authentication):\n  - POST /api/auth/register: Register a new user.\n  - POST /api/auth/login: Log in and receive a JWT token.\n- Go Backend (Notes):\n  - GET /api/notes: List all notes.\n  - GET /api/notes/:id: Get a specific note.\n  - POST /api/notes: Create a new note (authenticated).\n  - PUT /api/notes/:id: Update a note (authenticated, owner only).\n  - DELETE /api/notes/:id: Delete a note (authenticated, owner only).\n- Python Backend (Stats):\n  - GET /api/stats: Get note statistics for the authenticated user.\n\n### Development Notes\n- **Environment Variables:** Ensure .env and frontend/.env.local are correctly configured.\n- **Security:** The Go backend includes a simple rate limiter. For production, consider Redis-based rate limiting and HTTPS.\n- **Extensibility:** Add more features like note categories or rich text editing by extending the Go backend and frontend.\n\n### Development Notes\n- **Database Issues:** Verify PostgreSQL and MongoDB containers are running (docker ps).\n- **API Errors:** Check container logs with docker-compose logs \u003cservice\u003e.\n- **Frontend Not Loading:** Ensure the backend services are up before the frontend starts.\n\n### Contributing\nFeel free to fork the repository, make improvements, and submit pull requests. Focus areas for enhancement:\n- Add note categories or tags.\n- Implement advanced rate limiting with Redis.\n- Enhance the UI with additional features like dark mode.\n\n### 📜 License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.\n\n## 👥 Author\n\n👤 **Nicholas Emmanuel**\n\n- GitHub: [@NickEmma](https://github.com/NickEmma)\n- Twitter: [@techieEmma](https://twitter.com/techieEmma)\n- LinkedIn: [@Nicholas Emmanuel](https://www.linkedin.com/in/techieemma/)\n- Website: [Nicholas Emmanuel](https://techieemma.me)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickemma%2Fnote-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickemma%2Fnote-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickemma%2Fnote-app/lists"}