nsfw-web
v2.2.18
Published
Since of becomming aware of strapi (https://strapi.io/) I wont continue on this project.
Downloads
174
Readme
Discontinued
Since of becomming aware of strapi (https://strapi.io/) I wont continue on this project.
NSFW-Web
NSFW-Web (NodeJS Framework - Web) is a build on PrimeReact and implements an automatic connection to the NSFW-API via the NSFW-Connector, which allows the manipulation of defined Databases and Functions.
Download
NSFW-Web is available at npm, if you have an existing application run the following command to download it to your project.
npm install nsfw-web --save
You will also need the public folder for your react app. This public folder includes themes, styles and more stuff of PrimeReact.
QuickStart
An example application is available at github. This example shows the combination of NSFW-API, NSFW-Proxy and NSFW-Web.
Import
//import {ComponentName} from 'nsfw-web';
import {ServerWeb} from 'nsfw-web';
//TODO why is auto import not working :-/
Dependencies
Majority of NSFW-Web components (95%) are from PrimeReact. PrimeReact has almost only native dependecies, there are some exceptions having 3rd party dependencies such as Google Maps for GMap. In addition, components require PrimeIcons for icons and react-transition-group for animations.
"peerDependencies": {
"nsfw-connector": "^1.0.26",
"primereact": "^6.4.1",
"primeicons": "^4.1.0",
"react": "^16.14.0",
"react-dom": "^16.14.0",
"react-router": "^4.3.1",
"react-router-dom": "^4.3.1"
},
"dependencies": {
"chart.js": "^3.3.2",
"csv": "^5.5.0",
"luxon": "^1.27.0",
"quill": "^1.3.7",
"react-transition-group": "^4.4.2",
"webpack-node-externals": "^3.0.0"
}