Skip to content

omarpecos/app-cuak-angular

Repository files navigation

App Cuak - Angular

alt text

Description

This project is an Angular App developed to consume API Cuak and use all characteristics of GraphQL APIs (queries,mutations and subscriptions).The API has authorization and authentication with JWT (Json Web Tokens) implemented.

It uses apollo-angular module to perform queries and mutations,and to set listeners for subscriptions and sweetalert for displaying some CRUD notifications.

The original idea is create an social network similar to Twitter but more focused in images. When a user creates a post, it must have a random image loaded from Unplash or a file uploaded by the user. In the app the users can create posts, like or unlike them,reply to posts,join global chat rooms, create private chat rooms with other users, and it has real time chat and notifications inside the app.

Installation and Usage

This project was generated with Angular CLI version 9.1.5.

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Visuals

alt text

alt text

alt text

Url of the app deployed

App Cuak

Maybe you have to wait a bit to the API to come online because it is using Repl.it free service and the projects are 'asleep' until they get a request.

You can try to register as a new user or log in with this data :

User : user

Password : user

Project Timeline

Gantt diagram

alt text

tags: Documentation Angular GraphQL apollo-angular