An example application built with Ruby on Rails, React, and Relay.
Backend Application: https://github.com/DennisMartinez/social-media-api
You can view the demo at https://social-media.dennismartinez.io/. The sign in credentials are below.
email: [email protected]
password: adminNote: The demo database resets every hour.
- Node.js — https://nodejs.org/en
- Recommended: NVM — https://github.com/nvm-sh/nvm
- Watchman — https://facebook.github.io/watchman/docs/install.html
Before proceeding, it's recommended to set up and start the backend first. See setup instructions here: https://github.com/DennisMartinez/social-media-api
After installing Node.js and Watchman, start the development server:
yarn devThis command will:
- Install Yarn dependencies
- Fetch the latest schema (if the backend is running)
- Start Watchman and the Yarn dev server
The app will be available at:
http://localhost:5173This app uses Vitest with Playwright. You can run the tests with the following command.
yarn testIf you have trouble running the tests, try installing Playwright with the following commands.
yarn playwright install-deps
yarn playwright install