{"id":19457093,"url":"https://github.com/anchaldevbytes/roc8-moonshot","last_synced_at":"2026-05-08T03:12:49.563Z","repository":{"id":249482974,"uuid":"831630061","full_name":"AnchalDevBytes/roc8-moonshot","owner":"AnchalDevBytes","description":"A fullstack pern project made as an assignment for roc8-moonshot","archived":false,"fork":false,"pushed_at":"2024-07-21T07:43:36.000Z","size":82,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-25T10:54:10.272Z","etag":null,"topics":["nextjs","postgres","prisma","taiwindcss","typescript"],"latest_commit_sha":null,"homepage":"https://roc8-moonshot-henna.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AnchalDevBytes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2024-07-21T06:33:37.000Z","updated_at":"2024-07-21T07:49:46.000Z","dependencies_parsed_at":"2024-07-21T08:59:37.418Z","dependency_job_id":null,"html_url":"https://github.com/AnchalDevBytes/roc8-moonshot","commit_stats":null,"previous_names":["anchaldevbytes/roc8-moonshot"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/AnchalDevBytes/roc8-moonshot","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2Froc8-moonshot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2Froc8-moonshot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2Froc8-moonshot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2Froc8-moonshot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AnchalDevBytes","download_url":"https://codeload.github.com/AnchalDevBytes/roc8-moonshot/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AnchalDevBytes%2Froc8-moonshot/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32764822,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T02:36:36.067Z","status":"ssl_error","status_checked_at":"2026-05-08T02:36:07.210Z","response_time":54,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["nextjs","postgres","prisma","taiwindcss","typescript"],"created_at":"2024-11-10T17:19:46.220Z","updated_at":"2026-05-08T03:12:49.535Z","avatar_url":"https://github.com/AnchalDevBytes.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Roc8-Moonshot Fullstack Assignment\n\nThis project was developed as a take-home assignment for a Fullstack Developer position at Roc8-Career as part of the Moonshot competition. The application is built using Next.js, TypeScript, Tailwind CSS, Prisma, and PostgreSQL, and is deployed on Vercel.\n\n## Features\n\n- **Signup System with OTP**: Users can sign up with their email. An OTP is sent to the provided email for verification.\n- **Login**: Users can log in using their email and password.\n- **Category Management**: Logged-in users can view all categories and toggle (check/uncheck) their selection. The selected categories are saved to their profile and persisted across sessions.\n\n## Tech Stack\n\n- **Frontend**: Next.js, TypeScript, Tailwind CSS\n- **Backend**: Next.js API Routes, Prisma ORM\n- **Database**: PostgreSQL\n- **Deployment**: Vercel\n\n## Getting Started\n\n### Prerequisites\n\n- Node.js (v18 or higher)\n- npm or yarn\n- PostgreSQL\n\n### Installation\n\n1. Clone the repository:\n\n```bash\ngit clone https://github.com/AnchalDevBytes/roc8-moonshot.git\ncd roc8-moonshot\n```\n\n2. Install dependencies:\n\n```bash\nnpm install\n# or\nyarn install\n```\n\n### Environment Variables\n\nCreate a `.env` file in the root of your project and add the following environment variables:\n\n```plaintext\n\nAPI_BASE_URL=\"same as the base url for this app\"\nDATABASE_URL=\"postgres database connection string\"\n\nACCESS_TOKEN_SECRET=\"Put here your secret access token key\"\nREFRESH_TOKEN_SECRET=\"Put here your secret refresh token key\"\nMAILERSEND_API_KEY=\"Put here your mailersend api key\"\n\n\n```\n\n### Running the Application\n\n1. Generate Prisma model in Database:\n\n```bash\nnpm run db:generate\n```\n\n2. seed 100 of data in database:\n\n```bash\ncd src/data\nnode seed.js\n```\n\n3. Start the development server:\n\n```bash\nnpm run dev\n# or\nyarn dev\n```\n\nThe application will be available at `http://localhost:3000`.\n\n## Deployment\n\nThe application is deployed on Vercel. [live](https://roc8-moonshot-henna.vercel.app)\n\n## Contact\n\nFor any query or feedback, feel free to contact me at [anchalrajtech@gmail.com](mailto:anchalrajtech@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchaldevbytes%2Froc8-moonshot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fanchaldevbytes%2Froc8-moonshot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fanchaldevbytes%2Froc8-moonshot/lists"}