Raqami is a digital products store. It sells downloadable items only: ebooks, templates, code, and sound effects. There is no shipping and no physical product. After payment, the customer downloads the file immediately from their library.
This is a graduation project built by a team of four. This repository contains both the frontend (client/) and the backend (server/).
| Member | Role |
|---|---|
| Osama Abdelwahab Abu Motlaq | Frontend developer |
| Mousa Sameer Dababsh | Backend developer |
| Ahlam Ibrahim Saadat | UI/UX designer |
Frontend (client/)
- React and TypeScript (strict mode)
- Vite
- Tailwind CSS v4 (
@tailwindcss/vite), configured with theme tokens insrc/index.css - React Router (
react-router-dom) - React Context with
useReducerfor auth and cart state
Backend (server/)
- Node.js and Express
- TypeScript
- Drizzle ORM with PostgreSQL (
pg) - Zod for request validation
- JSON Web Tokens (
jsonwebtoken) andbcryptjsfor authentication - Multer for file uploads
- Swagger UI (
swagger-ui-express) for API documentation
Database and infrastructure
- PostgreSQL 17 running in Docker, defined in
server/docker-compose.yml
Tooling
- pnpm (version pinned by
packageManagerin eachpackage.json) - Git and GitHub for version control and pull requests
- Figma for interface design
raqami/
├── client/ React frontend
└── server/ Express backend, database schema, and migrations
Prerequisites: Node.js and pnpm.
cd client
pnpm install
pnpm devOpen http://localhost:5173.
The frontend reads the backend address from client/.env.local:
VITE_API_URL=http://localhost:3000/api/v1
Use the address the backend team gives you. Copy client/.env.example to client/.env.local and fill in the value. Never commit .env.local.
See server/README.md for the full setup: Docker, environment variables, migrations, and seeding.
- The API contract and frontend specification are in the approved project report.
- With the backend running, Swagger UI is available at http://localhost:3000/api/docs.
- Do not commit directly to
main. Create a branch from the latestmain, then open a pull request. - Each pull request needs a review from another team member before merging.
- Never commit secrets: no
.envfiles, passwords, tokens, or keys.