Centox - Self-hosted form website
It is a self-hosted solution for creating/managing forms and applications. Users can login using their Discord Account. It is created to be used on Gaming/Discord communities, where as I couldn't find an alternative.
⭐
Features
- Create forms which only users with a specific role can see.
- Create roles for users to be able to use certain commands.
- Comment applications to be able to give feedback to the user.
- And much more!
Installation
- Install
Node 12.4.0+
andYarn 1.12.17+
- Clone the repository
git clone https://github.com/simonmaribo/centox.git
- Install the dependencies
yarn install
- Run
yarn configure
and configure the application. - Run
yarn build
- To start the application run
yarn start
Changes to the userinterface / frontend
Everytime you have changed the frontend (/styles
, /public
, /pages
and /components
),
you will need to run yarn build
for the changes to take effect.
Nginx reverse proxy
The following configuration enables Nginx to act as reverse proxy for a Centox instance that is available at port 4200 on localhost:
server {
server_name apply.example.net;
listen 80;
location / {
proxy_pass http://localhost:4200;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
}
}
Credit: Minetrack