fac25 / week2-db-Sumithra-Joe-Paz-Abdullah

Data base project
https://london-attractions.herokuapp.com/
0 stars 0 forks source link

Week 2 Database

London Attractions Reviews

By: Sumithra, Joe, Abdullah, Paz

Our London attractions reviews application allows the user to review the most popular attractions

You can find our site hosted on Heroku

Setup

Make sure you have Git and Node (v18) installed.

  1. Clone this repo and cd into the directory
  2. Run npm install to install all the dependencies
  3. Run npm run dev to start the server.

This uses the nodemon library to auto-restart the server when you save changes.

Test

There is three tests:

First Feed the test db:

npm run seedTest

To run the tests:

npm run test

Users Stories

Acceptance Criteria

Schema

Our database contain three tables.

  1. Locations
  2. sqlite seqence
  3. posts

image image image

Snapshot

image