https://github.com/vikashkatiyar/content-calendar
Project demonstrates Java and Spring Boot, paired with a Postgres database, to craft a flexible and effective API for handling diverse content. Created for learning and experimentation, it incorporates Spring Data JDBC, REST API, and CRUD operations with filtering features. A user-friendly tool for content .
https://github.com/vikashkatiyar/content-calendar
crud-application java restapi-backend spring-boot spring-data-jpa spring-jdbc
Last synced: 20 days ago
JSON representation
Project demonstrates Java and Spring Boot, paired with a Postgres database, to craft a flexible and effective API for handling diverse content. Created for learning and experimentation, it incorporates Spring Data JDBC, REST API, and CRUD operations with filtering features. A user-friendly tool for content .
- Host: GitHub
- URL: https://github.com/vikashkatiyar/content-calendar
- Owner: Vikashkatiyar
- Created: 2023-07-12T04:44:15.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2023-09-28T19:24:58.000Z (over 2 years ago)
- Last Synced: 2025-01-27T04:29:07.738Z (over 1 year ago)
- Topics: crud-application, java, restapi-backend, spring-boot, spring-data-jpa, spring-jdbc
- Language: Java
- Homepage:
- Size: 74.2 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Steps to host api on railway.app
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✌️✌️😉
# How to run this project on local machine
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.
# Used TeckStack
Spring Boot 3
============
> spring-boot-starter-web
> spring-boot-starter-validation
> spring-boot-starter-data-jdbc
> spring-boot-starter-actuator
> postgresql database
> Postman tool
# Note:-
If you need any help feel free to reach out Vikashktr018@gmail.com
# Image from railway.app

# Image from Postman

# Content Calender Spring RESP API
_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
### Endpoints
### Get Details (Home)
```http request
GET /
```
### Get All contents
```http request
GET /api/content/
```
### Get a specific content
```http request
GET /api/content/{{id}}
```
### Add a new content
- _enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"_
- _enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"_
```http request
POST /api/content/
Content-Type: application/json
{
"id": null,
"title": "",
"desc": "",
"url": "",
"status": "",
"contentType": "",
"dateCreated": "",
"dateUpdated": null
}
```
### Update existing content
- _enum status "IDEA", "IN_PROGRESS", "COMPLETED", "PUBLISHED"_
- _enum contentType "ARTICLE", "VIDEO", "COURSE", "CONFERENCE_TALK"_
```http request
PUT /api/content/{{id}}
Content-Type: application/json
{
"id": null,
"title": "",
"desc": "",
"url": "",
"status": "",
"contentType": "",
"dateCreated": "",
"dateUpdated": null
}
```
### Delete existing content
```http request
DELETE /api/content/{{id}}
```
### Filter by keyword
```http request
GET /api/content/filter/{{keyword}}
```
### Filter by status
```http request
GET /api/content/filter/status/{{status}}
```
## 🤝 Contributing
Contributions, issues, and feature requests are welcome!
## Show your support
Give a ⭐️ if you like this project!