Skip to content

Instantly share code, notes, and snippets.

View pedroduartecosta's full-sized avatar
🏠
Working from home

Pedro Costa pedroduartecosta

🏠
Working from home
View GitHub Profile
Group 4. General (4 pts)
Comment the following sentences, indicating if they are true or false, and justifying your answers (if helpful
include illustrative examples to help on justifying your answers):
4.a) [2pts] “The existence of left recursivity in CFG’s make impossible the implementation of them.”.
4.b) [2pts] “The only way to satisfy the precedence of operators in arithmetic and/or logic expressions is to
ensure that the concrete syntax tree respect those precedencies”.
a. Verdadeira

Keybase proof

I hereby claim:

  • I am pedro-c on github.
  • I am pedroc (https://keybase.io/pedroc) on keybase.
  • I have a public key ASBUhoL2ClxdSqPcGMX8a-Il0sjnVBN8pv5aIv7jZifDOgo

To claim this, I am signing this object:

Database

  • Use encryption for data identifying users and sensitive data like access tokens, email addresses or billing details.

  • If your database supports low cost encryption at rest (like AWS Aurora), then enable that to secure data on disk. Make sure all backups are stored encrypted as well.

  • Use minimal privilege for the database access user account. Don’t use the database root account.

  • Store and distribute secrets using a key store designed for the purpose. Don’t hard code in your applications.

Checklist

  • Implement user management.

  • Implement support for mobile devices.

  • Implement an information search system using the full-text search features of PostgreSQL.

  • Implementing online assistance (e.g. help online) in the product.

2.
1 2 3 4 5
TA,TB,TC,TD,TE
a.
1 tarefa -> 5min
i) 10 01 11 10 11
ii) 11 11 11 10 11
iii) 01 01 01 10 10

How to set up a NodeJS website with Authentication and Back office (and Blog)

In this tutorial we're going to build a NodeJS website with the following features:

  • User authentication
  • Back office
  • Blog (optional)

The first to parts of the tutorial are meant to quickly set you up and running. The third part is a more in depth explanation of some points I find important, so feel free to read them later as you need.

@pedroduartecosta
pedroduartecosta / bestpractices.md
Last active March 31, 2018 14:24
Project Development Best Practices
  • Implement CI/CD pipelines
    • Gitlab CI
      • Use Runners
    • Github
      • Use TravisCI or others
    • Necessary stages
      • Build Code
      • Run Tests
        • Code quality
  • Unit testing
# Sprint1
#### Start-date: 30/03/18
#### End-date: 06/04/18
# Development Team
- Duarte Brandão
- Pedro Costa
- ...

Workshop instructions

  • Go to dynamo db

    • Create dynamoDB table
      • Table Name: posts
      • Primary key: id
      • Click create
  • Go to S3

  • Create s3 bucket