{"id":29979109,"url":"https://github.com/tirth-955/pern-ecom","last_synced_at":"2026-05-08T15:36:21.035Z","repository":{"id":301841084,"uuid":"1007652345","full_name":"Tirth-955/pern-ecom","owner":"Tirth-955","description":"An robust e-commerce application, built with the PERN stack (PostgreSQL, Express.js, React.js, Node.js). It provides comprehensive product management functionalities including creation, retrieval, updating, and deletion, and incorporates enhanced security measures with Arcjet for rate limiting and bot protection.","archived":false,"fork":false,"pushed_at":"2025-08-02T17:59:18.000Z","size":98,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-02T19:44:35.936Z","etag":null,"topics":["api","backend","express-js","node-js","postgres-sql","react-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/Tirth-955.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,"zenodo":null}},"created_at":"2025-06-24T10:17:56.000Z","updated_at":"2025-08-02T17:59:22.000Z","dependencies_parsed_at":"2025-08-02T19:56:29.648Z","dependency_job_id":null,"html_url":"https://github.com/Tirth-955/pern-ecom","commit_stats":null,"previous_names":["tirth-955/pern-ecom-api","tirth-955/pern-ecom"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Tirth-955/pern-ecom","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirth-955%2Fpern-ecom","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirth-955%2Fpern-ecom/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirth-955%2Fpern-ecom/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirth-955%2Fpern-ecom/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Tirth-955","download_url":"https://codeload.github.com/Tirth-955/pern-ecom/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Tirth-955%2Fpern-ecom/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268699205,"owners_count":24292425,"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","status":"online","status_checked_at":"2025-08-04T02:00:09.867Z","response_time":79,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["api","backend","express-js","node-js","postgres-sql","react-js"],"created_at":"2025-08-04T13:01:04.766Z","updated_at":"2026-05-05T04:08:48.243Z","avatar_url":"https://github.com/Tirth-955.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PERN E-commerce \n\nA full-stack e-commerce application built with the PERN stack (PostgreSQL, Express, React, Node.js).\n\n## Features\n\n- Product management (CRUD operations)\n- Responsive React frontend with Tailwind CSS\n- RESTful API with Express.js\n- PostgreSQL database with Neon\n- Security with Arcjet rate limiting\n- Real-time updates and notifications\n\n## Tech Stack\n\n**Frontend:**\n- React 18 + Vite\n- Tailwind CSS + DaisyUI\n- Zustand (state management)\n- React Router DOM\n\n**Backend:**\n- Node.js + Express\n- PostgreSQL (Neon)\n- Arcjet (security)\n- CORS, Helmet, Morgan\n\n## Quick Start\n\n1. Clone and install:\n   ```bash\n   git clone https://github.com/Tirth-955/pern-ecom.git\n   cd pern-ecom\n   ```\n\n2. Set up environment variables in `.env`:\n   ```\n   PORT=3000\n   DATABASE_URL=\"your_postgres_connection_string\"\n   ARCJET_KEY=\"your_arcjet_key\"\n   ARCJET_ENV=\"development\"\n   ```\n\n3. Start server:\n   ```bash\n   npm run build\n   ```\n\n   ```bash\n   npm start\n   ```\n\n4. Open http://localhost:3000\n\n## Project Structure\n\n```\n├── frontend/          # React app\n│   ├── src/\n│   │   ├── components/\n│   │   ├── pages/\n│   │   └── store/\n│   └── package.json\n├── backend/           # Express API\n│   ├── controllers/\n│   ├── routes/\n│   ├── config/\n│   └── server.js\n└── package.json       # Root dependencies\n```\n\n## API Endpoints\n\n- `GET /api/products` - Get all products\n- `GET /api/products/:id` - Get single product\n- `POST /api/products` - Create product\n- `PUT /api/products/:id` - Update product\n- `DELETE /api/products/:id` - Delete product\n\n## Scripts\n\n- `npm run dev` - Start backend with nodemon\n- `npm run build` - Build frontend for production\n- `npm start` - Start production server\n\n## Environment\n\n- Frontend: http://localhost:5173\n- Backend: http://localhost:3000\n- Database: PostgreSQL (Neon)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth-955%2Fpern-ecom","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftirth-955%2Fpern-ecom","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftirth-955%2Fpern-ecom/lists"}