GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - sunsuling/RESTful-Signup-Login-Logout-API-using-Java-Spring: First Project

BranchesTags
Open more actions menu
 
 

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea/libraries
.idea/libraries
 
 
gradle/wrapper
gradle/wrapper
 
 
src/main/java/hello
src/main/java/hello
 
 
target/classes/hello
target/classes/hello
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
gs-accessing-data-mongodb.iml
gs-accessing-data-mongodb.iml
 
 
mvnw
mvnw
 
 
mvnw.cmd
mvnw.cmd
 
 
pom.xml
pom.xml
 
 

Repository files navigation

hello-world

A simpile Spring JAVA project example for creating RESTful APIs for signup, login, logout and check balance of user iff user is logged in otherwise prompt appropriate errors. Database used is MongoDB and in order to run the project, mongo-server must be running in background.

Spring-boot is used for easy configuration of the project while concept of Interceptor is used to handle requests on login/logout/checkbalance uri's.

Some error messages are shown in the logcat while some are returned as the response.

Developed on IntelliJ using maven.

Installation Notes:

  1. Install MonogDB
  2. (Optional) Install Robomongo for gui view of MongoDB database
  3. Install POSTMAN chrome extension for making HttpRequests
  4. Open project in IntelliJ.
  5. Open Pom.xml and install missing dependencies
  6. Run application.java. By default the configuration runs the tomcat server on port 8080 which may be used by another service. In order to remove this error, use "-Dserver.port=8000" in the VM Options in your edit configuration file.
  7. Use postman or any other application to make Http POST Requests on the urls like: localhost:8000/signup?username=vishal
  8. The password is sent via Request Header along with the confirm password for signup url. On successful signup, the server will respond with appropriate message.

About

First Project

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.