Platform for sharing educational activities (pdfs) for students in the Municipal Education Network of Rio Claro / Rio de Janeiro during the period of social isolation caused by the pandemic of COVID-19 in the year 2020. The Project was developed with Angular + Ionic + Firebase.
The project was in production during the period of the year 2020.
- Feat 01
- Feat 02
- Feat 03
See Demonstration |
---|
Angular
is a platform and framework for building the application interface using HTML, CSS and, mainly, JavaScript, created by Google's developers. It has some basic elements that make this construction interesting. Among the main ones, we can highlight the components, templates, directives, routing, modules, services, dependency injection and infrastructure tools that automate tasks, such as executing the unit tests of an application.
Ionic
is a free Open Source Framework under the MIT license for the development of hybrid mobile applications. Hybrid applications are mobile applications built in an alternative way to native applications. They are built, generally, using HTML + CSS + JavaScript, in this way they have become extremely popular, as it allows multiplatform development, using the same HTML for different operating systems.
Firebase
is a toolset platform developed by Google that helps build, improve, and grow your app. The tools it offers cover a large part of the services that developers would normally have to build on their own. This includes things like analysis, authentication, databases, configuration, file storage, push messages and the list goes on. The services are hosted in the cloud and have great scheduling flexibility. The following services offered by Firebase were used in this project: Authentication, Database with Cloud Firestore, Storage, Hosting, Cloud Messaging
Make sure that you also have NodeJS and NPM installed on your computer.
$ node --version
and$ npm --version
Install dependencies of project with:
$ npm install
Angular Cli is already part of the development dependencies, so any cli functionality can be used with the prefix npx.
$ npx ng serve
First Execution - Environment files: In the first execution of the project, it is essential to create the environment files (environment.ts) in /src/environments according to the model that follows inside the folder (environment.exp.ts).
Firebase Messaging configuration ./src/firebase-messaging-sw.js
importScripts('https://www.gstatic.com/firebasejs/7.8.1/firebase-app.js');
importScripts('https://www.gstatic.com/firebasejs/7.8.1/firebase-messaging.js');
firebase.initializeApp({
apiKey: '',
projectId: '',
messagingSenderId: '',
appId: '',
});
const messaging = firebase.messaging();
Run te command
$ ionic serve --lab --external
- The
--lab
flag allows multiplatform viewing in the browser - The
--external
flag is for the application to be available for access within the internal network
WORKFLOW.md - This project uses the workflow pattern called git flow
.
[Need to be implemented]
GITHUB ACTIONS - To deploy to a demonstration of project hosted in Firebase Hosting.
CONTRIBUTING.md - Specifications of how the contribution should be submitted
CHANGELOG.md - Chronologically list of changes for each version of a project