This is the frontend of a blog website built according to the Figma template here.
Note: This frontend project is part of a larger blog website project. The backend of the blog is available in the Nordic Rose Blog Backend repository.
Run ng serve for a dev server. Navigate to http://localhost:4200/. The application will automatically reload if you change any of the source files.
This project uses environment files to configure settings for both the development and production environments. To configure the environment accordingly, you need to understand the global variables used in these files.
In the development environment, you can configure the settings by understanding the following global variables used in environment.development.ts:
HOSTNAME: The hostname or IP address of the backend server.PORT_NUMBER: The port number on which the backend server is running.URL: The base URL for API endpoints, constructed usingHOSTNAMEandPORT_NUMBER.
In the production environment, you can configure the settings by understanding the following global variables used in environment.ts:
URL: The base URL for API endpoints in the production environment.
Please edit the appropriate environment file (environment.development.ts for development and environment.ts for production) to set the global variables according to your deployment requirements.
Run ng build to build the project. The build artifacts will be stored in the dist/ directory.
Run ng test to execute the unit tests via Karma.
Run ng e2e to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities.
To get more information on using Angular CLI or for additional assistance, please refer to the Angular CLI Overview and Command Reference page.