Catcare is a project designed to provide comprehensive solutions for cat owners, focusing on easy diagnosis and tracking nearby veterinary clinics. The platform aims to enhance the health and well-being of cats
- NextJs
- Shadcn/ui
- TanStack Query
- React Hook Form
- Prisma
- PostgreSQL
- NestJS
- Google Map
Before you begin, ensure you have the following installed on your machine:
- Node.js: Download and install Node.js
- npm: Node.js package manager (comes with Node.js installation)
-
Clone the repository:
git clone https://github.com/anwarhakim31/catcare-expert-system.git
-
Navigate to the project directory:
cd catcare-expert-system
-
Install dependencies
cd backend npm install cd .. cd frontend npm install
-
Create a .env file in the root of your project.
backend
ORIGIN = DATABASE_URL= DIRECT_URL = JWT_SECRET =
frontend
NEXT_PUBLIC_DOMAIN = NEXT_PUBLIC_API_URL = exmple.domain/api JWT_SECRET = NEXT_PUBLIC_CLOUD_PRESET = NEXT_PUBLIC_CLOUD_NAME = NEXT_PUBLIC_GOOGLE_MAPS_API_KEY =
-
To start the development server, run:
backend
npm run start:dev
frontend
npm run dev