This is the backend API of my Portfolio.
- Express.js
- Node.js
- Knex
- PostgreSQL
Install nodeJS dependencies
npm i
Create and select the portfolio database in a separate psql terminal
CREATE DATABASE portfolio;
\c portfolio;
Create database tables with knex migrations
npm run migrate
Seed the tables with data
npm run seed
Run Express App in development mode
npm run dev
Or to Start Express App
npm start