Skip to content

Latest commit

 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

MyReads

Steps to setup

1.Clone the application

2.Create myreads database

create database myreads

3. Change postgresql username and password as per your installation*

  • open src/main/resources/application.properties
  • change spring.datasource.username and spring.datasource.password as per your postgresql installation

4. Run the app using maven

mvn spring-boot:run

The app will start running at http://localhost:8080

Explore Rest APIs

Auth

Method Url Decription Sample Valid Request Body
POST /myreads/auth/signup Sign up JSON
POST /myreads/auth/signin Log in JSON

Test them using postman or any other rest client.

Sample Valid JSON Request Bodys

{
	"firstName": "Jordan",
	"lastName": "Henderson",
	"username": "hendo",
	"password": "password",
	"email": "hendo14@gmail.com",
	"gender":"male",
	"birthDay":"1990-06-11",
	"website":null,
	"bio":null
}
{
	"usernameOrEmail": "hendo",
	"password": "password"
}

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages