Skip to content

RestExpress/RestExpress-Archetype

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

97 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RestExpress Archetypes

  • minimal - a minimal RestExpress server
  • mongodb - a MongoDB-backed service suite.
  • cassandra - a Cassandra-backed service suite.

NOTE: This project is generated from RestExpress-Scaffold. Please fork and edit the sources there as pull requests to this project are not accepted.

Usage

To create a new RestExpress project using one of these archetypes, use the Maven archetype plugin with the 'generate' goal.

To create a MongoDB-based project interactively:

mvn archetype:generate -DarchetypeGroupId=com.strategicgains.archetype -DarchetypeArtifactId=restexpress-mongodb -DarchetypeVersion=1.18

For a Cassandra skeleton, use the following:

mvn archetype:generate -DarchetypeGroupId=com.strategicgains.archetype -DarchetypeArtifactId=restexpress-cassandra -DarchetypeVersion=1.18

For a minimal skeleton with no backing database, use the following:

mvn archetype:generate -DarchetypeGroupId=com.strategicgains.archetype -DarchetypeArtifactId=restexpress-minimal -DarchetypeVersion=1.18

Scripts

Alternatively, there are corresponding scripts with each of these archetypes to simplify their usage. These are found in the scripts/ directory:

Running the scripts has the same effect as copying the above maven commands and pasting them into your console window. But is, arguably, easier to use if you happen to create a number of new projects.

Release

To release a new version of these archetypes to the central Maven repository, perform the following:

mvn release:clean
mvn release:prepare
mvn release:perform

About

Maven artifact to create RestExpress projects quickly.

Resources

Stars

Watchers

Forks

Packages

No packages published