{"id":18666923,"url":"https://github.com/naufaldi/note-be","last_synced_at":"2026-04-29T15:37:49.484Z","repository":{"id":260978823,"uuid":"882494445","full_name":"naufaldi/note-be","owner":"naufaldi","description":"Example of ElysiaJS API using Prisma and Typescript","archived":false,"fork":false,"pushed_at":"2024-11-07T23:39:56.000Z","size":15,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-13T00:02:29.946Z","etag":null,"topics":["api","bun","elysiajs","open-api-2","open-source","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/naufaldi.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-11-02T23:25:43.000Z","updated_at":"2024-11-08T00:40:54.000Z","dependencies_parsed_at":"2024-11-04T02:33:44.393Z","dependency_job_id":null,"html_url":"https://github.com/naufaldi/note-be","commit_stats":null,"previous_names":["naufaldi/note-be"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naufaldi%2Fnote-be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naufaldi%2Fnote-be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naufaldi%2Fnote-be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/naufaldi%2Fnote-be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/naufaldi","download_url":"https://codeload.github.com/naufaldi/note-be/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239493675,"owners_count":19647995,"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","bun","elysiajs","open-api-2","open-source","typescript"],"created_at":"2024-11-07T08:34:47.173Z","updated_at":"2025-11-06T13:30:39.583Z","avatar_url":"https://github.com/naufaldi.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Elysia with Bun runtime\n\n# Notes API\n\n## Description\n\nA simple Notes API built with Elysia and Prisma. This API allows users to create, read, update, and delete notes. It also includes authentication features and API documentation.\n\n## Features\n\n- Create, read, update, and delete notes\n- User authentication\n- API documentation available at `/docs`\n\n## Technologies Used\n\n- [Elysia](https://elysiajs.com/) - A web framework for building APIs\n- [Prisma](https://www.prisma.io/) - A modern database toolkit\n- [Swagger](https://swagger.io/) - API documentation\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (version 14 or higher)\n- npm or yarn\n- A PostgreSQL or MySQL database\n\n### Installation\n\n1. Clone the repository:\n\n   ```bash\n   git clone https://github.com/naufaldi/note-be.git\n   cd note-be\n   ```\n\n2. Install dependencies:\n\n   ```bash\n   bun install\n   ```\n\n3. Set up your environment variables:\n   Create a `.env` file in the root directory and add your database connection string and any other necessary environment variables.\n\n4. Run database migrations:\n\n   ```bash\n   npx prisma migrate dev\n   ```\n\n5. Start the server:\n   ```bash\n   bun run start\n   ```\n\n### API Endpoints\n\n- **GET /notes** - Retrieve all notes\n- **GET /notes/:id** - Retrieve a note by ID\n- **POST /notes** - Create a new note\n- **PUT /notes/:id** - Update a note by ID\n- **DELETE /notes/:id** - Delete a note by ID\n\n### Documentation\n\nAPI documentation is available at `/docs` after starting the server.\n\n## Contributing\n\nContributions are welcome! Please open an issue or submit a pull request.\n\n## License\n\nThis project is licensed under the MIT License\n\n## Acknowledgments\n\n- Thanks to the Elysia and Prisma teams for their amazing frameworks!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaufaldi%2Fnote-be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnaufaldi%2Fnote-be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnaufaldi%2Fnote-be/lists"}