GithubHelp home page GithubHelp logo

raumildhandhukia / nextnotes Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 962 KB

Shared Notes App using Next.js, Auth.js, Prisma, MongoDB, TailwindCSS, shadcn

Home Page: https://nextnotes-omega.vercel.app

License: Apache License 2.0

JavaScript 0.16% CSS 1.25% TypeScript 95.98% SCSS 2.62%

nextnotes's Introduction

🗒 ️next-notes

A collaborative web app where users can share and make notes in real-time.

🗒️ next-notes is a collaborative web application for note-taking, powered by Next.js and TipTap.

next-notes-final-gif

next-notes-updated

Features

  • Collaborative Cursor: Real-time user cursor representing each transaction.
  • Collaborative Note Writing: Real-time collaboration capabilities for note-taking.
  • Realtime Data Storage: Instantaneous data updates and synchronization.
  • OAuth Integration: Seamless authentication through Google or GitHub.
  • Modern, User-Friendly UI: Intuitive and aesthetically pleasing user interface design.
  • Light/Dark Mode.

Tech

🗒️ next-notes uses a number of open source projects to work properly:

  • Next.js: React framework for server-side rendering.
  • TypeScript: Typed JavaScript for safer code.
  • Auth.js: Authentication library for web applications.
  • Y.js: Shared data types for building collaborative software.
  • WebSocket: Realtime data-transfer using TipTap Cloud.
  • TipTap: Suite of open source content editing and real-time collaboration .
  • MongoDB: NoSQL database for scalable storage.
  • Prisma: ORM for database management.
  • TailwindCSS: Utility-first CSS framework.
  • shadcn: Styled component library for React.

Installation

🗒 ️next-notes requires Next.js (https://nextjs.org/) v14 to run.

Install the dependencies and devDependencies and start the server.

Environment Variables

1) .env.local

I am using TipTap Cloud as my Websocket Backend as Vercel does not support WebSocket Servers. You can create your own WebSocket server and manage the documents and their connections manually.

If not using TipTap Cloud Server, remove last two env veriables (NEXT_PUBLIC_APP_ID and NEXT_PUBLIC_JWT)

GOOGLE_CLIENT_ID=
GOOGLE_CLIENT_SECRET=
GITHUB_CLIENT_ID=
GITHUB_CLIENT_SECRET=
NEXTAUTH_SECRET=
SENDER_GMAIL=
SENDER_GMAIL_APP_PASSWORD=
NEXT_PUBLIC_APP_URL=
NEXT_PUBLIC_APP_ID=
NEXT_PUBLIC_JWT=

2) .env

DATABASE_URL=

For testing production builds in local environments, (if Next gives error)

NEXT_AUTH_HOST=

For development environments

npm install
npm run dev

For production environments...

npm run build
npm run start

nextnotes's People

Contributors

raumildhandhukia avatar

Stargazers

Jetsoms Ltd avatar Cameron King avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.