/fastify-example

Example tiny server with a static folder and a JSON endpoint

Primary LanguageHTML

Fastify example

Example tiny server with a static folder and a JSON endpoint

Example fruit

Cypress course

This example application is used for the online course Cypress Network Testing Exercises

Install and use

Please use Node version specified in the .nvmrc file in this repository. If you use NVM, you can simply execute nvm use in the current folder before installing and running the server.

$ npm install
$ npm start

Open the localhost:4200

CORS

There is a separate small server for testing browser CORS

$ npm run start:cors
# check localhost:6006

Small print

Author: Gleb Bahmutov <gleb.bahmutov@gmail.com> © 2022

License: MIT - do anything with the code, but don't blame me if it does not work.

Support: if you find any problems with this module, email / tweet / open issue on Github