Main organization and server registry website.
This is our main website, which interfaces our UoA Discord server registry (see our server registry API) and contains information about our organization and other projects.
We are not affiliated with the University of Auckland in any official capacity.
The production version of this website is hosted at https://uoa-discords.com.
Dependencies:
- Node JS v16 or higher. Non-LTS and versions below 16 will probably work, but haven't been tested.
- pnpm, recommended but npm and yarn should still work fine.
You can easily get pnpm using:
npm i -g pnpmNext you can set up the repository from a terminal:
git clone https://github.com/UoA-Discords/website.git website
cd website
pnpm installAll done! You can now run scripts using pnpm <script name>, e.g. pnpm start. See the script reference below to get started.
startStarts a development version of the website with hot-reloading enabled.buildCreates a production-ready version of the website to statically host.lintMakes sure code follows style rules.typecheckMakes sure there are no type errors in the code.check-allDoes linting and typechecking, note that this requires pnpm.
axiosHelps with making web requests to our API.
If you want to edit some properties of the website, such as the API URL it makes requests to (e.g. if you're running a local version of our server registry API), you can do so by going to the /settings page.
Contributions are always welcome, check out CONTRIBUTING.md to get started.
This API is licensed under the MIT license.