Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saturngod/nextjstodo
Simple Todo app for learning NextJS
https://github.com/saturngod/nextjstodo
Last synced: 26 days ago
JSON representation
Simple Todo app for learning NextJS
- Host: GitHub
- URL: https://github.com/saturngod/nextjstodo
- Owner: saturngod
- Created: 2024-08-28T00:10:08.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2024-11-24T03:54:54.000Z (about 1 month ago)
- Last Synced: 2024-11-24T04:26:11.063Z (about 1 month ago)
- Language: TypeScript
- Size: 155 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Todo App
Simple Todo app using NextJS , MySQL , Prisma for learning prupose.
Please check git branches.
Git branches are
## Step 1
![](./screenshots/step1.png)
Simple List and Todo.
## Step 2
Finish product but code are not refactor yet
## Step 3
Refactor the code and using hooks. Fixed bugs. Folder structure need to refactor.
## Before Running
For generate the prisma class, create .env file and add following data.
**.env**
```
DATABASE_URL="mysql://root:@localhost:3306/todoapp"
JWT_SECRET="mysecretkey"
JWT_REFRESH_SECRET="myrefreshsecretkey"
```**to update the mysql data schema**
```
npx prisma generate
npx prisma migrate dev --name init
```