Skip to content

ywang305/nextjs-education

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

About

This is a tech-probe project, targeting at full-stack development

Getting Started

First, run the development server:

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 pages/index.js. 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!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

Mongo-Atlas

`mongodb+srv://${process.env.DB_USER}:${process.env.DB_PASS}@cluster0-1iam7.mongodb.net/${process.env.DB_NAME}?retryWrites=true&w=majority`

Azure Function + SignalR based message pushing

  • create SignalR service,
    • connection-string is gona be used by serverless Function
    • signalR connection_string
  • Add SignalR's Connection String in Funciotn's Config Setting
    • Add const
    • add connection string to signalR
  • Add Function "negotiate"( must be this name! )
    • binding input from SignalR, with Hubs and ConnString
    • negotiate function
  • Add Funtion "message"
    • binding output to SignalR, with coresponding Hubs and ConnString
    • add broadcast code
    • function code: message binding to SignalR output
    • function message , add signalr output
  • Allow Azure Function to CORS from Vercel
    • add cors for function

Releases

No releases published

Packages

No packages published