Skip to content

RinMinase/anidb

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Rin Minase's Anime Database

Circle-CI Netlify-Status

David-DM David-DM

Angular Node

Introduction

Add info here

Getting Started

Running the project

Installations Required:

  1. 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
    
  2. Modify the created ENV file based on your Firebase configuration

  3. Install the dependencies then run the project

    yarn install
    yarn start
    
  4. Fire up your browser and go to localhost:3000

Building the project

Installations Required:

  1. Fire up your terminal inside the project folder.

  2. Build the project by running:

    yarn build
    
  3. This should generate a dist/ folder inside the project folder.

Code Scaffolding

This is using yarn ng generate <schematic> <name> command. This can be shortened to yarn ng g <schematic> <name>.

Schematics

Project Structure

.
β”œβ”€β”€ .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

Project tasks

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

Testing the project

Add info here

Built with

Deployed to