1
0
This repo is the implementation of a basic, rails + neo4j implementation.
Go to file
2023-05-23 21:32:28 -07:00
app Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
bin Created project with rails new --api. 2023-05-22 18:43:15 -07:00
config Updated routes and added postman collection 2023-05-23 21:26:58 -07:00
db Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
lib/tasks Created project with rails new --api. 2023-05-22 18:43:15 -07:00
log Created project with rails new --api. 2023-05-22 18:43:15 -07:00
public Created project with rails new --api. 2023-05-22 18:43:15 -07:00
storage Created project with rails new --api. 2023-05-22 18:43:15 -07:00
test Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
tmp Created project with rails new --api. 2023-05-22 18:43:15 -07:00
vendor Created project with rails new --api. 2023-05-22 18:43:15 -07:00
.gitattributes Created project with rails new --api. 2023-05-22 18:43:15 -07:00
.gitignore git to ignore neo4j files 2023-05-23 20:47:49 -07:00
.ruby-version Created project with rails new --api. 2023-05-22 18:43:15 -07:00
config.ru Created project with rails new --api. 2023-05-22 18:43:15 -07:00
docker-compose.yaml Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
Dockerfile Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
Gemfile Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
Gemfile.lock Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
Grillo Rails Test.postman_collection.json Updated routes and added postman collection 2023-05-23 21:26:58 -07:00
justfile Implemented a 3 endpoint json api storing and querying data from neo4j 2023-05-23 20:47:11 -07:00
Rakefile Created project with rails new --api. 2023-05-22 18:43:15 -07:00
README.md Added readme video 2023-05-23 21:32:28 -07:00

NOTE, this project uses just as a task runner, and docker compose in order to spin up a neo4j database.

Once you make sure you have just install you can run:

$ just build
$ just migrate
$ just run

Beware that migrate might fail the first time, because neo4j takes longer to start during its first execution.

If you want to verify the functionality, you could try and opening the postman collection Grillo Rails Test.postman_collection.json, which contains collection variables to parametrize the actual endpoint for the rails api.

Here is a demo video