Categories
Mastering Development

configure nodejs rest api server and vue project with axios cors policy error

as the title sais, i’m trying to configure a local rest api server running node js and in the meantime i have a vue project with axios. i surfed the whole internet, tried every server/client configuration, server headers settings, cors package, axios header config, but i still have cors policy error inthe console. postman works […]

Categories
Development

Cannot read property ‘map’ of undefined in Express, VueJS

i’m building a fullstack app with Express, VueJS and mongoose and it’s basically a news feed app. Before two days i had another error but you guys helped me fix it but now i have another one and basically its kinda the same. I have my backend which is handling all the HTTP request and […]