Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cypress Tutorial

This tutorial was written for a Women Who Code Sydney workshop on Cypress

Installation

  • Node
  • Yarn
  • NPX

Running

Install dependencies

yarn install

or

npm install

Run the app

This will run the app and create the database

npm start
node index.js

Run DB Migrations

To run (all):

npx sequelize db:seed:all --debug

To undo (all):

npx sequelize db:seed:undo:all --debug

Example API request

curl http://localhost:3000/api/authors
curl http://localhost:3000/api/books

Example view

curl http://localhost:3000/

To view all books

curl http://localhost:3000/books

About

Tutorial on Cypress

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages