This repository contains starter code for the Back-End Deployment module. It demonstrates how to deploy a back-end server using databases and migrations.
- Server setup with database connection
- Knex migrations and seed files for database management
- Clone this repository:
git clone https://github.com/Thinkful-Ed/starter-backend-deployment-render.git
- Copy the environment variables:
cp .env.sample .env
- Update the
.env
file with your database connection URL. - Install dependencies:
npm install
- Run the migrations:
npx knex migrate:latest
- Seed the database:
npx knex seed:run
- Node.js: JavaScript runtime for building server-side applications.
- Express: Web framework for managing server routes.
- Knex.js: SQL query builder for managing database interactions.