Welcome to the BookThat technical assignment. This project helps us understand your approach to coding, how you structure logic, and your familiarity with backend and frontend workflows.
- Install dependencies
Run this in both /strapi and /front-end directories:
npm install- Start the development servers
Again, in both /strapi and /front-end:
npm run dev- Follow the assignment
Your main task is described below. Feel free to explore and make reasonable decisions — we’re interested in your reasoning and implementation more than perfection.
Update the location lifecycle hook (/strapi/src/api/location/content-types/location/lifecycles.js):
-
Geocode
Use the address fields to fetch the latitude and longitude using the OpenCage Geocoding API and store them in the location. -
Log Changes
On update, compare the new data with the previous values and store the changed fields in alogcontent-type.
Open /front-end/pages/app.vue and enhance it to:
- Display a list of all locations
- Sort the list by creation date
- Backend: Strapi (Node.js)
- Frontend: Vue 3 + Composition API + Tailwind (via Nuxt)
- API: OpenCage Geocoding API (for address → lat/lng)