A marketplace application for medical products and procedures built with Next.js for the frontend and Nest.js for the backend.
├── frontend/ # Next.js frontend application
├── backend/ # Nest.js backend API
- Browse medical products and procedures
- View detailed information about each product
- Filter products by category
- RESTful API for product management
- Node.js (v16 or higher)
- npm or yarn
- Clone the repository
- Install dependencies for both frontend and backend
# Install frontend dependencies
cd frontend
npm install
# Install backend dependencies
cd backend
npm installcd frontend
npm run devThe frontend will be available at http://localhost:3000
cd backend
npm run start:devThe backend API will be available at http://localhost:3001
The API documentation (Swagger) will be available at http://localhost:3001/api
GET /doctors- Get all doctorsGET /doctors/:id- Get a specific doctor by IDPOST /doctors- Create a new doctorPATCH /doctors/:id- Update a doctorDELETE /doctors/:id- Delete a doctor
GET /clinics- Get all clinicsGET /clinics/:id- Get a specific clinic by IDPOST /clinics- Create a new clinicPATCH /clinics/:id- Update a clinicDELETE /clinics/:id- Delete a clinic
GET /medical-services- Get all medical servicesGET /medical-services/:id- Get a specific medical service by IDPOST /medical-services- Create a new medical servicePATCH /medical-services/:id- Update a medical serviceDELETE /medical-services/:id- Delete a medical service
GET /patients- Get all patientsGET /patients/:id- Get a specific patient by IDPOST /patients- Create a new patientPATCH /patients/:id- Update a patientDELETE /patients/:id- Delete a patient
POST /patient-medical-services- Create a new patient medical service relationshipGET /patient-medical-services- Get all patient medical service relationshipsGET /patient-medical-services/:id- Get a specific patient medical service relationshipGET /patient-medical-services/patient/:patientId- Get all medical services for a specific patientPATCH /patient-medical-services/:id- Update a patient medical service relationshipDELETE /patient-medical-services/:id- Delete a patient medical service relationship
- Next.js
- TypeScript
- Tailwind CSS
- Nest.js
- TypeScript
- Swagger for API documentation
https://github.com/mariocodecr/medical-SC
- 0x02eeaafed8e20b5af184e8904c9091f45b3cbc065378a570997976123d685682
- https://sepolia.voyager.online/contract/0x02eeaafed8e20b5af184e8904c9091f45b3cbc065378a570997976123d685682#readContract