Round 3: rewrite in React Native

This commit is contained in:
Niklas Korz 2024-01-01 19:50:01 +01:00
parent 13d7ebb061
commit 8a74d3e2c9
50 changed files with 19136 additions and 5288 deletions

View file

@ -1,38 +1,18 @@
# create-svelte
# Musclecat app
Everything you need to build a Svelte project, powered by [`create-svelte`](https://github.com/sveltejs/kit/tree/master/packages/create-svelte).
Routes:
## Creating a project
- `/`: show all root-level lists
- `/list/<id>`: show all direct sublists and tasks of list with `<id>`
- `/task/<id>`: show task info for `<id>`
- `/history`: show all completed tasks
- `/profile`: show profile information and settings
If you're seeing this, you've probably already done this step. Congrats!
on List view (including root):
```bash
# create a new project in the current directory
npm create svelte@latest
- Show action button for picking a random available task
- Gray-out scheduled tasks that are not yet available
# create a new project in my-app
npm create svelte@latest my-app
```
on Task view:
## Developing
Once you've created a project and installed dependencies with `npm install` (or `pnpm install` or `yarn`), start a development server:
```bash
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:
```bash
npm run build
```
You can preview the production build with `npm run preview`.
> To deploy your app, you may need to install an [adapter](https://kit.svelte.dev/docs/adapters) for your target environment.
- Show action button for starting task, if scheduled