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

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

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
```bash

docker compose up

```

- Frontend
```bash

cd client
pnpm install
pnpm run dev

```

- Backend
```bash

cd server
pnpm install
pnpm run start:dev

```

- Test
```bash

cd 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