- email: admin@gmail.com
- password: admin
This project is divided into two parts:
- Back-end: Developed using Spring Boot with Java.
- Front-end: Developed using Angular.
The backend is built with Spring Boot, a framework that simplifies the development of production-ready applications. It provides a robust, scalable, and secure RESTful API to handle the core functionality of the application. Key features of the backend include:
- API Endpoints: Expose necessary data and functionality through RESTful endpoints.
- Database Integration: Connects to a relational database using Spring Data JPA and Hibernate.
- Security: Secured with Spring Security to handle authentication and authorization.
- Configuration: Managed using Spring Boot’s application properties and environment variables.
-
Clone the Repository:
git clone https://github.com/smit-joshi814/hospital-website.git
-
Navigate to the Project Directory:
cd back-end
-
Build the Project:
./mvnw clean install
-
Run the Application:
./mvnw spring-boot:run
-
Access the API: By default, the backend runs on
http://localhost:8080
.
The frontend is developed using Angular, a platform and framework for building single-page client applications using HTML and TypeScript. It provides a dynamic and responsive user interface for interacting with the backend services. Key features of the frontend include:
- Dynamic Views: Utilize Angular components and services to render data and handle user interactions.
- Routing: Implemented for navigating between different views and handling authentication.
- Forms: Reactive forms for data entry and validation.
- HTTP Client: Communicates with the backend API using Angular’s HttpClient module.
-
Clone the Repository:
git clone https://github.com/smit-joshi814/hospital-website.git
-
Navigate to the Project Directory:
cd front-end
-
Install Dependencies:
npm install
-
Run the Application:
ng serve
-
Access the Application: By default, the frontend runs on
http://localhost:4200
.
src/main/java
: Contains the main application code.src/main/resources
: Contains configuration files and application properties.pom.xml
: Maven configuration file.
src/app
: Contains Angular components, services, data-models, layouts, etc...src/assets
: Contains static assets like images and styles.angular.json
: Angular CLI configuration file.package.json
: Node.js dependencies and scripts.
-
Fork the Repository.
-
Create a New Branch:
git checkout -b feature/your-feature
-
Make Changes and Commit:
git add . git commit -m "Add your commit message"
-
Push to Your Branch:
git push origin feature/your-feature
-
Create a Pull Request on GitHub.
For any questions or further information, please contact linkedIn.