Welcome to this technical assessment! The assessment is divided into two parts:
In this part, you will update a React application.
-
Clone this repository.
-
Local development is powered by the Shopify CLI. It logs into your partners account, connects to an app, provides environment variables, updates remote config, creates a tunnel and provides commands to generate extensions.
-
Install the dependencies by running
npm install
. -
Start the development server by running
npm run dev
. -
Connect your Shopify Partners account and then select 'Yes, create it as a new app' then type any App Name then select your Store and then select 'Yes, automatically update' then click 'p' in the terminal and install the app
-
Open the file
app/routes/app._index.jsx
. -
Implement the following functionalities:
- UI components: Create the necessary UI components as described in the file.
- Data Fetching: Fetch the data from the provided API endpoint and display it in the UI components.
- Duplicate functionality: Implement the functionality of the 'Duplicate Template' button. When this button is clicked, a new template with the same content as the selected template should be created.
-
This is what the final result should look like
test-recording.mp4
In this part, you will create a basic A/B testing logic using vanilla JavaScript.
- Open the file
script_instructions.md
. - Follow the instructions in the file to implement the A/B testing logic.
- Create a new GitHub repository.
- Clone the repository and copy your changes to the new repository.
- Push your changes to the new repository.
- Share the link of the new repository with us.
- Code Quality: Your code should be well-organized and easy to read.
- Functionality: Your code should work as described in the instructions.
- Completion: All the tasks described in the instructions should be completed.
- Do not modify any files other than
app/routes/app._index.jsx
andscript_instructions.md
. - Do not install any additional packages.
Good luck!