Giter Site home page Giter Site logo

backend.dobercorgi.info's Introduction

Dobercorgi Dobercorgi Backend

GitHub Workflow Status

About

This project is an Backend/API written in Laravel to manage/request arbitrary resources. A resource consists of a few attributes, and can be managed by administrators of a configured Discord server.

The API endpoints to get resources are public, while adding and managing of resources are for admins only. The production server runs on a PHP-Apache container to keep it lightweight. File uploading is supported with S3-compatible storage or local.

Getting Started Developing

The docker-compose.yml file is for development purposes, it sets up the database and a container called "development" with NPM and Composer installed for your dependencies.

  1. Build dev containers locally using docker-compose build.
  2. Run the containers using docker-compose up -d.
  3. Copy .env.example to .env, the default values will suffice but you will need a Discord Application to authenticate with.
  4. To set up the database, create a database called laravel on your dev SQL database using adminer at http://localhost:8080
  5. To install dependencies, run docker exec -it development sh to open a shell into the dev container and run the following:
    • composer install
    • npm install
    • npm run dev
  6. Run php artisan migrate in the development container to run migrations.

backend.dobercorgi.info's People

Contributors

lewishobden avatar dependabot[bot] avatar

Watchers

 avatar

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.