No description
  • JavaScript 82.5%
  • CSS 17.5%
Find a file
2024-06-05 21:02:20 +02:00
app Minor fixes 2024-06-05 21:01:52 +02:00
components Minor fixes 2024-06-05 21:01:52 +02:00
contexts first commit 2024-05-13 18:35:22 +02:00
public Minor fixes 2024-06-05 21:01:52 +02:00
tools Minor fixes 2024-06-05 21:01:52 +02:00
.gitignore Added README.md 2024-06-04 18:48:35 +02:00
package-lock.json Small fix 2024-05-31 19:51:37 +02:00
package.json Small fix 2024-05-31 19:51:37 +02:00
README.md Added README.md 2024-06-04 18:48:35 +02:00
server.js Minor fixes 2024-06-05 21:01:52 +02:00

chatSchool

  • A simple chat application using Next.js, Socket.io, and Auth0

  • QR code to the site hosted on https://heroku.com

QR Code

https://chat-school-4346e788f03e.herokuapp.com

Installation

  • Install all the neccessary dependencies
npm install
  • Create a .env file in the root directory and add the following environment variables
  • Dont forget to populate them with your own values
AUTH0_BASE_URL=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_ISSUER_BASE_URL=
AUTH0_M2M_TOKEN=
AUTH0_SECRET=
DB_DATABASE=
DB_HOST=
DB_PASSWORD=
DB_PORT=
DB_USER=
NEXT_ACCESS_TOKEN_CLIENT_ID=
NEXT_ACCESS_TOKEN_CLIENT_SECRET=
NEXT_ACCESS_TOKEN_GRANT_TYPE=
NEXT_PUBLIC_AUTH0_DOMAIN=

Usage

Development Server

npm run dev
  • Open http://localhost:3000 with your browser to see the result.

  • The page will reload if you make edits.

Production Server

  • Build the project
npm run build
  • Start the server
npm run start