Skip to content

The Angular template showcases Subsocial's basic functionality, and allows you to get a better understanding of how to build Angular dapps on Subsocial.

License

Notifications You must be signed in to change notification settings

dappforce/subsocial-angular-template

Repository files navigation

SubsocialAngular

This project was generated with Angular CLI version 12.2.7.

Install package

Run yarn install

Install angular cli

Run yarn global add @angular/cli

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

SSR development server

Run yarn dev:ssr for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory.

Build SSR version

Run yarn build:ssr. Run yarn serve:ssr for use production server. Navigate to http://localhost:4000/.

Storybook development server

Run yarn storybook. Navigate to http://localhost:6006/.

Build storybook

Run yarn build-storybook.