{"id":17274597,"url":"https://github.com/rip21/ololos-blog","last_synced_at":"2025-07-27T20:04:51.034Z","repository":{"id":145840287,"uuid":"68710544","full_name":"RIP21/ololos-blog","owner":"RIP21","description":"Ololos Blog made of React+Redux/ Spring Boot","archived":false,"fork":false,"pushed_at":"2016-11-29T22:29:03.000Z","size":291,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-26T13:46:42.629Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/RIP21.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-09-20T12:40:53.000Z","updated_at":"2016-11-27T23:36:28.000Z","dependencies_parsed_at":"2023-05-05T20:47:24.321Z","dependency_job_id":null,"html_url":"https://github.com/RIP21/ololos-blog","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/RIP21/ololos-blog","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fololos-blog","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fololos-blog/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fololos-blog/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fololos-blog/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/RIP21","download_url":"https://codeload.github.com/RIP21/ololos-blog/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/RIP21%2Fololos-blog/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267417664,"owners_count":24083839,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-27T02:00:11.917Z","response_time":82,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-15T08:54:17.540Z","updated_at":"2025-07-27T20:04:51.017Z","avatar_url":"https://github.com/RIP21.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ololos-blog\n\nIt's a blog, which I wrote especially for practice techs, and to finally have a blog :D\nIt's a travel blog of me and my sweet girlfriend :)\n\n## What I need to run it in dev mode?\nInstall Gradle 3.1  \nInstall Node 6.7  \nRun:\n\n```\ngradle bootRun\ngradle npm_install //only on first run, or when package.json dependencies changed\ngradle npm_start\n```\nOr (Recommended):  \nRun main method in `Application.java` using IDE of your choice. And then go to frontent module and run\n```\nnpm start -s\n```\n\n## How to build for production and run?\nRun:\n```\ngradle clean assemble\ncd ololos-backend/build/libs\njava -jar project-template-0.0.1-SNAPSHOT.jar\n```\nIt will \n 1. Compile java/groovy classes  \n 2. will install npm/node if not installed.\n 3. Create minified and compressed js, css, html bundle to /dist folder in \"project-template-frontend\". Using Webpack\n 4. Copy these files to the \"/static\" folder in jar\n 5. ??? PROFIT! Just run the jar with `java -jar nameOfTheBuild.jar`  and app is deployed\n \n##How to develop frontend?\nJust run backend as separate service any way you like or  `gradle bootRun`, and proxy all calls to `/api` in browsersync server to `localhost:8080`,\nor just use some mockApi and run:\n```\nnpm start -s\n```\nIt will run a server in dev mode with hot reloading and other fancy stuff.\n\n### Of course, it's cool, but how to proxy?!\nJust uncomment line 30 in file `srcServer.js` in `/tools` folder in frontend module.\n\n### How to test your UI and don't kill everyone around?\nJust run:\n```\nnpm run test:watch\n```\n### Not happy yet? Want to debug it step by step in the IDEA/WebStorm?  \nFor IDEA: \n 1. Install node plugin.\n 2. Go to the run configurations\n 3. Create new Mocha test configuration and set it up this way (bellow)\n 4. PROFIT! Now you can just run this and it will launch test file by IDE so you can debug it here.\n\n```\nWorking dir: {YOUR FULL PATH}\\project-template\\project-frontend-template\nMocha package: \\project-template\\project-template-frontend\\node_modules\\mocha\nUser interface: bdd\nExtra Mocha options: tools/testSetup.js\nSelect: Test file\nChoose test file of your choice to test it within IDEA/WebStorm\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frip21%2Fololos-blog","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frip21%2Fololos-blog","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frip21%2Fololos-blog/lists"}