The next-gen Blefonix RolePlay web services repo. Home, docs and other things! Powered with mdx, React, Next.js and true dreams.
The project was deployed so that Blefonix RolePlay players would be able to find the necessary information about the server in a quick way. Also, anyone can edit and improve this repo. This means that the docs, for example, will always remain up-to-date.
This website and this should not be confused with this one. The last is a discussion website. It's a place to discuss various things related to the game server.
- React components, markdown, i18n and theming support.
- Docs with automatically generated sidebar and anchor links.
- Docs with built-in syntax highlighting and file-system based routing.
- Project also includes image optimization, and other awesome features.
$ yarn
$ yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
$ yarn build
This command generates static content into the build
directory and can be served using any static contents hosting service.
First, run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying pages/index.js
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.
Use it for code formatting:
npx prettier --write .
# or
yarn prettier --write .
To learn more about this web app, you can check out the brpsa-web GitHub Wiki.
Your feedback and contributions are welcome!
The project is created by @blefony and @michaelfair25 at Blefonix RolePlay.