{"id":31805324,"url":"https://github.com/olegzee/safe-crudapp","last_synced_at":"2025-10-11T02:48:09.955Z","repository":{"id":35549540,"uuid":"218340536","full_name":"OlegZee/SAFE-CrudApp","owner":"OlegZee","description":"Fullstack application sample made with SAFE stack","archived":false,"fork":false,"pushed_at":"2022-12-11T11:19:48.000Z","size":1296,"stargazers_count":10,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"develop","last_synced_at":"2024-07-30T18:21:49.826Z","etag":null,"topics":["fable","fsharp","full-stack","giraffe","safe","safe-stack"],"latest_commit_sha":null,"homepage":null,"language":"F#","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/OlegZee.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}},"created_at":"2019-10-29T17:06:06.000Z","updated_at":"2022-12-14T23:07:26.000Z","dependencies_parsed_at":"2023-01-15T23:15:50.708Z","dependency_job_id":null,"html_url":"https://github.com/OlegZee/SAFE-CrudApp","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/OlegZee/SAFE-CrudApp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlegZee%2FSAFE-CrudApp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlegZee%2FSAFE-CrudApp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlegZee%2FSAFE-CrudApp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlegZee%2FSAFE-CrudApp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OlegZee","download_url":"https://codeload.github.com/OlegZee/SAFE-CrudApp/tar.gz/refs/heads/develop","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OlegZee%2FSAFE-CrudApp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279005956,"owners_count":26084004,"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-10-11T02:00:06.511Z","response_time":55,"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":["fable","fsharp","full-stack","giraffe","safe","safe-stack"],"created_at":"2025-10-11T02:48:06.520Z","updated_at":"2025-10-11T02:48:09.947Z","avatar_url":"https://github.com/OlegZee.png","language":"F#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Expense recorder application\n\nThe application demonstrates what can be accomplished in 30-40 hours with SAFE stack with a very basic knowledge of the SAFE.\nApplication features:\n\n* Giraffe based backend\n* using Postgres with F# Data Providers for persisting app data\n* simplistic REST Api\n* authentication and authorization\n* sharing F# code between client and server to ensure contracts\n* client routing to ensure application is navigation friendly\n* Fulma to build nice looking UI with a very basic HTML design skills\n\nI would love to use some newer things to simplify say client-server communication (kudos to Zaid Ajaj) but I was asked to expose REST Api.\n\n## Install pre-requisites\n\nYou'll need to install the following pre-requisites in order to build SAFE applications:\n\n* The [.NET Core SDK](https://www.microsoft.com/net/download) 3 or newer\n* install tools by running `dotnet tool restore` in the project folder\n* The [Yarn](https://yarnpkg.com/lang/en/docs/install/) package manager (you can also use `npm` but the usage of `yarn` is encouraged).\n* [Node LTS](https://nodejs.org/en/download/) installed for the front end components.\n\n## How to build\n\n* setup local Postgresql and roll out \"expenses\" database\n* restore database schema by running `psql -d expenses -a -f create-db.sql` from src/server folder\n* correct connection settings in src/server/DataAccess.fs\n* build using `dotnet fake build` command line\n\nNow you could run the application:\n\n```bash\ncd src/server\ndotnet run\n```\n\n* now navigate to [http://localhost:8085]\n* if the database is new connect under admin/\\\u003cpwd\\\u003e, where pwd is some number you can find in server logs\n\n`fake build target Run` starts development mode.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folegzee%2Fsafe-crudapp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Folegzee%2Fsafe-crudapp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Folegzee%2Fsafe-crudapp/lists"}