1.Select PostGreSQl DataBase on railway.app
2.Set a external variable --> spring_profiles_active=production
3.Select the Github Repository
4.Deployed automatically Run Anywhere✌️✌️😉
1.Just clone this project
2.make changes in application.properties file username and password ,port(if need)
3.Run the Application
4 just put this url in browser "localhost:8080/api/content" to get all data.
spring-boot-starter-web
spring-boot-starter-validation
spring-boot-starter-data-jdbc
spring-boot-starter-actuator
postgresql database
Postman tool
If you need any help feel free to reach out Vikashktr018@gmail.com
This project showcases the power of Java and Spring Boot, combined with a Postgres database, to create a versatile and efficient API for managing various types of content. This project is used for learning and experimentation.
Built With:
- Java
- Spring Boot
- Postgres Database
Key Features:
- Use Spring Data JDBC
- REST API
- CRUD + Filtering functionalities
GET /
GET /api/content/
GET /api/content/{{id}}
- enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"
- enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"
POST /api/content/
Content-Type: application/json
{
"id": null,
"title": "",
"desc": "",
"url": "",
"status": "",
"contentType": "",
"dateCreated": "",
"dateUpdated": null
}
- enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"
- enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"
PUT /api/content/{{id}}
Content-Type: application/json
{
"id": null,
"title": "",
"desc": "",
"url": "",
"status": "",
"contentType": "",
"dateCreated": "",
"dateUpdated": null
}
DELETE /api/content/{{id}}
GET /api/content/filter/{{keyword}}
GET /api/content/filter/status/{{status}}
Contributions, issues, and feature requests are welcome!
Give a ⭐️ if you like this project!