Clone the repository and run
npm install
The middleware.ts file is used to specify which pages and functions are accessible only by authorized users who have the hidden token. The token is in the environment variables file with the name, AUTH_TOKEN.
The sitemap.ts file is the sitemap of this project and every new page that is added has to be added to the sitemap as well.
The about page is not finished yet.
Any fetch requests to this directory have to include the hidden token as a parameter to be accessible. (Only admins have access to these functions)
Inside this directory you can run
npm run dev
to access the sanity studio to change the product data or add new products