Production
Things you must do before you publish your app
Clean config file You can remove any keys you have not used, such as Google-cloud or S3
Ensure your dependencies are secure open this best-practice-security and see how to install snyk
Change cookie name Open config/[env].json file and rename cookie.name
Cross Site Request Forgery Save JWT in localstorage and not in the cookie read this Server Open config/production.json set cookie.enabled to false Client import localForage from 'localforage'; const feathersApp = require('@feathersjs/feathers'); const auth = require('@feathersjs/authentication-client'); const axios = require('axios'); const rest = require('@feathersjs/rest-client'); const feathers = feathersApp(); const restClient = rest(envConfig.url); feathers.configure(restClient.axios(axios)); feathers.configure(auth({ ... storage: localForage }))
Check the advanced tab for more tools and tips:
Last updated