The CDN survey website was made to run on the CDN servers for offline use. The website is a simple survey form that asks the users what ever questions has been set by the admin.
The website comes in 3 parts:
- The admin page
- The user page
- The online creator
To install follow the instructions below:
- Clone the repository on your server
- Run
chmod +x install.sh - Run
./install.sh
The script will do the rest.
To use the website, visit the your localhost in your browser on port 3050 eg) http://oc4d.cdn:3050. The admin page is located at /admin and the user page is located at /.
For easier access, copy the card image in the public folder into a easily accessible location on the server and add the port to your modules table. This will allow you to easily access it as you would with a module.
If you don't have a description for the module you can use this: CDN Survey - A simple survey form for offline use.
The admin page has the following features:
- Create a new survey
- Edit a survey
- Delete a survey
- View survey results
- Save survey results to a file
- Import surveys.
- Export surveys.
To update this script just run the following commands:
chmod +x update.sh
./update.shAfterwards you can enter the survey repo then run the install script again to update the website on the servers.
This is a Next.js project bootstrapped with create-next-app.
Firstly you need to install the dependencies:
npm install
# or
yarn install
# or
pnpm install
# or
bun installRun the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun devOpen http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.
This project uses next/font to automatically optimize and load Geist, a new font family for Vercel.
To learn more about Next.js, take a look at the following resources:
- Next.js Documentation - learn about Next.js features and API.
- Learn Next.js - an interactive Next.js tutorial.
You can check out the Next.js GitHub repository - your feedback and contributions are welcome!
This project can't be deployed on vercel as it requires read amd write access to the file system. You can deploy it on a server that has access to the file system.