{"id":17027304,"url":"https://github.com/jaypyles/webapp-template","last_synced_at":"2026-03-16T23:31:52.855Z","repository":{"id":240462581,"uuid":"802669396","full_name":"jaypyles/webapp-template","owner":"jaypyles","description":"Template designed to quickly build full stack apps.","archived":false,"fork":false,"pushed_at":"2024-12-10T00:12:30.000Z","size":296,"stargazers_count":7,"open_issues_count":1,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-26T06:34:33.696Z","etag":null,"topics":["open-source","template","webapp"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jaypyles.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}},"created_at":"2024-05-18T23:45:49.000Z","updated_at":"2025-01-03T18:11:25.000Z","dependencies_parsed_at":"2024-05-19T04:25:52.757Z","dependency_job_id":"ee02265b-e6fa-48a1-a93c-3fd8da4a11c6","html_url":"https://github.com/jaypyles/webapp-template","commit_stats":null,"previous_names":["jaypyles/webapp-template"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaypyles%2Fwebapp-template","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaypyles%2Fwebapp-template/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaypyles%2Fwebapp-template/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jaypyles%2Fwebapp-template/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jaypyles","download_url":"https://codeload.github.com/jaypyles/webapp-template/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248565001,"owners_count":21125413,"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","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":["open-source","template","webapp"],"created_at":"2024-10-14T07:47:06.138Z","updated_at":"2026-03-16T23:31:52.820Z","avatar_url":"https://github.com/jaypyles.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webapp Template\n\nTemplate designed to quickly build full stack apps.\n\nUtilizes Github Actions and Ansible to build Docker images to quickly deploy onto an AWS EC2 Debian instance.\n\n## Technologies\n\n- Containerization: Docker/Docker Compose\n\n- Frontend: React/Next.js\n\n- Backend: FastAPI\n\n- Frameworks/Libraries: PDM, TailwindCSS\n\n## Prerequisites\n\n- Install Ansible\n\n- Create a Dockerhub account/repo and fill out the Github repo environmental variables:\n\n  - DOCKERHUB_TOKEN\n  - DOCKERHUB_USERNAME\n  - DOCKERHUB_REPO\n\n- Complete the `config.yaml` and the `inventory.yaml` in the `ansible` directory\n\n  - `github_repo`: Github repo clone address\n  - `deploy_path`: Path where to clone the repo to on the server\n  - `deploy_command`: `Make` command to run to deploy on the server\n\n- Add your domain in HOSTNAME_PROD in the `Makefile`\n\n## Deployment\n\n### Local Deployment\n\nUses `make` to quickly dispatch `docker-compose` commands.\n\n- `deps`: rebuilds the frontend to deploy statically using the api\n\n- `build`: builds the container using `docker-compose build `\n\n- `up-prd`: ups the container using `docker-compose -f docker-compose.yml up`\n\n- `up-dev`: ups the container using `docker-compose -f docker-compose.yml -f docker-compose.dev.yml up`\n  which will deploy with local volumes.\n\nEx: `make deps build up-dev`\n\n### Server Deployment\n\nEasy deployment using `make setup deploy` after completing the required config files.\n\n- `setup`: Install dependencies and clone repo onto server\n\n- `deploy`: Deploy on server\n\nTo use a SSL certificate, uncomment the volumes under the `traefik` service. Add your own certificates for use in Traefik.\n\n```yaml\nvolumes:\n  - \"/var/run/docker.sock:/var/run/docker.sock:ro\"\n  - \"./dynamic_conf.yaml:/etc/traefik/dynamic_conf.yaml\"\n  - \"/etc/letsencrypt/live/domain/fullchain.pem:/etc/certs/ssl-cert.pem\"\n  - \"/etc/letsencrypt/live/domain/privkey.pem:/etc/certs/ssl-cert.key\"\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaypyles%2Fwebapp-template","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjaypyles%2Fwebapp-template","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjaypyles%2Fwebapp-template/lists"}