Skip to content

Reddit browser created using Vue.js, TypeScript and plain CSS. Based on reddit API JSON data and featuring composition API single-file components, Cypress E2E testing and Mocha unit testing.

Notifications You must be signed in to change notification settings

majid-L/reddit-VUEer

Repository files navigation

reddit-VUEer : a Vue.js & TypeScript project

                 

This is a Vite-powered project constructed using JSON data from the reddit API. The app allows users to browse, filter and paginate through threads. interact with multimedia content, search for specific threads and subreddits, view comments, search users' profiles and activity, and more.

You can visit the app using this link.

Browsing the various sections of the app.

Mobile view

Viewing the application on a mobile device.

Key product features

Running the project in your local environment

Recommended IDE Setup

VSCode + Volar (and disable Vetur) + TypeScript Vue Plugin (Volar).

Project Setup

After forking and cloning the repository:

npm install

Compile and hot-reload for development

npm run dev

Type-checking

npm run type-check

Run unit tests with Cypress

npm run test:unit

Run End-to-End Tests with Cypress

# start the development server
npm run dev

# option 1: run tests in browser
npm run test:e2e:dev

# option 2: run tests in headless mode
npx cypress run --headless --browser chrome

For option 1, once the Cypress app is launched, you will need to click on the UserJourneys.cy.ts E2E spec to run the test suite.

About

Reddit browser created using Vue.js, TypeScript and plain CSS. Based on reddit API JSON data and featuring composition API single-file components, Cypress E2E testing and Mocha unit testing.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published