Skip to content

seamless-cicd/seamless-backend

Repository files navigation

logo name

Overview

Seamless automates the deployment process from push to Prod

Seamless's backend is comprised of an Express server connected to a Postgres database through the Prisma ORM. It utilizes the Amazon Web Service's Software Development Kit (SDK) to communicate with select parts of Seamless' infrastructure, including the Step Functions.

Developer Usage

  1. Run npm install
  2. Initialize .env with variables matching those found in .env.example. Specify a DATABASE_URL to use during development or deployment.
  3. Run npx prisma migrate deploy to setup the schema and perform subsequent schema migrations.

Deploying the Application

Create an ECR repository on AWS with the name seamless-backend. Click "View push commands" and follow the instructions to build and push the image to ECR. In order to deploy Seamless's infrastructure using this image for the backend. The service should automatically connect to the RDS instance created with the CDK.

Deployment Commands

Run ./deploy.sh as an authenticated user.

Database

Commands to Deploy the Database

npx prisma migrate deploy
  • To setup the schema and perform subsequent schema migrations.

Commands to Seed the Database

prisma db seed
  • To manually seed prisma.
prisma migrate dev
primsa migrate reset
  • Both of these commands automatically seed the database.
  • To skip seeding, pass the --skip-seed flag.

The Team

Jason Wang Software Engineer • Los Angeles, CA

Ethan Weiner Software Engineer • Boston, MA

Ryan DeJonghe Software Engineer • Denver, CO

About

Seamless' backend built with Express, Prisma, and the AWS SDK.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •