This project was bootstrapped with Create React App.
We will assume you are in the directory samples/sample-app while executing the following instructions.
Run the following commands from your shell.
Inside sample-app, run
npm installCreate a .env file by renaming the sample.env in samples/sample-app
Fill is the required parameters according to your imagekit account.
Finally run the app,
npm startTo run the upload component you also will have set up a backend server
There is a sample server present in the sample app directory in server directory.
It takes the private key from .env file, so create a .env file by renaming the sample.env in samples/sample-app/server
To run this server, go to server directory cd server, then run:
npm install # for first time
npm run server