Skip to content

njohnson-oss/Spring-Social-Media-Blog-API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Social Media Blog API

Project Description

This project is a REST API backend for a hypothetical social media app, where we manage our users’ accounts as well as any messages that they submit to the application.

Technologies Used

  • Java
  • Spring Framework
  • Spring MVC
  • Spring Data JPA

Features

  • Process new user registrations - POST /register
  • Process user logins - POST /login
  • Process the creation of new messages - POST /messages
  • Retrieve all messages - GET /messages
  • Retrieve a message by its ID - GET /messages/{message_id}
  • Delete a message identified by its message ID - DELETE /messages/{message_id}
  • Update a message text identified by a message ID - PATCH /messages/{message_id}
  • Retrieve all messages written by a particular user - GET /accounts/{account_id}/messages

Usage

# download project
git clone https://github.com/njohnson-oss/Spring-Social-Media-Blog-API

# validate, compile, test, and package the project
cd Spring-Social-Media-Blog-API
mvn package

# start the web API
java -jar ./target/Challenges-1.1.jar

About

Repo For RevPro Labs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors