Skip to content

shezard/chrono-pose

Repository files navigation

Chrono Pose : Timer for pose drawing

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Maintenance

Keep deps updated

npx npm-check-updates -u
npm install

Adding data from unsplash random API

Get an access token from unsplash api

Register here: https://unsplash.com/developers

Get random data

Setup an .env file with

    ACCESS_KEY=<YOUR UNSPLASH ACCESS KEY>

Then run

    just build <theme>

TODO

[ ] Add more theme [ ] Add theme search [ ] Add localstorage to recall time spent on a give image ?