Table of Contents
This project is a simple frontend application of a blog, click here to access the backend repository.
The user has to authenticate in order to access/manage the posts. There are 3 user roles: Public, Writer and Editor.
Here are the main frameworks/libraries used on this project.
I chose Angular because it's the frontend framework I have the most experience with.
The API is deployed in Azure so you can use the following URL on the environment configuration: https://laryssablog.azurewebsites.net/ and not have the trouble of executing the backend application.
But you if do prefer to run the backend locally, then check the repository documentation to see how to execute it:
To execute this frontend project on your machine you will need to install these dependencies:
The only configuration is the URL of the backend API, this can be done in the /environments/environment.ts or /environments/environment.development.ts. You don't need to change the default value unless you execute the API on another port or want to use the deployed API.
After cloning this repository you will need to execute the following commands on the root folder:
npm install
This will install all the project dependencies
ng serve
This will execute the project, just access http://localhost:4200 to view the application.
If you are using the API deployed in Azure, you can use the following user credentials for testing:
Role | Password | |
---|---|---|
Public | [email protected] | public |
Writer | [email protected] | writer |
Editor | [email protected] | editor |