Skip to content

A Note Sending App Created with PocketBase & NextJS with Authentication

Notifications You must be signed in to change notification settings

WillKirkmanM/note-sender-app

Repository files navigation

note-sender-app

A Note Sending App Created with PocketBase & NextJS

Authentication

Next Auth Authentication Example

Setting Up Credentials

  1. Go to Google API Authentication Dashboard.
  2. Click Create Credentials.
  3. Choose Oauth Client ID from the Dropdown.
  4. Set the Application Type to Web application.
  5. In the Authorized JavaScript Origins, add http://localhost:3000.
  6. In the Authorized Redirect URLs section, it must be one of these fields outlined here:

For production: https://{YOUR_DOMAIN}/api/auth/callback/google

For development: http://localhost:3000/api/auth/callback/google

  1. Click Create
  2. Copy the Client ID & Client Secret and put it in your .env file

GOOGLE_AUTH_CLIENT_ID=YOUR_CLIENT_ID

GOOGLE_AUTH_CLIENT_SECRET=YOUR_CLIENT_SECRET

Showcase

Main Page After Logging In

Main Page After logging In

Create Note Modal Window

Create Note Modal Window

Note Create Notification | @mantine/notifications

Note Create Notification

List of Notes

Collection of Notes Window

Dynamic IDs for Notes

Dynamic IDs For Each Note

User Interface

I have used MantineUI, a component library to style the UI in the application. I am enjoying using it due to it's simplicity and ease of use.

Database

To setup the database, follow these instructions.

  1. Download Pocketbase for your operating system.
  2. Drag and drop it into the project directory
  3. Run pocketbase serve to start the database, the default port is :8090

Why?

I wanted to create a small project with Pocketbase and Mantine UI

About

A Note Sending App Created with PocketBase & NextJS with Authentication

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published