Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sotf-mods.com API

Setup

First create a .env (you can clone .env.example) and fill the variables

PORT=
BASE_URL=
DATABASE_URL=
JWT_SECRET=
KELVINGPT_API=
KELVINGPT_API_AUTHORITY=
FILE_UPLOAD_ENDPOINT=
FILE_DOWNLOAD_ENDPOINT=
FILE_PREVIEW_ENDPOINT=

To setup the project run:

bun install
bunx prisma generate

Getting Started

To run the project run the following commands

bun run src/index.ts

Development

To start the development server run:

bun run dev

Caveats

If you are running on linux and issue an error with sharp you might solve it by running:

cd node_modules/sharp
bun install

Open http://localhost:3000/ with your browser to see the result.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages