Skip to content

claritee/cypress_tutorial

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published