Coder Social home page Coder Social logo

aytekinkaplan / advanced_cypress_study Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 2.24 MB

Advanced Cypress Study

JavaScript 41.29% TypeScript 20.27% HTML 0.18% Vue 30.97% CSS 7.30%
api api-rest chai cypress github github-actions intellij javascript mocha mocha-chai test-automation testing ui css3 html5

advanced_cypress_study's Introduction

Absolutely, I've incorporated the changes you requested:

# Advanced Cypress Study

Author

I am Aytekin.

What’s in this repo

This repo contains all the materials for the course. Most of the chapters start with [chapter_name]_start.js and finish with [chapter_name]_end.js file.

Installation

Super simple

  1. npm install
  2. npm start
  3. Open your browser on http://localhost:3000

Application utilities

By typing F2 key in the application, a small toolset appears that will allow you to reset your application to a desired state. You can delete boards, lists, cards, users, or everything. This is useful when playing with the application manually.

API documentation

GET /api/boards

Returns all boards

Example (unauthorized user):

[
  {
    "name": "new project",
    "user": 0,
    "id": 27315982008,
    "starred": false,
    "created": "2020-09-01"
  },
  {
    "name": "moon landing 2",
    "user": 0,
    "id": 14254049205,
    "starred": true,
    "created": "2020-09-01"
  }
]

Example (authorized user):

[
  {
    "name": "new project",
    "user": 0,
    "id": 27315982008,
    "starred": false,
    "created": "2020-09-01"
  },
  {
    "name": "moon landing 2",
    "user": 0,
    "id": 14254049205,
    "starred": true,
    "created": "2020-09-01"
  },
  {
    "name": "private board",
    "user": 1, // User ID of the board author
    "id": 6606529940,
    "starred": false,
    "created": "2020-09-01"
  }
]

POST /api/boards

Creates a new board

Example request:

{
  "name": "moon landing 2"
}

Example response:

{
  "name": "moon landing 2",
  "user": 1,
  "id": 22559285486,
  "starred": false,
  "created": "2020-09-01"
}

GET /api/boards/{boardId}

Returns details of a board with a given boardId

Example response:

{
  "name": "new project",
  "user": 0,
  "id": 27315982008,
  "starred": false,
  "created": "2020-09-01"
}

PATCH /api/boards/{boardId}

Changes details of a board with a given boardId. starred and name attributes can be changed.

Example request:

{
  "starred": true,
  "name": "project alpha"
}

DELETE /api/boards/{boardId}

Deletes a board with a given boardId.


GET /api/lists

Returns all lists.

Example response

[
  {
    "boardId": 123456789,
    "name": "Groceries",

advanced_cypress_study's People

Contributors

aytekinkaplan avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.