My web app for the SoftUni Project Defense (Angular - February 2024)
See the deployed version: https://harecs.github.io/ng-recipes/
It is a website about recipes. Guests can view the recipes and view the details for a specific recipe. Logged users can explore all the recipes and can create recipes, which they can edit and delete. Also logged users can view their profile and all the recipes that they have created.
-
Clone the project
-
Go to the project directory
-
Install dependencies
npm install
- Start the server (Use one of the following)
npm run start
ng serve
- Navigate to
http://localhost:4200/
List of all the recipes.
Recipe details available for all the users to see.
Register form, with validation and error handling.
Login form, with validation and error handling.
Logged users can add recipes (Serves Count and Image URL are not required. If empty, there will be a default image and serves count = 1).
Logged users can see their recipes details and have Recipe Controls for editing and deleting.
Logged users can edit their own recipes (The form is automatically populated).
Logged users can delete their recipes (From the details page > Recipe Controls).
Logged users can see their profile (Username, date of user creation, created recipes with edit button).
404 page in case of invalid route.
Error hadling in case of server errors.
∇ app
∇ core
∇ component-a
component-a.component.html|css|ts
∇ component-b
component-b.component.html|css|ts
∇ guards
guard-a.activate.ts
guard-b.activate.ts
∇ modules
∇ feature-a
∇ components
∇ component-a
component-a.component.html|css|ts
∇ component-b
component-b.component.html|css|ts
service-a.service.ts
feature-a-routing.module.ts
feature-a.module.ts
∇ feature-b
∇ components
∇ component-a
component-a.component.html|css|ts
∇ component-b
component-b.component.html|css|ts
service-b.service.ts
feature-b-routing.module.ts
feature-b.module.ts
∇ shared
∇ components
∇ shared-component-a
shared-component-a.component.html|css|ts
∇ shared-component-b
shared-component-b.component.html|css|ts
∇ utils
shared-util.ts
∇ validators
validator.directive.ts
shared.module.ts
∇ types
type-a.ts
type-b.ts
app-http.interceptor.ts
app-routing.module.ts
app.component.css
app.component.html
app.component.ts
app.module.ts
∇ environments
environment.development.ts
environment.ts
favicon.ico
index.html
main.ts
styles.css