Simple Node Backend for avoiding CORS issues in development
- npm install
- npm run build
- npm start
Technologies
- express
- axios
- webpack
Implementation
This project allows you to serve your HTML and JS from a custom backend that performs API requests to an external API.
app.js contains the routes that you need to get your data. Customize them according to the paths you wish to use in your code, and the API you wish to access
Write your JS in the javascripts folder; your entry file is index.js.
In the entry file