{"id":20886168,"url":"https://github.com/shiyinq/fasmo","last_synced_at":"2026-04-08T20:05:24.373Z","repository":{"id":247323506,"uuid":"825541341","full_name":"Shiyinq/fasmo","owner":"Shiyinq","description":"🚀 My starter project for the FASMO Stack, utilizing FastAPI, Svelte, and MongoDB to build a modern web application.","archived":false,"fork":false,"pushed_at":"2025-12-26T07:59:37.000Z","size":5721,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-12-26T09:35:04.724Z","etag":null,"topics":["fastapi","mongodb","public-template","python","starter-project","svelte","sveltekit","typescript"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Shiyinq.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-07-08T03:31:44.000Z","updated_at":"2025-12-26T07:59:41.000Z","dependencies_parsed_at":"2024-07-16T04:46:34.909Z","dependency_job_id":"98ade510-02c4-4422-96f0-b5aac0e59cb8","html_url":"https://github.com/Shiyinq/fasmo","commit_stats":null,"previous_names":["shiyinq/fasmo"],"tags_count":1,"template":true,"template_full_name":null,"purl":"pkg:github/Shiyinq/fasmo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiyinq%2Ffasmo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiyinq%2Ffasmo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiyinq%2Ffasmo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiyinq%2Ffasmo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Shiyinq","download_url":"https://codeload.github.com/Shiyinq/fasmo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Shiyinq%2Ffasmo/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31571622,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["fastapi","mongodb","public-template","python","starter-project","svelte","sveltekit","typescript"],"created_at":"2024-11-18T08:16:01.471Z","updated_at":"2026-04-08T20:05:24.353Z","avatar_url":"https://github.com/Shiyinq.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FASMO\n\n\u003cdiv align=\"center\"\u003e\n\u003c!-- https://patorjk.com/software/taag/#p=display\u0026f=Ghost\u0026t=FASMO --\u003e\n\u003cpre\u003e\n            ('-.      .-')   _   .-')                \n           ( OO ).-. ( OO ).( '.( OO )_              \n   ,------./ . --. /(_)---\\_),--.   ,--.).-'),-----. \n('-| _.---'| \\-.  \\ /    _ | |   `.'   |( OO'  .-.  '\n(OO|(_\\  .-'-'  |  |\\  :` `. |         |/   |  | |  |\n/  |  '--.\\| |_.'  | '..`''.)|  |'.'|  |\\_) |  |\\|  |\n\\_)|  .--' |  .-.  |.-._)   \\|  |   |  |  \\ |  | |  |\n  \\|  |_)  |  | |  |\\       /|  |   |  |   `'  '-'  '\n   `--'    `--' `--' `-----' `--'   `--'     `-----' \n\u003c/pre\u003e\n\u003c/div\u003e\n                         \n\n\nFASMO - FastAPI SvelteKit MongoDB\n\nThe project structure for the backend is inspired by [this repository](https://github.com/zhanymkanov/fastapi-best-practices?tab=readme-ov-file#project-structure).\n\nThe frontend of the project is built using SvelteKit, initialized with the command: \u003cbr /\u003e `npm create svelte@latest fasmo`\n\n# Table of Contents\n- [FASMO](#fasmo)\n- [Table of Contents](#table-of-contents)\n  - [Development](#development)\n    - [Backend](#backend)\n    - [Frontend](#frontend)\n  - [Formatting](#formatting)\n  - [Deployment](#deployment)\n\n\n## Development\n\n### Backend\n\n**1. Create a Virtual Environment (venv)**\n\nCreate a virtual environment (venv) using conda with the following command:\n\n```\nconda create -n [venv-name] python=3.10\n```\n\nActivate the venv with the following command:\n\n```\nconda activate [venv-name]\n```\n**2. Install requirements**\n\nInstall the required dependencies with the following command:\n\n```\npip install -r requirements/dev.txt\n```\n**3. Create the .env File**\n\nCreate and update `.env` file based on `.env.example`\n\n```\ncp .env.example .env\n```\n\n**4. Run the backend**\n\nRun the server with the following command:\n\n```\nsh script/start-dev.sh\n```\n\n**5. Open the API Documentation**\n\nThe API documentation can be opened in a browser at the following address:\n\n```\nhttp://localhost:8000/docs\n```\n\n### Frontend\n**1. Go to frontend folder**\n\nGo to frontend folder and install dependencies:\n```\ncd frontend\nnpm install\n```\n\n**2. Create the .env File**\n\nCreate and update `.env` file based on `.env.example`\n\n```\ncp .env.example .env\n```\n\n**3. Run the frontend**\n\nRun development server\n```bash\nnpm run dev\n\n# or start the server and open the app in a new browser tab\nnpm run dev -- --open\n```\n\n## Formatting\nTo make the code cleaner and more structured\n\nBackend:\n```\nsh scripts/lint-fromat.sh\n```\nFrontend:\n```\nnpm run lint\nnpm run format\n```\n\n## Deployment\n\nBefore you begin, ensure you have [Docker](https://docs.docker.com/engine/install/) installed.\n\n**1. Create environment files**\n\nFor the backend:\n```bash\ncp .env.example .env\n```\n\nFor the frontend:\n```bash\ncd frontend\ncp .env.example .env\ncd ..\n```\n\nOpen each `.env` file you have created and update the values as needed.\n\n**2. Build and run the Docker containers**\n```bash\ndocker compose up --build -d\n```\nWait a few minutes for the setup to complete. You can then access:\n- Frontend at http://localhost:5050\n- Backend at http://localhost:8000\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiyinq%2Ffasmo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fshiyinq%2Ffasmo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fshiyinq%2Ffasmo/lists"}