- This Project is configured with Typescript
- Please do not add code without data typing it. I will work but it will be messy and hard to understand
- Working on Edit/Delete buttons for indiviual todos
- Can't figure out how to target individual todo objects from the array to delete/edit them.
- Part of the problem is that I'm using localStorage which doesn't exist with next until after
- compile time
- Part of the problem is that I'm using localStorage which doesn't exist with next until after
- Can't figure out how to target individual todo objects from the array to delete/edit them.
- Working Edit and delete buttons
- Custom React hook that mimicks hiting a server with a 25% chance to fail
- Another way to display the Todos that isn't in a <ul> or <li> element
- Prisma Database (after the other feats)
- Tailwind and Twin Macro are installed but not configured.
- You don't need a docker container for this project, it uses localStorage for now.
Open http://localhost:3001 with your browser to see the result.
You can start editing the page by modifying pages/index.tsx
. The page auto-updates as you edit the file.
API routes can be accessed on http://localhost:3001/api/hello. This endpoint can be edited in pages/api/hello.ts
.
The pages/api
directory is mapped to /api/*
. Files in this directory are treated as API routes instead of React pages.