logo

Forum App with Next.js and Nest.js

(Rest API, Passport, JWT, Websokets, Hook Form, React Query, Redux TK)

Documentation · Report Bugs · Request Feature


:notebook_with_decorative_cover: Table of Contents

:star2: About the Project

Authorization with confirmation by mail or phone with two tokens.Nodemailer and Twilio were used as the basis for sending messages.

Tiptap library was used to work with the message and post editor

To interact with the server side, axios was used together with the state manager React Query.

:camera: Screenshots

1
2
3
4

:space_invader: Tech Stack

Client
Server

:toolbox: Getting Started

:key: Environment Variables

To run this project, you will need to add the following environment variables to your .env file

DATABASE_URL = JWT_SECRET =

MAILER_HOST = MAILER_USER = MAILER_PASSWORD =

TWILIO_ACCOUNT_SID = TWILIO_AUTH_TOKEN = TWILIO_VERIFICATION_SERVICE_SID =

GOOGLE_CLIENT_ID = GOOGLE_SECRET =

SERVER_URL= WEBSOKET_URL=

:gear: Installation

Clone the project

git clone https://github.com/svyatoslavw/hackhub.git
cd hackhub

:running: Run Locally

Install dependencies

  npm install
  # or
  yarn dev

Getting Started

Start the server First, run the development server:

  cd back
  npm run start:dev
  # or
  yarn start:dev

After,start client server:

  cd front
  npm run dev
  # or
  yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.tsx. The page auto-updates as you edit the file.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.

Top categories

tailwind logo

Need a Tailwind website built?

Hire a professional TailwindCSS developer today.
Loading Svelte Themes