Skip to content

Commit 3d99307

Browse files
author
Dassi Orleando
committed
BAEL-1216: Introduction to the Oriented Java APIs
1 parent 8caf1a6 commit 3d99307

8 files changed

Lines changed: 489 additions & 1 deletion

File tree

‎orientdb/.gitignore‎

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
target/
2+
!.mvn/wrapper/maven-wrapper.jar
3+
4+
### STS ###
5+
.apt_generated
6+
.classpath
7+
.factorypath
8+
.project
9+
.settings
10+
.springBeans
11+
12+
### IntelliJ IDEA ###
13+
.idea
14+
*.iws
15+
*.iml
16+
*.ipr
17+
18+
### NetBeans ###
19+
nbproject/private/
20+
build/
21+
nbbuild/
22+
dist/
23+
nbdist/
24+
.nb-gradle/
48.3 KB
Binary file not shown.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip

‎orientdb/README.md‎

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
Introduction to the OrientDB Java APIs
2+
======================================
3+
4+
This is a simple maven project that shows how to do OrientDB operations using the Java API.
5+
6+
### Requirements
7+
8+
- Maven
9+
- Java 7 or higher
10+
- OrientDB
11+
12+
### Running
13+
14+
To build and start the server simply type
15+
16+
```bash
17+
$ mvn clean install
18+
```
19+
20+
### Test Db Operation
21+
22+
You can see what crud operation are available using curl:
23+
24+
```bash
25+
$ curl localhost:8080
26+
```
27+
You can view existing student objects with this command:
28+
29+
```bash
30+
$ curl localhost:8080/articles
31+
```
32+
33+
34+
Now with default configurations it will be available at: [http://localhost:8080](http://localhost:8080)
35+
36+
Enjoy it :)

‎orientdb/mvnw‎

Lines changed: 233 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)