This is a starter template for the expo eCommerce app tutorial on my YouTube channel.
-
Install dependencies
npm install
-
Start the app
npx expo start
Extra dependencies added here
Additionally, I've used JSON Server to create REST API endpoints based on the json data provided in data/db.json
file. I haven't installed it in this project, but I installed it globally on my machine using npm install -g json-server
command. To start up the JSON Server type this command into your terminal: json-server --watch data/db.json --port 8000
. If you don't use --port
flag then it'll run on "https://localhost:3000" by default.