Skip to content
This repository has been archived by the owner on Feb 14, 2023. It is now read-only.

accesso/ChallengeLadder

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

73 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple RESTful API Spark and ORMLite

Simple RESTful API using Spark framework and ORMLite in the persistence layer.

Start the application

  • Create DB and users table: execute resources/schema.sql

  • Set desired database parameters in db.properties file

  • Run Main.java, this will start the server in port 4567

To create a new user:

curl -X POST http://localhost:4567/users?username=oscar&email=oscar@mail.com

Get user with ID = 1:

curl -X GET http://localhost:4567/users/1

Get list of users:

curl -X GET http://localhost:4567/users

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 83.8%
  • HTML 10.8%
  • SQLPL 5.4%