Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/deniyaldanidan/simple-todo1-next-drizzle


https://github.com/deniyaldanidan/simple-todo1-next-drizzle

Last synced: 23 days ago
JSON representation

Awesome Lists containing this project

README

        

# SIMPLE TSKR APP USING Next.js & DRIZZLE

## MYTODOS:

- [x] Initial Cleanup
- [x] Initial Tailwind theme setup
- [x] Initial Planning

> Initial Commit

- [x] Essential Packages installations
- [x] Drizzle / DB setup
- [x] Schema
- [x] Migration Setup
- [x] Initial Migration
- [x] Run First Insert Query
- [x] Run First Select Query

> Chore db schema setup and connection testing

> Docs docs update Fix removed unwanted apis

- [x] Initial UnAuth Layout development
- [x] Initial HomePage page development
- [x] `/api/auth/sign-up` api development
- [x] Initial Sign Up page development
- [x] `/api/auth/sign-in` api development
- [x] Initial Sign In page development
- [x] AuthContext development
- [x] `access-token` refresh on reload/load of the web-app
- [x] Working sign Out BTN
- [x] Create an Protected page

> Add added authentication

- [x] FIX THE DYNAMIC SERVER USAGE PROBLEM

> Fix fixed dynamic server usage error

- [x] SideNav development
- [x] Add new project
- [x] Have single AuthContextProvider and have it in RootLayout & make all routes dynamic.
- [x] Display project lists in side-nav
- [x] View Project page
- [x] add a `add-task` fn in project-page
- [x] List out all tasks on project-page
- [x] Solve default timestamp's timezone bug
- [x] Delete tasks
- [x] Edit tasks
- [x] View/Edit Project Note
- [x] View/Edit Task Note
- [x] Edit projects
- [x] Archive projects
- [x] Today
- [x] Delete archived projects
- [x] Final code review
- [x] Build locally and test for errors/warns
- [x] Update schema info in readme

> Add added projects/tasks management

> Fix timezone problem in today-api

- [x] User Info page
- [x] Change User info page
- [x] Change password page
- [x] Delete User functionality

- [x] some actions directing user to signIn page on Auth failure remove it just send Authentication failed error
- [x] Add count in view-project/today pages > completed tasks

> Add added user management

- [ ] Responsivess

- [x] HomePage
- [x] Sign In
- [x] Sign Up
- [x] Main-Nav
- [x] App-SideNav
- [x] User-SideNav
- [x] Project-Form
- [x] TodoBar
- [x] Todo-Form
- [x] Today
- [x] Due
- [x] View-Project
- [x] Note-Form
- [x] Archives
- [x] User Pages
- [x] User-Info
- [x] Edit User-Info
- [x] Change Password
- [x] Delete Account
- [x] Info-States
- [x] Error
- [x] Loading
- [x] Auths

- [x] Robots
- [x] Finale testing

> Fix fixed responsiveness and added robots.txt

## Notes:

### Schema:

#### Users

| Column | Type | Nullable | Extra |
| :----------- | :----: | :------: | ----------: |
| id | Int | NO | Primary Key |
| FirstName | String | No | |
| LastName | String | No | |
| Username | String | NO | Unique |
| Email | String | No | Unique |
| Password | String | No | |
| refreshToken | String | Yes | No |

#### Projects

| Column | Type | Nullable | Extra |
| :---------- | :------: | :------: | ---------------------: |
| id | Int | No | Primary Key |
| Name | String | No | |
| Description | String | YES | |
| Note | Text | YES | |
| ColorCode | String | No | |
| Archived | Boolean | NO | Default = NO |
| createdAt | INT | No | Default=UNIX_TIMESTAMP |
| archivedAt | Datetime | Yes | |
| userId | INT | NO | Foreign Key |

#### Tasks

| Column | Type | Nullable | Extra |
| :-------- | :------: | :------: | ---------------------: |
| id | Int | No | Primary Key |
| Name | String | No | |
| Note | Text | Yes | |
| Done | Boolean | NO | Default = False |
| createdAt | INT | No | Default=UNIX_TIMESTAMP |
| Due | Datetime | YES | |
| projectId | int | No | Foreign Key |

### Pages

- Home - A simple landing page with only a hero section
- Auth pages (Sign In & Up)
- Protected Pages
- Main Tasks Pages
- Today
- Project Pages
- Archived Projects
- User info view/update