-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME.txt
More file actions
205 lines (133 loc) · 4.52 KB
/
Copy pathREADME.txt
File metadata and controls
205 lines (133 loc) · 4.52 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
mkdir nomeprojeto
npm init -y
npm i rxjs webpack webpack-dev-server typescript ts-loader
npm i webpack-cli --dev
adicionar no package.json:
"scripts": {
"start" : "webpack-dev-server --mode development",
criar :
webpack.config.js
tsconfig.json
index.html !
npm start
npm install --save esm
O Node ainda não suporta importações do ES6.
A solução chama-se esm, o carregador de módulo JavaScript brilhantemente simples, sem babel e sem pacote.
Instale o esm em seu projeto: npm install --save esm
Execute seu código com esm: node -r esm arquivo.js
E deve funcionar sem nenhuma modificação de código.
Também é possível usando o babel.
Referências:
https://rxjs.dev/
https://rxmarbles.com/
https://reactive.how/
APIs JSON
https://developer.github.com/v3/
https://developer.github.com/v3/search
https://api.github.com/search/users?q=cassioseffrin
https://api.crossref.org/works?rows=50&query.author=seffrin
https://developer.apple.com/documentation/applemusicapi/get_a_catalog_album
SCSS + RXJS
https://css-tricks.com/animated-intro-rxjs/
Google fonts
https://kinsta.com/blog/best-google-fonts/
criamos uma instancia na amazon free tier.->https://aws.amazon.com/pt/ec2/
alternativas aws : godady, MS Azure, google
criamos um subdomínio e apanhamos para IP da AWS
Wordpress:
mysql -p -u root mysql> create database wordpress;
mysql> create user 'wordpress'@'%' identified by ‘Senha@123';
mysql> grant all on wordpress.* to ‘wordpress'@'%';
login wordpress cassio
senha admin: Pets@Concordia
Webview:
android:
https://tiagoaguiar.co/webview-android-tutorial
ios:
http://agenciadac.com.br/blog-ios/criando-um-web-view-no-iphone/
# script para iniciar parse-server, parse-dashboard e graphql
var fs = require('fs');
var http = require('http');
var https = require('https');
var express = require('express');
//var ParseServer = require('parse-server').ParseServer;
var ParseDashboard = require('parse-dashboard');
var app = express();
var port = 1337;
const { default: ParseServer, ParseGraphQLServer } = require('parse-server');
var options = {
key: fs.readFileSync('./key.pem', 'utf8'),
cert: fs.readFileSync('./server.crt', 'utf8'),
};
//databaseURI: 'mongodb://localhost:27017/test22',
const parseServer = new ParseServer({
databaseURI: 'postgres://postgres:apirest@localhost:5432/api',
appId: 'aulaparse',
masterKey: 'aulaparse',
serverURL: 'http://localhost:1337/parse',
publicServerURL: 'http://localhost:1337/parse'
});
;
var dashboard = new ParseDashboard({
"apps": [{
"serverURL": "https://aws.magnani.ind.br:1337/parse",
"graphQLServerURL": "https://aws.magnani.ind.br:1337/graphql",
"appId": "aulaparse",
"masterKey": "aulaparse",
"appName": "aulaparse"
}],
"users": [{
"user": "admin",
"pass": "aulaparse"
}]
});
const parseGraphQLServer = new ParseGraphQLServer(
parseServer,
{
graphQLPath: '/graphql',
playgroundPath: '/playground'
}
);
//app.use('/parse', parse);
app.use('/parse', parseServer.app);
app.use('/dashboard', dashboard);
parseGraphQLServer.applyGraphQL(app); // Mounts the GraphQL API
parseGraphQLServer.applyPlayground(app); // (Optional) Mounts the GraphQL Playground - do NOT use in Production
var server = https.createServer(options, app).listen(port, function() {
console.log("server listening on port " + port);
});
#fim script para iniciar
igor, Lucas, Teilor, Tiago B -> CSS Grid:
Sass/Scss: emanuel, daniel, thiago, leonardo, gabriel - SCSS
Axel, Jonathan, Gabriel Turati, Filipe - FlexBox
https://docs.parseplatform.org/graphql/guide/
sudo add-apt-repository ppa:ondrej/php
apt update
apt-cache search php |grep server
apt install apache2 php7.4 mysql-server
/etc/init.d/apache2 start
cd /var/www/
wget https://download.moodle.org/download.php/direct/stable38/moodle-latest-38.tgz
tar xzvf moodle-latest-38.tgz
chown www-data.www-data moodle -R
mkdir moodledata
chown www-data.www-data moodledata/ -R
cd www/html/
cd moodle/
apt install php7.4-curl
apt install php7.4-zip
apt install php7.4-mysql
apt install php7.4-xml
apt install php7.4-gd
apt install php7.4-intl
/etc/init.d/apache2 restart
mysql -p root
mysql -p
create database moodle;
create user moodle@localhost identified by 'Senha@123';
grant all on moodle.* to moodle@localhost;
/etc/init.d/apache2 restart
https://magento.com/compare-open-source-and-magento-commerce
https://www.opencart.com/
https://br.wordpress.org/plugins/woocommerce/
UPDATE mdl_user SET password=MD5('senhaadmin') WHERE username='admin';