Skip to content
/ mem Public

Full stack in a single JAR: Spring server and Angular client (API and Model generated by swagger-codegen)

License

Notifications You must be signed in to change notification settings

makimenko/mem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

Sample of full stack in a single JAR: Spring server and Angular client. The server and client APIs and Models are automatically generated by swagger-codegen.

Usage

  • Manually define Open APIs in mem-design\src\main\resources\mem.yaml
  • Automatically generate Java Spring serve-side and Angular client-side code (including Domain models and REST API)
  • Manually implement server-side and client logic

Example

This repository includes sample quiz game.

Build and Run

Pre-requisites

  • Maven
  • Node.js and npm

Buld

mvn install

Run

cd mem-server
java -jar target/mem-server-0.2.0.0-SNAPSHOT.jar

Open web browser http://localhost