The project demonstrates how to upload images to Supabase using Express.js, Multer and Vue.js.
Create a .env
file in the root of the client folder. Add the following variables to the .env
file:
VITE_SERVER_URL=http://localhost:3001
VITE_SERVER_API_PATH=/api
Create a .env file in the root of the server folder. Add the following variables to the .env
file:
PORT=3001
SUPABASE_PROJECT_URL=https://yourprojecturl.supabase.co
SUPABASE_ANON_KEY=someanonkey
cd client
npm install
npm run dev
cd server
npm install
npm run dev