https://github.com/sachnaror/hospital
A Django-based web application for seamless patient and doctor authentication, featuring role-based dashboards, profile management, and responsive design using Bootstrap
https://github.com/sachnaror/hospital
django hospital
Last synced: 8 months ago
JSON representation
A Django-based web application for seamless patient and doctor authentication, featuring role-based dashboards, profile management, and responsive design using Bootstrap
- Host: GitHub
- URL: https://github.com/sachnaror/hospital
- Owner: sachnaror
- Created: 2024-03-02T15:49:28.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-03-04T10:37:01.000Z (over 1 year ago)
- Last Synced: 2024-12-31T09:14:59.025Z (10 months ago)
- Topics: django, hospital
- Language: Python
- Homepage:
- Size: 2.25 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Django User Authentication Project
This project is a Django-based web application that implements custom user authentication, handling different types of users: Patients and Doctors. Each user type has its own dashboard, which they are redirected to upon login. The project utilizes Django's authentication system, custom user models, and Bootstrap.
## Features
- Custom User Model supporting two types of users: Patient and Doctor.
- User signup and login system with profile picture upload.
- Separate dashboards ("view details" for now for this task's purpose only) for Patients and Doctors
- Password and Confirm Password match validation.## Prerequisites
Before you begin, ensure you have met the following requirements:
- Python 3.6 or higher installed on your machine.
- Django 3.1 or higher installed in your Python environment.
- Basic understanding of Django project structure and operations.## Installation
To install the project, follow these steps:
1. Clone the repository to your local machine:
```
git clone https://github.com/sachnaror/hospital.git```
2. Navigate to the project directory:
```
cd hospital
```3. Install the required dependencies:
```
pip install -r requirements.txt
```3. Apply the migrations to create the database schema:
```
python manage.py makemigrations
python manage.py migrate
```4. Run the Django development server:
```
python manage.py runserver
```5. Visit in your web browser to view the application.
## Usage
The application supports the following operations:
1. User Signup: New users can sign up as either a Patient or a Doctor by filling out the signup form, which includes uploading a profile picture.
2. User Login: Users can log in using their credentials. Upon successful login, users are redirected to their respective dashboards based on their user type.
3. Dashboards: Users can view their profile information on their dashboard.
## Built With
- Django - The web framework used
- Bootstrap CDN - Used for responsive frontend design## Fork the repository
1. Create a new branch: git checkout -b master
2. Make your changes and commit them: git commit -m ''.
3. Push to the original branch: git push origin hospital/master
4. Create the pull request.
5. Alternatively, see the GitHub documentation on creating a pull request.## Database
- Check this table for the data poured when signup form is submitted. For the tasks purpose, i have one table for all save and retrieve data :
## Contact
- If you have any questions or feedback, please contact me at:
```
Email:
Phone: 95603-30483
Address: Sector 108, Noida
```