Go to file
Hri7566 ef86aaddb0 Add rate limits and note quota 2023-09-11 00:01:49 -04:00
config Add rate limits and note quota 2023-09-11 00:01:49 -04:00
prisma Prisma user flags default value 2023-09-07 18:22:01 -04:00
public@af660e9834 Subcommit 2023-09-09 01:35:48 -04:00
src Add rate limits and note quota 2023-09-11 00:01:49 -04:00
.env.template fix default database url 2023-09-06 20:02:58 -04:00
.gitignore User flags 2023-09-07 18:21:21 -04:00
.gitmodules Rename frontend submodule 2023-09-07 16:58:21 -04:00
.prettierrc big boi 2023-03-31 10:43:24 -04:00
LICENSE Create LICENSE 2023-09-06 20:03:55 -04:00
README.md Update README.md 2023-09-09 05:29:26 -04:00
bun.lockb Add channels and migrate to bun 2023-09-09 05:06:27 -04:00
package.json Add channels and migrate to bun 2023-09-09 05:06:27 -04:00
tsconfig.json Add channels and migrate to bun 2023-09-09 05:06:27 -04:00

README.md

mpp-server-dev2

This is a new MPP server currently in development for MPP.dev. The original server is old and it needs a new one.

This server uses Bun.

The commit history includes BopItFreak's server because this server is (debatably) a heavy reimplementation of my fork of it.

How to run

  1. Install bun

    $ curl -fsSL https://bun.sh/install | bash
    
  2. Configure

    • Copy environment variables
    $ cp .env.template .env
    

    Edit .env to your needs.

    • Edit the files in the config folder to match your needs
  3. Install packages

    $ bun i
    
  4. Setup database

    $ bunx prisma generate
    $ bunx prisma db push
    
  5. Build

    $ bun run build
    
  6. Run

    $ bun start
    

Development

$ bun dev