This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
npm init vite@latest world-of-words -- --template react-ts
Fetching APIs from datamuse
configure "BASE_URL = process.env.BASE_URL ?? https://api.datamuse.com
" with node.process, with
npm i --save-dev @types/node
- For synonyms,
${BASE_URL}/words?rel_syn=${word}
npm install react-loader-spinner --save