{"id":19528900,"url":"https://github.com/adonisjs/web-starter-kit","last_synced_at":"2025-04-26T11:33:43.630Z","repository":{"id":204451860,"uuid":"609432792","full_name":"adonisjs/web-starter-kit","owner":"adonisjs","description":"Starter kit for creating traditional server rendered applications using AdonisJS","archived":false,"fork":false,"pushed_at":"2024-05-07T20:50:58.000Z","size":637,"stargazers_count":17,"open_issues_count":0,"forks_count":6,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-05-21T02:12:30.344Z","etag":null,"topics":["starter-kit"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/adonisjs.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},"funding":{"github":"thetutlage"}},"created_at":"2023-03-04T06:35:31.000Z","updated_at":"2024-05-28T10:35:17.127Z","dependencies_parsed_at":null,"dependency_job_id":"6ca74eb9-0d3f-4d66-9790-11369cb76356","html_url":"https://github.com/adonisjs/web-starter-kit","commit_stats":null,"previous_names":["adonisjs/web-starter-kit"],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fweb-starter-kit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fweb-starter-kit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fweb-starter-kit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/adonisjs%2Fweb-starter-kit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/adonisjs","download_url":"https://codeload.github.com/adonisjs/web-starter-kit/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224033021,"owners_count":17244520,"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":["starter-kit"],"created_at":"2024-11-11T01:20:39.221Z","updated_at":"2024-11-11T01:20:40.570Z","avatar_url":"https://github.com/adonisjs.png","language":"TypeScript","funding_links":["https://github.com/sponsors/thetutlage"],"categories":[],"sub_categories":[],"readme":"# AdonisJS Web Starter Kit\n\nThis repo contains an AdonisJS application tailored for building a server-side rendered application using the [Edge template engine](https://edgejs.dev).\n\n## What's included\n\n- TypeScript setup with commands to run developments server using `ts-node + swc` and create production build.\n- ESLint and Prettier setup extending the [AdonisJS tooling config](https://github.com/adonisjs/tooling-config) presets.\n- Ace command line framework.\n- Everything else you get with the core of AdonisJS.\n\nOn top of the framework core and dev-tooling, the following features are enabled by the web starter kit.\n\n- Lucid ORM ( Installed, but not configured )\n- Auth module ( Installed, but not configured )\n- CSRF protection\n- Edge template engine\n- VineJS for validations\n- Static files server\n- Vite for bundling and serving frontend assets\n\n## Usage\n\nYou can create a new app using the `web` boilerplate by executing the following command. The command will perform the following steps.\n\n- Clone the repo\n- Install dependencies\n- Copy `.env.example` to `.env`\n- Set app key using `node ace generate:key` command.\n- Configure `@adonisjs/lucid` package.\n- Configure `@adonisjs/auth` package.\n\n```sh\nnpm init adonisjs@latest -- -K=web\n```\n\n### Configuring Lucid database dialect\n\nBy default, the `npm init adonisjs@latest` command configures Lucid to use `sqlite`. However, you can define a custom database dialect as follows.\n\n```sh\nnpm init adonisjs@latest -- -K=web --db=postgres\n```\n\nAvailable options for the `--db` flag.\n\n- sqlite\n- postgres\n- mysql\n- mssql\n\n### Configuring Auth package guard\n\nBy default, the `npm init adonisjs@latest` command configures the Auth package to use `session` guard. However, you can define a custom auth guard as follows.\n\n```sh\nnpm init adonisjs@latest -- -K=web --auth-guard=access_tokens\n```\n\nAvailable options for the `--auth-guard` flag.\n\n- session\n- basic_auth\n- access_tokens\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fweb-starter-kit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fadonisjs%2Fweb-starter-kit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fadonisjs%2Fweb-starter-kit/lists"}