Coder Social home page Coder Social logo

backend's Introduction

Backend

Vencord API

Hosting

The API has a Docker Compose configuration, so software-wise you shouldn't need much more than just Docker. Docker is the official way of hosting the backend, and other setups (whilst technically supported) will be up to you to manage.

  1. Clone the repository
  2. Copy .env.example to .env
  3. Configure as necessary
  • Port and host are irrelevant since it's running in a container, but you can change them if you wish.
  • REDIS_URI should be changed to redis:6379.
  • ROOT_REDIRECT should be changed to whatever you want the / of the API to be set to a different site, like your own personal homepage.
  • DISCORD_* should be configured with your Discord application.
  • PEPPER_* should be unique values. These provide extra anonymity and make it more difficult to get user info.
  • SIZE_LIMIT is up to you, but should usually be left as default. This is for the settings sync and how much data a user can store.
  1. Create a docker-compose.override.yml that maps your ports, like so:
    services:
      backend:
        ports:
          - HOST_PORT:8080
  2. docker compose up -d

Please note that, due to mixed content requirements, you will need HTTPS on your self-hosted instance.

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.