Back-end architecture of news service, based on mysql and spring boot. It contains various news related APIs.
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
Maven
Java
MySQL
Clone & Install
Clone the repo: git clone [email protected]:rajnikant7008/RestAPI.git
Install dependencies: mvn clean compile install -DskipTests
MySql Queries
Configure mysql user name and password in : src/main/resources/application.properties
Run queries from : src/main/resources/release-sql/schema.1.0.sql
Start the server: mvn spring-boot:run
Run: src/main/java/com/rajnikant/springAPI/SpringApiApplication.java
Using Postman
Create valid request and fire.
Start the server and open: http://localhost:8080
And hit APIs as listed below.
- Spring Boot - The web/application framework used
- SpringFox - API documentation
- Maven - Dependency Management
- MySQL - Used for persistent storage
- Hibernate - Object/Relational Mapping (ORM) framework
This project is licensed under the Apache License - see the LICENSE.md file for details