This is the replacement for PenguinMod-IntermediateBackendApi.
This is intended to be a major rewrite of the entire API to be organized much better, and use MongoDB & other systems for better scalability.
You can create endpoints by adding folders & files. Please make sure your code is easy to read or at least has comments :D
Please report any security vulnerabilities using GitHub's security tab on the repository, or join the PenguinMod discord on the website and DM a developer.
Either setup as you would with prod, or:
- Install MongoDB
- Run
mongod
to start mongodb - Run
npm i
. if this doesn't work run it with --force (if you have to use force, make an issue. We want to avoid having to do that) - Install minio and start it
- Add a
.env
file copied from the .env.template file and fill in the values. - Run
npm run dev
to start the server in development mode.
Make sure your env is setup, then use docker-compose to get the containers running.
Note: Keep your env PRIVATE!! Do NOT put it in a public repo!! Don't even put it in a private one!!