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.
- Run
npm install
- Initialize
.env
with variables matching those found in.env.example
. Specify aDATABASE_URL
to use during development or deployment. - Run
npx prisma migrate deploy
to setup the schema and perform subsequent schema migrations.
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.
Run ./deploy.sh
as an authenticated user.
npx prisma migrate deploy
- To setup the schema and perform subsequent schema migrations.
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.
Jason Wang Software Engineer • Los Angeles, CA
Ethan Weiner Software Engineer • Boston, MA
Ryan DeJonghe Software Engineer • Denver, CO