Skip to content

Commit

Permalink
Merge 9d865fe into c512b69
Browse files Browse the repository at this point in the history
  • Loading branch information
JustalK committed Nov 11, 2020
2 parents c512b69 + 9d865fe commit 2209314
Show file tree
Hide file tree
Showing 102 changed files with 1,779 additions and 465 deletions.
10 changes: 10 additions & 0 deletions config/base.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const HtmlWebpackPlugin = require('html-webpack-plugin');
const ESLintPlugin = require('eslint-webpack-plugin');
const StyleLintPlugin = require('stylelint-webpack-plugin');
const CopyPlugin = require('copy-webpack-plugin');
const webpack = require('webpack');
require('dotenv').config({ path: './env/.env.development' });

module.exports = {
entry: {
Expand Down Expand Up @@ -46,6 +48,14 @@ module.exports = {
{ from: 'src/assets/fonts', to: 'assets/fonts' },
],
}),
new webpack.DefinePlugin({
PRODUCTION: JSON.stringify(true),
VERSION: JSON.stringify('5fa3b9'),
BROWSER_SUPPORTS_HTML5: true,
TWO: '1+1',
'typeof window': JSON.stringify('object'),
'process.env': JSON.stringify(process.env),
})
],
module: {
rules: [
Expand Down
Binary file modified design/intro.xcf
Binary file not shown.
329 changes: 276 additions & 53 deletions dev/index.js

Large diffs are not rendered by default.

Binary file added documentation/imgs/project/mq_home.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added documentation/imgs/project/mq_portfolio.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion env/.env.dev → env/.env.development
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
NODE_ENV=production
NODE_ENV=development

API_NAME=JUSTALK-SERVER
HOST=localhost
PORT=8080
PROTOCOL=http

DB_NAME=justalk
DB_URI_DATA=mongodb://localhost:27017/
Expand Down
1 change: 1 addition & 0 deletions env/.env.production
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ NODE_ENV=production
API_NAME=JUSTALK-SERVER
HOST=localhost
PORT=8080
BASE_URL=http://localhost:8080/

DB_NAME=justalk
DB_URI_DATA=mongodb://localhost:27017/
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"build": "webpack --mode production --config config/prod.config.js",
"watch": "nodemon --watch \"src/\" -x \"npm run dev\"",
"watch-server": "nodemon --exec 'npm run server'",
"server": "node -e 'require(\"./server/index\").start()'",
"start": "node -e 'require(\"./server/index\").start()'",
"test": "nyc --reporter=html --reporter=text ava tests/**/*.js ava tests/**/**/*.js --verbose --timeout=1m",
"coverage": "nyc report --reporter=text-lcov | coveralls"
},
Expand Down
114 changes: 84 additions & 30 deletions seeding/datas/articles/articles.js

Large diffs are not rendered by default.

21 changes: 21 additions & 0 deletions seeding/datas/images/atlantic_grains.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00001"),
name: "Atlantic Grains Background",
path: "./assets/imgs/atlantic-grains/background.jpg"
},
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002"),
name: "Atlantic Grains Slide 01",
path: "./assets/imgs/atlantic-grains/slide_01.jpg"
},
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003"),
name: "Atlantic Grains Slide 02",
path: "./assets/imgs/atlantic-grains/slide_02.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/bounty_ai.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caab00001"),
name: "Bounty Background",
path: "./assets/imgs/bounty/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/citiglobal_nudge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caac00001"),
name: "Citiglobal Background",
path: "./assets/imgs/citiglobal/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/covid19ph_api.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caad00001"),
name: "COVID 2019 Philippines API Background",
path: "./assets/imgs/covid19ph-api/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/david_paysages.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caae00001"),
name: "David Paysage Background",
path: "./assets/imgs/david-paysage/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/emd_pro.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e81aaf00001"),
name: "EMD PRO Background",
path: "./assets/imgs/emd/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/finistere_assurance.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caafa0001"),
name: "Finistere assurance Background",
path: "./assets/imgs/finistere-assurance/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/foire_aux_vins.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa10001"),
name: "Foire aux vins Background",
path: "./assets/imgs/foire-au-vin/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/gouter_magiques.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa30001"),
name: "Gouter Magiques Background",
path: "./assets/imgs/gouter-magique/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/hapee.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa40001"),
name: "Hapee Background",
path: "./assets/imgs/happee/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/id_newsletter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa50001"),
name: "ID Newsletter Background",
path: "./assets/imgs/id-newsletter/background.jpg"
}
]
File renamed without changes.
11 changes: 11 additions & 0 deletions seeding/datas/images/labonapp.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa60001"),
name: "Labonapp Background",
path: "./assets/imgs/labonapp/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/maison_lucas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa70001"),
name: "Maison Lucas Background",
path: "./assets/imgs/maison-lucas/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/portfolio.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa80001"),
name: "Portfolio Justal Kevin Background",
path: "./assets/imgs/portfolio/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/predictive_insight.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8caa123001"),
name: "Rumarocket Predictive Insights Background",
path: "./assets/imgs/rumarocket/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/promarine.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8c0a900001"),
name: "Pro Marine Background",
path: "./assets/imgs/promarine/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/sails_concept.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8c1a900001"),
name: "Sails Concepts Background",
path: "./assets/imgs/sails-concept/background.jpg"
}
]
11 changes: 11 additions & 0 deletions seeding/datas/images/saona_villas.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f9d88d3faed1e8c2a900001"),
name: "Saona Villas Background",
path: "./assets/imgs/saona-villas/background.jpg"
}
]
20 changes: 20 additions & 0 deletions seeding/datas/slides/atlantic_grains.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa1001"),
title: "Presentation",
first_text: "This project is an application made for the atlantic-grains company. A product supplier company with many warehouses that deliver all accross the Philippines. With an experience of more than 10 years, they have really optimized processes but most of them was made in paper. A team will then digital those papers and archive everything. They wanted an application for managing easily every parts of their processes more efficiently.",
second_text: "The goal was to create an application for managing the deliveries, the products, the sales, the employees and giving report to the differents level of manager and CEO. There are a lot of roles like the drivers, the repairmans, the logistic admins, the logistic warehouses, the guards, the ceo... They all have their own functionnalities and interact with the other roles.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002")
},
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa1002"),
title: "Work",
first_text: "My main work for this project was to create the whole REST API, setting the server and the different connection between the different databases. And also helping the frontend as much as possible when I am in advance. This project use Javascript mainly but needed good knowledge on C#. For the frontend, we build everything with React.js and for the backend, I use Restify and MongoDB with Nodejs.",
second_text: "The biggest problem encountered was the countless changes of the requierements. Even if I was following the AGILE method, I needed to refactor parts of the app every weeks. The second big problem was the fact that some necessary documents for building the app was not there. I had to create a second API for communicating with their current app written in C#.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003")
}
]
20 changes: 20 additions & 0 deletions seeding/datas/slides/bounty_ai.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa4001"),
title: "Presentation",
first_text: "This project is an application made for multiple company like Chooks To Go, Baliwag and Andoks. All of those concurrent companies are food seller of chicken product. All of them are developing really fast and opening many shops accross the Philippines. We proposed to them to utilize AI for predicting where is the best location for their futur shops.",
second_text: "The goal was to create a web application who show the google map, give the user a way to put a proposition of a futur shop on the map and returning him a rank for this shop location based on data from different sources like the frequenting, the parking around, the population in this area, the mall projects incomming...",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002")
},
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa4002"),
title: "Work",
first_text: "I was the leading developer for this project. I have both hand on the frontend and backend with 2 other developer on my team. On the backend, I use my favorite tool Node.js, Express and MongoDB. And for the frontend, React was the choice. For the server side, t3 instance from aws, nginx and PM2.",
second_text: "The biggest problem encountered for this project was the big data that crashed the project many times. The algorithms and the millioms of data to parse was a real struggle. The code needed to be really optimized and the calculations needed to be split into clusters.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003")
}
]
20 changes: 20 additions & 0 deletions seeding/datas/slides/citiglobal_nudge.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa3001"),
title: "Presentation",
first_text: "This project is an application made for CitiGlobal Realty and Development. A real estate company with many beautiful properties in the Philippines. They wanted an application for sending emails to their employees, managers, executives under certain conditions that we called nudges.",
second_text: "The goal was to create something similar with a newsletter but with calculations, differents templates depending of who to send to, dynamic creations of list depending of who fill a report. Everything has to be connected to their existing systems like Typeform, Mailgun, Mailchimp and Rumarocket Software.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002")
},
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa3002"),
title: "Work",
first_text: "I was alone on this project for creating the entire backend and setting up the server. I made everything with Nodejs and restify. I also needed to connect to many API like Typeform API for getting the forms, Googlesheet API for getting some of their datas, Mailchimp API for getting the templates.",
second_text: "I faced two major problems on this project. First, the API of Mailchimp, I discovered a bug and report it to them. But I still smash my face to the wall trying to understand. Secondly, the calculations was quite enormous, so I often run out of memory on my server. I needed to optimize heavily my application.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003")
}
]
20 changes: 20 additions & 0 deletions seeding/datas/slides/hapee.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa6001"),
title: "Presentation",
first_text: "This project is a website made for Evasia. It's a big company selling motor-home in Europe. With a boost in the sales in the previous years, they wanted to diversify and come to my company with an idea. They wanted an application for making people test camping-car and maybe sell even more.",
second_text: "After some long exchange, the final goal was to make an app for renting camping-car from particular. It involves paiement, reservations, browsing between a list of available camping-car with many different filter and a blog for the manager of the website.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002")
},
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa6002"),
title: "Work",
first_text: "I was completely alone for this project. I discussed directly with the client, created the documentations and the features requierements, made my own gantts. The timeline was short. I use PHP for the backend and frontend and created everything from scratch. I did not use any CMS.",
second_text: "The hardest part of this project was the change made multiple times by the client and the really short deadline. Hopefully for me, I defined the project quite effectively at the beginning so I manage to deliver on time even with the change on the way.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003")
}
]
20 changes: 20 additions & 0 deletions seeding/datas/slides/id_newsletter.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
'use strict';

const mongoose = require('mongoose');

module.exports = [
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa7001"),
title: "Presentation",
first_text: "This project is a website made for my company ID-Interactive. Our company was managing a lot of newsletter for different clients and we wanted to automatize that. So we decided to create something similar to Mailchimp and customize it like we want.",
second_text: "The goal was to create a website where the client can connect to it, design their own newlestter, can test the website with a limit on the functionnalities, can create and program campaigns, can create list of people and receive logs about their campaigns.",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00002")
},
{
id: mongoose.Types.ObjectId("5f76018c9b16e910daaa7002"),
title: "Work",
first_text: "I was completely alone for this project. So I was in charge of the frontend and backend. I made the fronted with Angular and the backend was made with PHP. The project was fun since we were the owner of it, so anything was made for us only.",
second_text: "The biggest problem I run into was the blacklist of our sending server. That was the first time I learn about how bounce and how server IP are filtered between blacklist and whitelist. I needed to optimize the sending of email in a way to send the maximum of email without being blacklist. It was hard !",
image: mongoose.Types.ObjectId("5f9d88d3faed1e8caaa00003")
}
]
Loading

0 comments on commit 2209314

Please sign in to comment.