A Note Sending App Created with PocketBase & NextJS
- Go to Google API Authentication Dashboard.
- Click
Create Credentials
. - Choose
Oauth Client ID
from the Dropdown. - Set the Application Type to
Web application
. - In the Authorized JavaScript Origins, add
http://localhost:3000
. - 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
- Click Create
- 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
Note Create Notification | @mantine/notifications
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.
To setup the database, follow these instructions.
- Download Pocketbase for your operating system.
- Drag and drop it into the project directory
- Run
pocketbase serve
to start the database, the default port is:8090
I wanted to create a small project with Pocketbase and Mantine UI