Skip to content

Reiventing the wheel to learn more about how APIs are built in java, without relying on frameworks magics.

Notifications You must be signed in to change notification settings

joseiedo/framework-less-java-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Framework-less Java API

This project has the educational purpose of understanding the underlying principles and mechanics involved in handling HTTP requests, managing routes, processing data and even dependency injection without relying on any frameworks such as Spring, Quarkus, Spark etc.

Requirements

  • Java 17

Authentication

Basic auth with username: admin and password admin.

Endpoints

POST /api/users/register

Create a user. Payload:

{
  "login": "login",
  "password": "password"
}

GET /api/users/list

List created users.

About

Reiventing the wheel to learn more about how APIs are built in java, without relying on frameworks magics.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages