https://github.com/sreeharijayaraj/hatio
Take home assignment for Hatio
https://github.com/sreeharijayaraj/hatio
Last synced: 3 months ago
JSON representation
Take home assignment for Hatio
- Host: GitHub
- URL: https://github.com/sreeharijayaraj/hatio
- Owner: SreehariJayaraj
- Created: 2024-05-21T12:32:09.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-27T19:50:54.000Z (about 1 year ago)
- Last Synced: 2025-03-02T03:35:59.193Z (3 months ago)
- Language: TypeScript
- Homepage: https://hatio-sigma.vercel.app
- Size: 910 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Take home assignment for Hatio
## Todo App with Auth and Gist Support
## Project walk through - Link
### Tech Stack
- Frontend
- Next Js + Typescript
- Backend
- Nest Js + Typescript + PostgreSQL + Prisma## Run Locally
- Database
```bashdocker compose up
```
- Frontend
```bashcd client
pnpm install
pnpm run dev```
- Backend
```bashcd server
pnpm install
pnpm run start:dev```
- Test
```bashcd server
pnpm install
pnpm run test```
### Frontend
- Added zod for schema validation
- React hook form for form handling
- Radix ui for components### Backend
- Added auth using passport js
- Added decorators to guard routes### Things that can be improved
- More test coverage
- Add Test in frontend### Features
- CRUD Todo
- Good Ui
- Skelton Loaders
- Auth with refresh tokens### Testing
- Right now i have only added test for service layer in backend
- Test in written using jest framework
### Generated Gist