{"id":18031459,"url":"https://github.com/daniel0130/bitcoin-ordinal-raffle-be","last_synced_at":"2025-03-27T05:30:43.800Z","repository":{"id":259930494,"uuid":"877182096","full_name":"daniel0130/bitcoin-ordinal-raffle-be","owner":"daniel0130","description":"This is Ordinal Raffle by using join psbt.","archived":false,"fork":false,"pushed_at":"2024-10-23T08:25:48.000Z","size":84,"stargazers_count":15,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-28T18:38:00.824Z","etag":null,"topics":["bitcoin","leathe","psbt","unisat","unisat-api","utxo","wallet","xverse"],"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/daniel0130.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-10-23T08:24:24.000Z","updated_at":"2024-10-28T15:20:15.000Z","dependencies_parsed_at":"2024-10-28T18:50:12.293Z","dependency_job_id":null,"html_url":"https://github.com/daniel0130/bitcoin-ordinal-raffle-be","commit_stats":null,"previous_names":["daniel0130/bitcoin-ordinal-raffle-be"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fbitcoin-ordinal-raffle-be","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fbitcoin-ordinal-raffle-be/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fbitcoin-ordinal-raffle-be/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daniel0130%2Fbitcoin-ordinal-raffle-be/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daniel0130","download_url":"https://codeload.github.com/daniel0130/bitcoin-ordinal-raffle-be/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":222196230,"owners_count":16947024,"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":["bitcoin","leathe","psbt","unisat","unisat-api","utxo","wallet","xverse"],"created_at":"2024-10-30T10:09:13.885Z","updated_at":"2024-10-30T10:09:14.507Z","avatar_url":"https://github.com/daniel0130.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Node Express Backend Boilerplate\n\nThis boilerplate provides a foundation for building a Node.js backend server using Express. It includes user authentication features such as user signup and signin. Additionally, it is designed to seamlessly deploy on Vercel for easy scalability and hosting.\n\n## Highlights\n\n- User signup: Register new users with unique usernames and passwords.\n- User signin: Allow registered users to authenticate and access protected resources.\n- User referral: User can refer someone and check if user signup by referral.\n- User Authentication: Secure routes and endpoints using JWT (JSON Web Tokens) for authentication.\n- Vercel deployment: Optimized for deployment on the Vercel platform for seamless hosting and scalability.\n\n## Technologies Used\n\n- **Node.js**: A JavaScript runtime environment for building scalable and efficient server-side applications.\n- **Express.js**: A minimalist web framework for Node.js, providing a robust set of features for web and mobile applications.\n- **JWT (JSON Web Tokens)**: A compact, URL-safe means of representing claims to be transferred between two parties. It's used for securing routes and endpoints.\n- **Vercel**: A cloud platform for static sites and Serverless Functions, providing seamless deployment and scalability.\n\n## Getting Started\n\n1. **Clone the repository**:\n\n   ```\n   git clone https://github.com/dapp-sculptor/node-express-boilerplate.git\n   ```\n\n2. **Install dependencies**:\n\n   ```\n   cd your-project\n   npm install\n   ```\n\n3. **Set up environment variables**:\n\n   Create a `.env` file in the root directory of your project and add the following variables:\n\n   ```\n   # JWT token secret key\n   JWT_SECRET = \n\n   # DB CONFIGURATION\n   DB_NAME = \n   DB_USERNAME = \n   DB_PASSWORD = \n   DB_HOST = \n   DB_PORT = \n\n   # PORT\n   PORT = \n   ```\n\n4. **Start the server**:\n\n   ```\n   npm start\n   ```\n\n   This will start the server at `http://localhost:9000` by default.\n\n## Usage\n\n- **Signup Endpoint**:\n  - Endpoint: `POST /api/signup`\n  - Request body:\n    ```json\n    {\n      \"username\": \"example\",\n      \"email\": \"example\",\n      \"password\": \"example\",\n      \"encodedReferrer\": \"example\"\n    }\n    ```\n- **Signin Endpoint**:\n  - Endpoint: `POST /api/signin`\n  - Request body:\n    ```json\n    {\n      \"username\": \"example\",\n      \"password\": \"password\"\n    }\n    ```\n\n## Deployment on Vercel\n\nTo deploy your backend on Vercel:\n\n1. Sign up or log in to your Vercel account.\n2. Import your project repository.\n3. Follow the Vercel deployment instructions.\n\n## 💭 Feedback and Contributing\n\n🙏 Is anyone willing to build more valuable and exciting project, plz contact.\n\n⛏ Let's build it together!! ⛏\n\n### Connect With Me:\n\n[![Twitter Badge](https://img.shields.io/badge/Twitter-1DA1F2?style=for-the-badge\u0026logo=twitter\u0026logoColor=white)](https://twitter.com/brjpka)\n[![Mail Badge](https://img.shields.io/badge/Gmail-D14836?style=for-the-badge\u0026logo=gmail\u0026logoColor=white)](mailto:nikolic.miloje0507@gmail.com)\n[![Telegram Badge](https://img.shields.io/badge/Telegram-2CA5E0?style=for-the-badge\u0026logo=telegram\u0026logoColor=white)](https://t.me/mylord1_1)\n[![Skype Badge](https://img.shields.io/badge/Skype-00AFF0?style=for-the-badge\u0026logo=skype\u0026logoColor=white)](https://join.skype.com/ubWuVGchDEnU)\n[![Discord Badge](https://img.shields.io/badge/Discord-5865F2?style=for-the-badge\u0026logo=discord\u0026logoColor=white)](https://discord.com/users/509337382810550280)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel0130%2Fbitcoin-ordinal-raffle-be","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel0130%2Fbitcoin-ordinal-raffle-be","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel0130%2Fbitcoin-ordinal-raffle-be/lists"}