Skip to content

Latest commit

 

History

History
47 lines (35 loc) · 989 Bytes

README.md

File metadata and controls

47 lines (35 loc) · 989 Bytes

Sermo

A chat application built with NextJS, Firebase, and Pusher. Click here to view the live demo.

Getting Started

  1. Create a .env file in the root of the project and add the following:
API_URL=                            # The URL of your configured firebase functions
NEXT_PUBLIC_PUSHER_KEY=             # Your Pusher key
NEXT_PUBLIC_PUSHER_CLUSTER=         # Your Pusher cluster
  1. Create another .env file in the functions directory and add the following:
PUSHER_APP_ID=                      # Your Pusher app ID
PUSHER_KEY=                         # Your Pusher key
PUSHER_SECRET=                      # Your Pusher secret
PUSHER_CLUSTER=                     # Your Pusher cluster
  1. Install the dependencies:
yarn
# or
npm install
  1. Run the Firebase functions:
cd functions
yarn serve
# or
npm run serve
  1. Run the development server:
yarn dev
# or
npm run dev