{"repo":"alexisssol/ordinal-marketplace","free":true,"listed":false,"github":"https://github.com/alexisssol/ordinal-marketplace","clone":"git clone https://github.com/alexisssol/ordinal-marketplace.git","description":"RESTful API endpoints for managing marketplace listings and offers, featuring configuration through environment variables, middleware integration, and detailed Swagger UI documentation","language":"TypeScript","stars":13,"topics":["amm","bitcoin","bitcoinjs-lib","ordinal","psbt","typescript","utxo"],"license":null,"category":"blockchain-web3","readme_excerpt":"Ordinal Marketplace Backend Ordinal Marketplace Backend is a Node.js project providing RESTful API endpoints for managing marketplace listings and offers using MongoDB. This project integrates essential middleware, environment variable configurations, and includes detailed API documentation via Swagger UI. Table of Contents - Configuration - Installation - Usage - API Endpoints - MongoDB Schema - Swagger Documentation - Contributing - License Configuration Configuration settings are sourced from a .env file and a config module. Ensure you have the necessary environment variables set up in your .env file. Installation 1. Clone the repository: 2. Install the dependencies: 3. Create an .env file and add your environment variables: You can reference .env.example file configuration. 4. Start the server: Usage After starting the server, the application will be running on the specified port. By default, it is set to port 3000. You can access the backend running status at http://localhost:3000 and see the Swagger API documentation at http://localhost:3000/api-docs . API Endpoints The following routes are available in the application: - POST /api/create-listing : Create a new listing. - POST /api/save-listing : Save listing data. - DELETE /api/delete-listing : Delete an existing listing. - PUT /api/update-listing : Update an existing listing. - POST /api/create-offer : Create a new offer for a listing. - POST /api/submit-offer : Submit an offer for a listing. MongoDB Schema The MongoD","default_branch":null,"files":null,"tree":[],"storefront":"/r/alexisssol","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/alexisssol/ordinal-marketplace/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}