{"id":19923028,"url":"https://github.com/abdealijaroli/gomoni","last_synced_at":"2025-05-03T07:30:55.740Z","repository":{"id":244629026,"uuid":"815013072","full_name":"abdealijaroli/gomoni","owner":"abdealijaroli","description":"Production-grade JSON REST API with Auth for Fintech Ventures","archived":false,"fork":false,"pushed_at":"2024-08-11T15:02:31.000Z","size":26,"stargazers_count":3,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-07T13:06:04.857Z","etag":null,"topics":["api","docker","go","golang","jwt","postgres","rest"],"latest_commit_sha":null,"homepage":"","language":"Go","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/abdealijaroli.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-06-14T07:02:27.000Z","updated_at":"2024-10-18T14:29:12.000Z","dependencies_parsed_at":"2024-06-25T19:45:31.675Z","dependency_job_id":"3948fcc8-b17f-4853-afd7-2c8217100351","html_url":"https://github.com/abdealijaroli/gomoni","commit_stats":null,"previous_names":["abdealijaroli/gomoni"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fgomoni","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fgomoni/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fgomoni/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/abdealijaroli%2Fgomoni/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/abdealijaroli","download_url":"https://codeload.github.com/abdealijaroli/gomoni/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252156803,"owners_count":21703355,"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":["api","docker","go","golang","jwt","postgres","rest"],"created_at":"2024-11-12T22:12:48.811Z","updated_at":"2025-05-03T07:30:55.512Z","avatar_url":"https://github.com/abdealijaroli.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Gomoni\n\nGomoni is a barebones banking API built from scratch in Go, emphasizing minimal dependencies and raw implementation.\n\n## Features\n\n- User authentication with JWT\n- Account Management\n- Money transfer between accounts\n- PostgreSQL database integration\n- Comprehensive unit tests\n\n## Prerequisites\n\n- Go 1.16 or higher\n- PostgreSQL database (Can also just use a Docker Image for Postgres)\n\n## Installation\n\n1. Clone the repository:\n   ```\n   git clone https://github.com/abdealijaroli/gomoni.git\n   cd gomoni\n   ```\n\n2. Install dependencies:\n   ```\n   go mod tidy\n   ```\n\n3. Set up your PostgreSQL database and update the `.env` file with your database URL:\n   ```\n   DB_URL=postgres://username:password@localhost:5432/dbname?sslmode=disable\n   ```\n\n4. Set your JWT secret in the `.env` file:\n   ```\n   JWT_SECRET=your_jwt_secret_here\n   ```\n\n## Usage\n\n1. Run the server:\n   ```\n   go run *.go\n   ```\n\n2. The API will be available at `http://localhost:8008`\n\n## API Endpoints\n\n- `POST /login`: User login\n- `GET /account`: Get all accounts (requires authentication)\n- `POST /account`: Create a new account (requires authentication)\n- `GET /account/{id}`: Get account by ID (requires authentication)\n- `DELETE /account/{id}`: Delete an account (requires authentication)\n- `POST /transfer`: Transfer money between accounts (requires authentication)\n\n## Contributing\n\nContributions are welcome! Please feel free to submit a Pull Request.\n\n## License\n\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdealijaroli%2Fgomoni","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fabdealijaroli%2Fgomoni","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fabdealijaroli%2Fgomoni/lists"}