{"id":25146622,"url":"https://github.com/franciscoylderlan/time-capsule-server","last_synced_at":"2026-05-09T10:12:15.936Z","repository":{"id":199909874,"uuid":"704038302","full_name":"FranciscoYlderlan/time-capsule-server","owner":"FranciscoYlderlan","description":"Servidor construido com Fastify com Node.js (TypeScript) e Prisma, criado para alimentar uma aplicação de linha do tempo pessoal, permitindo aos usuários registrar e preservar suas memórias em uma linha do temporal.","archived":false,"fork":false,"pushed_at":"2023-10-18T19:28:55.000Z","size":45,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T20:19:51.376Z","etag":null,"topics":["fastify","nodejs","pnpm","prisma","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/FranciscoYlderlan.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}},"created_at":"2023-10-12T12:11:22.000Z","updated_at":"2023-10-18T19:27:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f5a142e-c0ea-4a04-a574-3c99d399b329","html_url":"https://github.com/FranciscoYlderlan/time-capsule-server","commit_stats":null,"previous_names":["franciscoylderlan/time-capsule"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoYlderlan%2Ftime-capsule-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoYlderlan%2Ftime-capsule-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoYlderlan%2Ftime-capsule-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FranciscoYlderlan%2Ftime-capsule-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FranciscoYlderlan","download_url":"https://codeload.github.com/FranciscoYlderlan/time-capsule-server/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246946637,"owners_count":20859136,"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":["fastify","nodejs","pnpm","prisma","typescript"],"created_at":"2025-02-08T20:19:40.936Z","updated_at":"2026-05-09T10:12:10.880Z","avatar_url":"https://github.com/FranciscoYlderlan.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch1 align=\"center\"\u003e\n\u003cimg src=\"https://raw.githubusercontent.com/PKief/vscode-material-icon-theme/ec559a9f6bfd399b82bb44393651661b08aaf7ba/icons/folder-markdown-open.svg\" width=\"100\" /\u003e\n\u003cbr\u003etime-capsule-server\u003c/h1\u003e\n\u003ch3\u003e◦ Preserve the future, with Time Capsule Server!\u003c/h3\u003e\n\u003ch3\u003e◦ Developed with the software and tools below.\u003c/h3\u003e\n\n\u003cp align=\"center\"\u003e\n\u003cimg src=\"https://img.shields.io/badge/.ENV-ECD53F.svg?style\u0026logo=dotenv\u0026logoColor=black\" alt=\".ENV\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/TypeScript-3178C6.svg?style\u0026logo=TypeScript\u0026logoColor=white\" alt=\"TypeScript\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Prisma-2D3748.svg?style\u0026logo=Prisma\u0026logoColor=white\" alt=\"Prisma\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/JSON-000000.svg?style\u0026logo=JSON\u0026logoColor=white\" alt=\"JSON\" /\u003e\n\u003cimg src=\"https://img.shields.io/badge/Fastify-000000.svg?style\u0026logo=Fastify\u0026logoColor=white\" alt=\"Fastify\" /\u003e\n\u003c/p\u003e\n\u003cimg src=\"https://img.shields.io/github/license/FranciscoYlderlan/time-capsule-server?style\u0026color=5D6D7E\" alt=\"GitHub license\" /\u003e\n\u003cimg src=\"https://img.shields.io/github/last-commit/FranciscoYlderlan/time-capsule-server?style\u0026color=5D6D7E\" alt=\"git-last-commit\" /\u003e\n\u003cimg src=\"https://img.shields.io/github/commit-activity/m/FranciscoYlderlan/time-capsule-server?style\u0026color=5D6D7E\" alt=\"GitHub commit activity\" /\u003e\n\u003cimg src=\"https://img.shields.io/github/languages/top/FranciscoYlderlan/time-capsule-server?style\u0026color=5D6D7E\" alt=\"GitHub top language\" /\u003e\n\u003c/div\u003e\n\n---\n\n## 📖 Table of Contents\n- [📖 Table of Contents](#-table-of-contents)\n- [📍 Overview](#-overview)\n- [📦 Features](#-features)\n- [📂 Repository Structure](#-repository-structure)\n- [⚙️ Modules](#modules)\n- [🚀 Getting Started](#-getting-started)\n    - [🔧 Installation](#-installation)\n    - [🤖 Running time-capsule-server](#-running-time-capsule-server)\n    - [🧪 Tests](#-tests)\n- [🛣 Roadmap](#-roadmap)\n- [🤝 Contributing](#-contributing)\n- [📄 License](#-license)\n- [👏 Acknowledgments](#-acknowledgments)\n\n---\n\n\n## 📍 Overview\n\nThe project is a time capsule server that allows users to send messages to their future selves. It provides a RESTful API that enables users to create and retrieve messages stored in a database. The server utilizes Prisma as the ORM tool to interact with the SQLite database and enables fast and efficient retrieval of user messages. Its value proposition lies in its ability to facilitate personal reflection and provide a means for individuals to communicate with their future selves.\n\n---\n\n## 📦 Features\n\nException: \n\n---\n\n\n## 📂 Repository Structure\n\n```sh\n└── time-capsule-server/\n    ├── .env\n    ├── .gitignore\n    ├── package.json\n    ├── pnpm-lock.yaml\n    ├── prisma/\n    │   ├── dev.db\n    │   ├── dev.db-journal\n    │   ├── migrations/\n    │   └── schema.prisma\n    ├── src/\n    │   └── server.ts\n    └── tsconfig.json\n```\n\n\n---\n\n## ⚙️ Modules\n\n\u003cdetails closed\u003e\u003csummary\u003eRoot\u003c/summary\u003e\n\n| File                                                                                                | Summary                   |\n| ---                                                                                                 | ---                       |\n| [pnpm-lock.yaml](https://github.com/FranciscoYlderlan/time-capsule-server/blob/main/pnpm-lock.yaml) | HTTPStatus Exception: 400 |\n\n\u003c/details\u003e\n\n\u003cdetails closed\u003e\u003csummary\u003eSrc\u003c/summary\u003e\n\n| File                                                                                          | Summary                                                                                                                                                                                                                                                                                      |\n| ---                                                                                           | ---                                                                                                                                                                                                                                                                                          |\n| [server.ts](https://github.com/FranciscoYlderlan/time-capsule-server/blob/main/src/server.ts) | This code sets up a fastify server that listens for GET requests on the \"/users\" endpoint. It uses Prisma Client to query the database and retrieve a list of users, which is then returned as the server response. The server runs on port 3333 and is accessible at http://localhost:3333. |\n\n\u003c/details\u003e\n\n\u003cdetails closed\u003e\u003csummary\u003ePrisma\u003c/summary\u003e\n\n| File                                                                                                     | Summary                                                                                                                                                                                                      |\n| ---                                                                                                      | ---                                                                                                                                                                                                          |\n| [schema.prisma](https://github.com/FranciscoYlderlan/time-capsule-server/blob/main/prisma/schema.prisma) | This Prisma schema file configures the Prisma Client code generator and sets up a datasource for an SQLite database. It defines a User model with properties for id (automatically generated UUID) and name. |\n\n\u003c/details\u003e\n\n\u003cdetails closed\u003e\u003csummary\u003eMigrations\u003c/summary\u003e\n\n| File                                                                                                                            | Summary                                                                                                                                                                                                                                          |\n| ---                                                                                                                             | ---                                                                                                                                                                                                                                              |\n| [migration_lock.toml](https://github.com/FranciscoYlderlan/time-capsule-server/blob/main/prisma/migrations/migration_lock.toml) | The \"migration_lock.toml\" file in the \"prisma/migrations\" directory serves as a provider-specific file for SQLite. It shouldn't be manually modified and should be included in the version-control system (e.g., Git) to track changes properly. |\n\n\u003c/details\u003e\n\n\u003cdetails closed\u003e\u003csummary\u003e20231012143655_create_users_table\u003c/summary\u003e\n\n| File                                                                                                                                                  | Summary                                                                                                                                                                                          |\n| ---                                                                                                                                                   | ---                                                                                                                                                                                              |\n| [migration.sql](https://github.com/FranciscoYlderlan/time-capsule-server/blob/main/prisma/migrations/20231012143655_create_users_table/migration.sql) | The code creates a table called \"User\" with two columns: \"id\" and \"name\". The \"id\" column is set as the primary key and is of type TEXT. The \"name\" column is also of type TEXT and is required. |\n\n\u003c/details\u003e\n\n---\n\n## 🚀 Getting Started\n\n***Dependencies***\n\nPlease ensure you have the following dependencies installed on your system:\n\n`- ℹ️ Dependency 1`\n\n`- ℹ️ Dependency 2`\n\n`- ℹ️ ...`\n\n### 🔧 Installation\n\n1. Clone the time-capsule-server repository:\n```sh\ngit clone https://github.com/FranciscoYlderlan/time-capsule-server\n```\n\n2. Change to the project directory:\n```sh\ncd time-capsule-server\n```\n\n3. Install the dependencies:\n```sh\n► INSERT-TEXT\n```\n\n### 🤖 Running time-capsule-server\n\n```sh\n► INSERT-TEXT\n```\n\n### 🧪 Tests\n```sh\n► INSERT-TEXT\n```\n\n---\n\n\n## 🛣 Roadmap\n\n\u003e - [X] `ℹ️  Task 1: Implement X`\n\u003e - [ ] `ℹ️  Task 2: Implement Y`\n\u003e - [ ] `ℹ️ ...`\n\n\n---\n\n## 🤝 Contributing\n\nContributions are always welcome! Please follow these steps:\n1. Fork the project repository. This creates a copy of the project on your account that you can modify without affecting the original project.\n2. Clone the forked repository to your local machine using a Git client like Git or GitHub Desktop.\n3. Create a new branch with a descriptive name (e.g., `new-feature-branch` or `bugfix-issue-123`).\n```sh\ngit checkout -b new-feature-branch\n```\n4. Make changes to the project's codebase.\n5. Commit your changes to your local branch with a clear commit message that explains the changes you've made.\n```sh\ngit commit -m 'Implemented new feature.'\n```\n6. Push your changes to your forked repository on GitHub using the following command\n```sh\ngit push origin new-feature-branch\n```\n7. Create a new pull request to the original project repository. In the pull request, describe the changes you've made and why they're necessary.\nThe project maintainers will review your changes and provide feedback or merge them into the main branch.\n\n---\n\n## 📄 License\n\nThis project is licensed under the `ℹ️  LICENSE-TYPE` License. See the [LICENSE-Type](LICENSE) file for additional info.\n\n---\n\n## 👏 Acknowledgments\n\n`- ℹ️ List any resources, contributors, inspiration, etc.`\n\n---\n[↑ Return](#Top)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranciscoylderlan%2Ftime-capsule-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffranciscoylderlan%2Ftime-capsule-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffranciscoylderlan%2Ftime-capsule-server/lists"}