No, don't worry, I didn't just give up. I had to choose between piano and drawing. At first, I chose drawing, but after exploring it I was drawn by the piano way more.
Well, this is a Next.js app you can find at desenez.eu. I use it to post my drawings.
- Clone the repo
- Run
npm install
- Set
COOKIE_PASSWORD
,ADMIN_TOKEN
in your environment variables. Please set them to something really hard to guess. - Set
MONGODB_URI
for your MongoDB database. I recommend using MongoDB Atlas. - Set
NEXT_PUBLIC_RECAPTCHA_SITE_KEY
andRECAPTCHA_SECRET_KEY
for your reCAPTCHA keys. You can get them here. I use reCAPTCHA to prevent spam on login and comments. - Set
NEXT_PUBLIC_GOOGLE_ANALYTICS
for your Google Analytics key. You can get it here. - Run
npm run dev
- Open http://localhost:3000
- Enjoy!
I recommend using Vercel to deploy this app. It's free and it's easy to set up.