Skip to content

cunhazera/node

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node

If you want to run this project locally:

  • Clone this project
  • Compile with mvn clean install
  • Download the Tomcat server
  • Create a mysql database called node with user and password root.
    • Why am I exposing the user and password? Because this database will be created locally and all data will be also stored locally. If it were a remote dabase with sensitive data I'd surely keep the credentials in some env var.
  • java -jar target/app.jar

URLs

  • POST /app/node: Creates a new node
  • GET /app/node: return all nodes with their children
  • GET /app/node/parentId: returns all children from the specified node
  • PUT /app/node: updates some node

Want to use it at Google cloud?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages