Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sankhadip-roy/mind-palace
application for storing notes
https://github.com/sankhadip-roy/mind-palace
framer-motion mongodb nextjs14 shadcn-ui v0dev
Last synced: 2 months ago
JSON representation
application for storing notes
- Host: GitHub
- URL: https://github.com/sankhadip-roy/mind-palace
- Owner: sankhadip-roy
- Created: 2024-09-07T15:15:43.000Z (5 months ago)
- Default Branch: main
- Last Pushed: 2024-10-11T01:48:04.000Z (4 months ago)
- Last Synced: 2024-12-06T14:49:42.054Z (2 months ago)
- Topics: framer-motion, mongodb, nextjs14, shadcn-ui, v0dev
- Language: TypeScript
- Homepage: https://mind-palace.sankhadiproy.me
- Size: 576 KB
- Stars: 7
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Application for storing notes
"mind-palace": This note-storing app serves as a database to store random thoughts, ideas, and information, ensuring nothing is forgotten and can be looked up in constant time. The name is inspired by Sherlock Holmes' mind palace technique.
**Interested in contributing to this repository, here Contributing 101**
> To run properly locally
> > comment out this section of the code from lib/authOptions.ts after forking or cloning
```
session: {
strategy: "jwt", // JWT is the default, but you can explicitly declare it
},
cookies: {
sessionToken: {
name: `__Secure-next-auth.session-token`,
options: {
httpOnly: true,
sameSite: "lax",
path: "/",
secure: true, // Set to true in production
},
},
},
```> > load .env file
```
# .env variablesGOOGLE_CLIENT_ID
GOOGLE_CLIENT_SECRET
NEXTAUTH_URL
NEXTAUTH_SECRET
MONGO_URI```
```
npm ci # install from package-lock.json
npm run dev -- --hostname 0.0.0.0 # to view the application ui in smaller screens over same network
ifconfig # get the ipv4
http://:3000 # view here in mobile, to enable login add this to google console's javascript origins & add http://:3000/api/auth/callback/google to authorized redirect URIs
```> > before commiting any changes uncomment the above commented section from lib/authOptions.ts