A community for record enthusiasts to review their favorite albums.
Part of the application has already been built for you. Your job is to take it to completion.
Run $ npm run
to see the list of commands available. To see what each command does, look at package.json
.
The app uses a basic Express file structure, and includes SQL files to set up the schema and import data.
albums.sql # seed album data
database.js # database connection and queries
package.json # npm standard
public/ # static assets go here
README.md # you are here
schema.sql # define database schema here
server.js # web server
views/ # html templates go here
Use the following commands to set up and seed your database:
- Create PostgreSQL database
vinyl
:$ npm run db:create
- Set up database tables from
schema.sql
:$ npm run db:schema
- Load seed data from
albums.sql
:$ npm run db:seed