{"id":28002919,"url":"https://github.com/bnkcodes/sunset-challenge","last_synced_at":"2025-12-30T23:05:01.687Z","repository":{"id":289295958,"uuid":"970737169","full_name":"bnkcodes/sunset-challenge","owner":"bnkcodes","description":"Technical assessment for Sunset mid-level software engineer position. A modern todo list with React frontend and NestJS backend.","archived":false,"fork":false,"pushed_at":"2025-05-05T00:03:02.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-09T01:44:43.073Z","etag":null,"topics":["clean-architecture","docker","full-stack","nestjs","postgresql","react","sunset-challange","technical-assessment","todo-app","typescript"],"latest_commit_sha":null,"homepage":"https://sunset-challenge-web.vercel.app","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bnkcodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-04-22T13:11:17.000Z","updated_at":"2025-05-05T00:03:04.000Z","dependencies_parsed_at":"2025-05-01T14:47:53.532Z","dependency_job_id":"4225b355-db8a-4042-8e5f-5406577968ff","html_url":"https://github.com/bnkcodes/sunset-challenge","commit_stats":null,"previous_names":["brunownk/sunset-challenge","bnkcodes/sunset-challenge"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnkcodes%2Fsunset-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnkcodes%2Fsunset-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnkcodes%2Fsunset-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bnkcodes%2Fsunset-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bnkcodes","download_url":"https://codeload.github.com/bnkcodes/sunset-challenge/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253176444,"owners_count":21866142,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["clean-architecture","docker","full-stack","nestjs","postgresql","react","sunset-challange","technical-assessment","todo-app","typescript"],"created_at":"2025-05-09T01:44:45.644Z","updated_at":"2025-12-30T23:05:01.670Z","avatar_url":"https://github.com/bnkcodes.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Sunset Challenge\n\n\u003cp align=\"center\"\u003e\n  \u003cimg src=\"https://i.ibb.co/kch2SVb/sunset-logo.png\" alt=\"Sunset Logo\" width=\"200\" /\u003e\n\u003c/p\u003e\n\n\u003e Technical assessment for Sunset mid-level software engineer position. A modern todo list with React frontend and NestJS backend.\n\n## 📋 Overview\n\nThe Sunset Challenge is a full-stack todo list application developed as part of a technical assessment. The project showcases modern web development practices and technologies, featuring a React frontend and a NestJS backend.\n\n### 🎯 Key Features\n\n- **User Authentication**: Secure login and registration system\n- **Todo List Management**: Create, read, update, and delete lists\n- **Task Management**: Add, edit, and complete tasks within lists\n- **Color Customization**: Personalize lists with custom colors\n- **Real-time Updates**: Instant feedback on changes\n- **Responsive Design**: Works seamlessly across all devices\n\n## 🏗️ Architecture\n\nThe project is divided into two main components:\n\n- [`sunset-challenge-web`](https://github.com/brunownk/sunset-challenge-web): Modern React frontend with TypeScript\n- [`sunset-challenge-api`](https://github.com/brunownk/sunset-challenge-api): Robust NestJS backend with PostgreSQL\n\n### Frontend Stack\n- React 18 with TypeScript\n- Vite for build tooling\n- Tailwind CSS for styling\n- React Query for state management\n- React Hook Form with Zod validation\n- Headless UI, Radix UI, and Ark UI for components\n\n### Backend Stack\n- NestJS with TypeScript\n- PostgreSQL database\n- Prisma ORM\n- JWT authentication\n- RESTful API design\n- Docker support\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- Node.js (v16 or higher)\n- Yarn package manager\n- PostgreSQL (for local development)\n- Git\n\n### Cloning the Repository\n\nTo clone this repository with all submodules:\n\n```bash\ngit clone --recursive git@github.com:brunownk/sunset-challenge.git\n```\n\nIf you've already cloned the repository without submodules, you can initialize them with:\n\n```bash\ngit submodule update --init --recursive\n```\n\n### Development Setup\n\n1. **Frontend Setup**\n```bash\ncd sunset-challenge-web\ncp .env.example .env\nyarn install\nyarn dev\n```\n\n2. **Backend Setup**\n```bash\ncd sunset-challenge-api\ncp .env.example .env\nyarn install\nyarn start:dev\n```\n\nThe applications will be available at:\n- Frontend: http://localhost:5172\n- Backend: http://localhost:3000\n\n## 🔗 API Documentation\n\nThe backend API provides the following endpoints:\n\n### Authentication\n- `POST /auth/login` - User login\n- `POST /auth/register` - User registration\n- `POST /auth/refresh` - Token refresh\n- `POST /auth/logout` - User logout\n\n### Lists\n- `GET /lists` - Get all lists\n- `POST /lists` - Create a new list\n- `PUT /lists/:id` - Update a list\n- `DELETE /lists/:id` - Delete a list\n\n### Tasks\n- `GET /tasks` - Get all tasks\n- `POST /tasks` - Create a new task\n- `PUT /tasks/:id` - Update a task\n- `DELETE /tasks/:id` - Delete a task\n\n## 🌐 Production URLs\n\n- Frontend: [https://sunset-challenge-web.vercel.app](https://sunset-challenge-web.vercel.app)\n- Backend: [https://sunset-challenge-api.vercel.app](https://sunset-challenge-api.vercel.app)\n\n## 📝 License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 🙏 Acknowledgments\n\n- [Sunset](https://sunset-tires.com) for the opportunity\n- All open-source libraries and tools used in this project\n\n## 🔄 Navigation\n\n* [Back to Top](#sunset-challenge)\n* [Frontend Documentation](https://github.com/brunownk/sunset-challenge-web)\n* [Backend Documentation](https://github.com/brunownk/sunset-challenge-api)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnkcodes%2Fsunset-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbnkcodes%2Fsunset-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbnkcodes%2Fsunset-challenge/lists"}