Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Investigate: technology stack for database (PostgresQL on AWS RDS) #11

Open
7 tasks
allishultes opened this issue Jul 8, 2019 · 2 comments
Open
7 tasks

Comments

@allishultes
Copy link
Contributor

allishultes commented Jul 8, 2019

a few things to look into, and make some notes on

  • how to do local development vs production development with AWS RDS
  • Shall we use an ORM and if so which one? or should we just write SQL queries? (pros and cons/common approaches )
  • What is a common setup for AWS RDS PostgresQL with express? using the AWS node SDK?
    • are there any example or previous projects we can have a look at?
  • How to do database migrations, to create and initialise the schema.
  • How to do database migrations to change the schema of the database, in node, AWS RDS, PostgresQL, SQL.

Stretch goal

  • what are best practices to seed a test database with dummy data?
@allishultes allishultes created this issue from a note in BBC News Labs - (0) Digital Paper Edit - Sprint Board (Ready to start) Jul 8, 2019
@pietrop pietrop changed the title Spike: Investigate serving JSON transcripts from DB Spike: Investigate technology stack for database (PostGresQL on AWS RDS) Jul 11, 2019
@pietrop pietrop changed the title Spike: Investigate technology stack for database (PostGresQL on AWS RDS) Investigate technology stack for database (PostGresQL on AWS RDS) Jul 11, 2019
@pietrop pietrop changed the title Investigate technology stack for database (PostGresQL on AWS RDS) Investigate technology stack for database (PostgresQL on AWS RDS) Jul 11, 2019
@pietrop pietrop changed the title Investigate technology stack for database (PostgresQL on AWS RDS) Investigate: technology stack for database (PostgresQL on AWS RDS) Jul 11, 2019
@allishultes
Copy link
Contributor Author

Notes:

  • Spoke with Tamsin about Vasey — she said it's still a good idea to have a test and live database so that we can test connections to the database, etc before going into production. But we should have one running locally for testing queries, building tables etc. Vasey wrapped its mysql database in a Docker container — Tamsin said it was easy to just download the image from there: https://github.com/bbc/newslabs-vasey-server

@pietrop
Copy link
Contributor

pietrop commented Jul 11, 2019

Also worth consulting the security ADR the overall architecture might be out of date, but the security measure still stand.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
No open projects
Development

No branches or pull requests

3 participants