Skip to content

syedanastanweer/drive-expo-react-three-fiber

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THREEJS Car Drive Expo Project

by Syed Anas Tanweer

Live Link

Click here: https://drive-expo.vercel.app/

Getting Started

Download and install Node.js on your computer (https://nodejs.org/en/download/).

Then, open VSCODE, drag the project folder to it. Open VSCODE terminal and install dependencies (you need to do this only in the first time)

Install node modules:

Run this command for install node modules.

npm i

After install node modules, Run this command in your terminal to open a local server at localhost:1000

npm run start

You can replace the model and change the camera animations to make your own scene.

Open http://localhost:3000/drive-expo with your browser to see the result.

You can start editing the page by modifying pages/index.tsx. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:1000/api/hello. This endpoint can be edited in pages/api/hello.ts.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Notes

Would be really appreciated if you are willing to give me a star here on GitHub 🎉