Skip to content

Commit 46884db

Browse files
committed
Initial project structure with .Net Core + OrientDB
1 parent b611914 commit 46884db

21 files changed

+1672
-0
lines changed

.gitignore

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
.vscode/*
2+
!.vscode/settings.json
3+
!.vscode/tasks.json
4+
!.vscode/launch.json
5+
!.vscode/extensions.json

.vscode/launch.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
// Use IntelliSense to find out which attributes exist for C# debugging
3+
// Use hover for the description of the existing attributes
4+
// For further information visit https://github.com/OmniSharp/omnisharp-vscode/blob/master/debugger-launchjson.md
5+
"version": "0.2.0",
6+
"configurations": [
7+
{
8+
"name": ".NET Core Launch (web)",
9+
"type": "coreclr",
10+
"request": "launch",
11+
"preLaunchTask": "build",
12+
// If you have changed target frameworks, make sure to update the program path.
13+
"program": "${workspaceFolder}/api/dotnet/IsometricApi/IsometricRest/bin/Debug/netcoreapp2.0/IsometricRest.dll",
14+
"args": [],
15+
"cwd": "${workspaceFolder}/api/dotnet/IsometricApi/IsometricRest",
16+
"stopAtEntry": false,
17+
"internalConsoleOptions": "openOnSessionStart",
18+
"launchBrowser": {
19+
"enabled": true,
20+
"args": "${auto-detect-url}",
21+
"windows": {
22+
"command": "cmd.exe",
23+
"args": "/C start ${auto-detect-url}"
24+
},
25+
"osx": {
26+
"command": "open"
27+
},
28+
"linux": {
29+
"command": "xdg-open"
30+
}
31+
},
32+
"env": {
33+
"ASPNETCORE_ENVIRONMENT": "Development"
34+
},
35+
"sourceFileMap": {
36+
"/Views": "${workspaceFolder}/Views"
37+
}
38+
},
39+
{
40+
"name": ".NET Core Attach",
41+
"type": "coreclr",
42+
"request": "attach",
43+
"processId": "${command:pickProcess}"
44+
}
45+
,]
46+
}

.vscode/tasks.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"version": "2.0.0",
3+
"tasks": [
4+
{
5+
"label": "build",
6+
"command": "dotnet",
7+
"type": "process",
8+
"args": [
9+
"build",
10+
"${workspaceFolder}/api/dotnet/IsometricApi/IsometricRest/IsometricRest.csproj"
11+
],
12+
"problemMatcher": "$msCompile"
13+
}
14+
]
15+
}

README.md

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
# isometric-api
2+
3+
A backend REST [.Net Core](https://www.microsoft.com/net/) api to request/send data of isometric games, using Graph/Document NoSQL databases like [OrientDB](https://orientdb.com)
4+
5+
## Getting Started
6+
7+
- Download and extract [OrientDB Community Edition](https://orientdb.com/download-2/)
8+
9+
- Enter the uncompressed folder and run this commands below:
10+
11+
```bash
12+
cd orientdb-community-importers-2.2.32/bin
13+
./server.sh
14+
```
15+
16+
- Start the **Aspnet Core** API:
17+
18+
```bash
19+
cd api/dotnet/IsometricApi/IsometricRest
20+
dotnet run
21+
```
22+
23+
### Prerequisites
24+
25+
* [.Net Core](https://www.microsoft.com/net/download/linux)
26+
* [OrientDB Community Edition](https://orientdb.com/download-2/)
27+
28+
29+
## Authors
30+
31+
* **Michel Felipe** - *Initial work* - [mfdeveloper](https://github.com/mfdeveloper)
32+
33+
## License
34+
35+
This project is licensed under the MIT License - see the [MIT.md](LICENSE.md) file for details

0 commit comments

Comments
 (0)