{"id":18158175,"url":"https://github.com/seikho/fullstack-starter","last_synced_at":"2025-05-07T03:07:41.723Z","repository":{"id":43667194,"uuid":"359486051","full_name":"Seikho/fullstack-starter","owner":"Seikho","description":"Node.JS with TypeScript, CQRS + Event Sourcing and React","archived":false,"fork":false,"pushed_at":"2022-08-14T05:41:47.000Z","size":1084,"stargazers_count":3,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-14T14:21:15.619Z","etag":null,"topics":["boilerplate","cqrs","event-sourcing","fullstack","react","typescript"],"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/Seikho.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":"2021-04-19T14:19:30.000Z","updated_at":"2024-05-08T13:11:10.000Z","dependencies_parsed_at":"2022-08-12T10:42:02.087Z","dependency_job_id":null,"html_url":"https://github.com/Seikho/fullstack-starter","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seikho%2Ffullstack-starter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seikho%2Ffullstack-starter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seikho%2Ffullstack-starter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Seikho%2Ffullstack-starter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Seikho","download_url":"https://codeload.github.com/Seikho/fullstack-starter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246423494,"owners_count":20774796,"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":["boilerplate","cqrs","event-sourcing","fullstack","react","typescript"],"created_at":"2024-11-02T07:05:48.101Z","updated_at":"2025-03-31T23:31:55.646Z","avatar_url":"https://github.com/Seikho.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Full Stack Starter\n\n**A highly opinionated full-stack starter: TypeScript, Node.JS, Express, CQRS + Event Sourcing, React, and Redux**\n\n## Getting Started\n\n1. Clone the repository to your new project folder:\n\n- `git clone git@github.com:seikho/fullstack-starter my-project`\n\n2. Remove the Git history\n\n- `cd my-project \u0026\u0026 rm -rf .git`\n\n3. Re-initialise the project\n\n- `git init`\n- `git remote add git@github.com:your-username/my-project`\n\n4. Install the project dependencies\n\n- `yarn`\n\n5. Start the databases\n\n- `yarn db`\n\n6. Start the backend + frontend\n\n- With the TypeScript compiler watching: `yarn start:watch`\n- Without the TypeScript compiler: `yarn start`\n  - Use `Ctrl + Shift + B` or `Cmd + shift + B` within VSCode to build in watch mode\n\n7. Get started!\n\n- http://localhost:1234\n\n## Architecture\n\n- `/src`: Back-end codebase\n  - `/api`: Express routers for top-level routes\n  - `/db`: Database helpers and migrations\n  - `/domain`: Each aggregate (`/domain/agg`), commands (`/domain/cmd`), and associated tests\n  - `/ws`: Websocket helpers\n  - `/manager`: Process managers\n  - `/populator:` Read model populators\n- `/web`: Front-end codebase\n  - `/page`: High-level pages\n  - `/comp`: Re-usabable components\n  - `/layout`: Components and styles for the layout\n  - `/store`: Redux store, reducers, and sagas\n  - `/style`: Global styles\n\n## Inclusions\n\n- React with zustand state management\n- Express\n- CQRS and Event Sourcing using [evtstore](https://github.com/seikho/evtstore)\n- Parcel.js for front-end bundling\n- MongoDB\n\n## Utilities\n\nThe project includes some helpers with Visual Studio Code and the command line\n\n### VSCode\n\n- `CTRL/CMD`+`SHIFT`+`B`: Builds the back-end in watch mode\n- `F5`: Launch the backend with the debugger and starts the frontend\n\n### Terminal\n\n- `yarn up`: Start the databases\n- `yarn web:serve`: Starts the front-end in watch mode\n- `yarn srv:build`: Cleans and builds the backend\n- `yarn srv:start`: Starts the back-end\n- `yarn clear`: Deletes the previous build\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseikho%2Ffullstack-starter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fseikho%2Ffullstack-starter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fseikho%2Ffullstack-starter/lists"}