BirdBoard
Simple example Twitter client to demonstrate some core Cypress concepts as seen within the
- The frontend is implement with Vue, Vuex, Vue Router, and Vuetify.
- The backend provides an API via an Express server, and data is stored within MongoDB instance.
Project setup
-
Install a local instance of MongoDB. Check the installation docs for your operating system.
If you're using macOS you can quickly have a MongoDB instance via the MongoDB.app
-
(Optional) If you actually want to load real tweets from Twitter, you'll need to grab a Twitter API keys, and place them within
/src/server/twitter.js
file.const twitter = new TwitterAPI({ consumer_key: '', consumer_secret: '', access_token_key: '', access_token_secret: '' })
-
Install dependencies:
npm install
Compiles and hot-reloads for development
npm run serve
Compiles and minifies for production
npm run build
Open Cypress desktop app
npx cypress open
Headlessly run Cypress tests
npx cypress run
Lints and fixes files
npm run lint