Git Product home page Git Product logo

temp_dev_db's Introduction

dev_db: Temporary Dummy Database REST API Server

dev_db is a project designed to provide developers with a functional dummy database REST API server. This server enables developers to perform various database-related actions through its API endpoints. It's particularly useful during the development phase when developers want to test and experiment with REST API calls before integrating their final chosen database platform.

Features

  • User Account Management: Developers can create user accounts and receive API keys for authorization.
  • Database Management: Users with valid API keys can create databases that remain active for 5 hours. After this period, the database will be automatically deleted.
  • Data Interaction: Developers can interact with databases by retrieving and modifying data.

Getting Started

To use dev_db in your project, follow these steps:

  1. User Account Creation: Make GET request to the the API /create_user to create a user account and obtain an API key.
  2. Database Operations: Use the provided API endpoints to create, delete, and interact with databases.
  3. Data Interaction: Fetch and modify data within the databases.

API Endpoints

Here are the main API endpoints provided by dev_db:

  • GET /create_user?identifier={identifier}: Create a user account and receive an API key for authorization.
  • POST /delete_user: Delete a user account.
  • POST /get_user: Get the details of a user account.
  • POST /create_database: Create a new database using a valid API key.
  • POST /delete_database: Delete a database by providing its ID and a valid API key.
  • POST /get_data: Retrieve data from a specific database of the user using a valid API key.
  • POST /set_data: Modify data within a specific database of the user using a valid API key.
  • POST /delete_data: Delete data within a specific database of the user using a valid API key.

For detailed usage instructions and examples for each endpoint, refer to the API Documentation file.

Contributing

Contributions are welcome! If you'd like to contribute to the project, please follow the guidelines outlined in CONTRIBUTING.md.

License

This project is licensed under the MIT License.

Contact

For any questions or inquiries, feel free to contact me at [email protected].

temp_dev_db's People

Contributors

back4app-containers[bot] avatar prmpsmart avatar

Watchers

 avatar

Forkers

mentordotgit

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.