Browse the best mods in gaming from many sources on the Internet!
An open source website made by Christian Deacon that helps users find their favorite mods all in one place! The website also includes Discord login authentication and the ability to upvote and downvote mods. Read more about us here!
A road map for the website may be found here!
Any help from the open source community is highly appreciated on this project! We utilize the following.
- Create T3 App (TypeScript).
- Next.JS.
- React.
- tRPC.
- Prisma.
- Tailwind CSS.
Please take a look at our road map and join our Discord server for communication!
Best Mods is ran by Christian Deacon and the The Modding Community. We have a Discord here if you want to socialize and interact with others including talented modders and content creators.
Additionally, you may also use our discussions forum here!
- PostgreSQL (unless you choose SQLite; See below)
- Node ^14
- NPM
To use a local SQLite database, perform the following steps.
- In
prisma/schema.prisma
, replaceprovider = "postgresql"
withprovider = "sqlite"
. - In
prisma/schema.prisma
, remove all instances of@db.Text
because PostgreSQL and SQLite have different column definitions for string. - In
.env
, setDATABASE_URL
tofile:./db.sqlite
.
You may perform the following commands to run the dev web server.
# Clone respository.
git clone https://github.com/bestmods/bestmods.git
# Change directory.
cd bestmods
# Update and install NPM packages.
npm update
npm install
# Migrate database.
npx prisma db push
# Run dev server.
npm run dev
To run in production, you can use the npx next build
command to build the web application. Make sure to add output: "standalone"
to the config variable in next.config.mjs
.
With that said, you may then run node server.js
.
While this project is open source, if you use this full project publicly, please add a link back to Best Mods' website that is visible to the public user. You don't need to do this if you're using <30% of the project's code. This is to attempt to mitigate people blatantly copying the project for their own use publicly.
- Christian Deacon - Creator
- The Modding Community