Add info here
Installations Required:
-
Clone the project and copy the ENV template file to a new ENV file.
git clone https://github.com/RinMinase/anidb.git cd anidb cp .env.example .env
-
Modify the created ENV file based on your Firebase configuration
-
Install the dependencies then run the project
yarn install yarn start
-
Fire up your browser and go to
localhost:3000
Installations Required:
-
Fire up your terminal inside the project folder.
-
Build the project by running:
yarn build
-
This should generate a
dist/
folder inside the project folder.
This is using yarn ng generate <schematic> <name>
command. This can be shortened to yarn ng g <schematic> <name>
.
Schematics
component
orc
- Creates a new componentmodule
orm
- Creates a new NgModuleservice
ors
- Creates a new service
.
โโโ .circleci/ # Circle CI configuration folder
โโโ assets/ # Project assets
โ โโโ config/ # Project configurations
โ โ โโโ manifest.json # Web manifest file
โ โ โโโ ngsw-config.json # PWA Service Worker configuration file
โ โ โโโ webpack.ts # Extended webpack configuration file
โ โ โโโ ... # Other configuration files
โ โโโ res/ # Platform-specific resources folder
โ โโโ ... # Other assets
โโโ dist/ # Compiled production code
โโโ src/ # Project source code
โ โโโ<module-name>/ # Project module
โ โ โโโ <name>.component.html # Component template
โ โ โโโ <name>.component.scss # Component stylesheet
โ โ โโโ <name>.component.ts # Module component
โ โ โโโ <name>.module.ts # Module
โ โโโ core/ # Project-wide reusable classes
โ โ โโโ builders/ # Project builders
โ โ โโโ components/ # Project components
โ โ โโโ services/ # Project services
โ โโโ app.module.ts # Main module and project routes
โ โโโ index.html # Main HTML file
โ โโโ index.scss # Main Stylesheet (SCSS) file
โ โโโ index.ts # Main TypeScript file
โโโ .editorconfig # IDE / Editor configuration
โโโ .env # Environment file
โโโ angular.json # Angular CLI configuration
โโโ tsconfig.json # Main TypeScript configuration file
โโโ ... # Other project files
Task automation is based on Yarn scripts or NPM scripts.
Task | Description |
---|---|
yarn start |
Run development server on http://localhost:3000/ with file watching on changes |
yarn start --prod |
Run production server on http://localhost:3000/ with file watching on changes |
yarn build |
Build production code and add service worker to built code |
Other tasks included in package.json
that should not be executed manually:
Task | Description |
---|---|
yarn deploy |
Build production code without displaying progress and add service worker to built code |
Add info here
- Angular - Web Framework
- TypeScript - Language syntax
- Sassy CSS (SCSS) - CSS pre-processor
- Bootstrap 5 - HTML Framework (layout)
- Firebase - Database
- Webpack - Project bundler
- Circle CI - Continuous Integration (CI) service
- Netlify - Hosting Platform