Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/organique0/three.js-example-page

an example project for learning three.js with react
https://github.com/organique0/three.js-example-page

Last synced: about 2 months ago
JSON representation

an example project for learning three.js with react

Awesome Lists containing this project

README

        

# three.js-example-page
an example project for learning three.js with react

Vite-React.js-Three.js

Link: https://www.youtube.com/watch?v=ZqEa8fTxypQ

server hosted on Render: https://three-js-example.onrender.com

in .env create a VITE_NODE_ENV variable and set it to "production" to use the deployed server on Render.
If you are running server on localhost make sure that it is on port 8080 and then change the variable value to "development".
Check config/config.js for more details.

note to self: Openai does not work with the default version of node installed on Render.
You need to specify node version in .env: NODE_VERSION=18.17.1