Diagnosy is a service that provides symptom and diagnosis guidance, user management, and chat functionality for medical inquiries.
-
Clone the Repository:
git clone https:/mdekabs/diagnosy.git
-
Navigate to the Project Directory:
cd diagnosy
-
Install Dependencies:
npm install or npm i
-
Configure Environment Variables:
- Create a
.env
file in the project root. - Add necessary environment variables (DB, DB_PASSWORD, API_KEY).
- Create a
-
Start the Server:
npm run server
To use Diagnosy, follow the installation steps and start the server. The service exposes various routes for user management, authentication, and chat interactions.
-
Create a New User:
POST /users
-
User Sign-In:
GET /sign_in
-
User Sign-Out:
GET /sign_out
-
Retrieve Authenticated User Information:
GET /users/me
-
Initiate a Chat Interaction:
GET /chat
For detailed information on each route, refer to the [api_documentation]section in the code repository.
- Express - Web application framework for Node.js.
- Readline-sync - Synchronous Readline for interactively running JavaScript.
- OpenaiService - Custom service for interacting with the OpenAI API.
- Sha1 - Library for generating SHA-1 hash.
Ngozi
Title: UI/UX Designer/Team Lead
Modinat
Title: Frontend Engineer
Michael Adebayo
Title: Fullstack Engineer
Ekabua Mawoda
Title: Backend Engineer