2024-07-26 00:46:53 -05:00
< img src = "https://i.imgur.com/H7GhfNM.png" align = "center" >
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
An open-source Minehut server viewer/finder made in React + Next.js. Is much better than the Minehut one, as has many filters and is improving everyday.
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
## Tech-stack
2024-05-31 16:22:34 -05:00
2024-07-23 20:51:32 -05:00
[React ](https://react.dev ): Component based syntaxing for the web < br />
2024-07-26 00:46:53 -05:00
[Next.js ](https://nextjs.org ): Handles API, server-based metadata, and so much more.< br />
2024-07-23 20:51:32 -05:00
[Clerk ](https://clerk.com ): Authentication for MHSF (very cool library) < br />
[TailwindCSS ](https://tailwindcss.com ): Styling without CSS, simplified< br />
[shadcn/ui ](https://ui.shadcn.com ): Provides the awesome UI for MHSF< br />
And many other smaller libraries are in use to make sure MHSF is feature-packed.< br / >
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
## Contributing
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
If you'd like to contribute, you must follow the guidelines below:
2024-05-31 16:22:34 -05:00
2024-07-26 00:46:53 -05:00
- Make sure to lint (`yarn lint`) every time you finish lines of code
2024-07-23 18:49:21 -05:00
- Use common sense! Don't make comments that could offend someone, or just seems like a bad ideaa
- Be respectful when making your PR. We would love to take your code, but if you argue, it doesn't help.
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
## Building
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
Clone the repo!
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
First, you must supply the following services with API keys:
2024-05-31 16:22:34 -05:00
2024-08-03 09:51:45 -05:00
- [Clerk ](https://clerk.com ): Create an app and put the respective keys in `.env.local`
2024-07-26 00:46:53 -05:00
- MongoDB: Create a database, can be anywhere, and put the location to connect in `.env.local` for the key `MONGO_DB` (this isn't required by any means, but if you want to store any short term or historical data, use this.)
- Inngest: Inngest is a smaller library, but runs the `cron` jobs which will make servers automaticly get added to the database.
2024-05-31 16:22:34 -05:00
2024-07-26 00:46:53 -05:00
_This project uses `yarn` as the main package manager. If `package-lock.json` is present, your pull request will get denied._
Second, run `yarn` and `yarn build` . To start the app, run `yarn start` .
2024-05-31 16:22:34 -05:00
2024-07-23 18:49:21 -05:00
### Dev
2024-05-31 16:22:34 -05:00
2024-08-03 10:06:24 -05:00
Swap `yarn build` for `yarn dev` .