Next.js, blitz, react and zod with final form.
npm i
# setup dev environment
blitz dev
# build app
Production will be done on the develop
branch, and merged into the main
branch
Husky will take care of database updates on commit
blitz build
will run on push to main
branch
Branches are created from develop
And PR's are merged back into develop
A full build is done once it's merged into main
Login using this account with username tester https://localhost:3000/auth/login
[email protected] welcome123
Profile Page https://localhost:3000/tester
Dashboard Page https://localhost:3000/dashboard
Signup https://localhost:3000/auth/signup
// TODO: subscription
// TODO: add stripe subscriptions // https://stripe.com/docs/billing/subscriptions/coupons
// https://www.mohammadfaisal.dev/blog/how-to-create-a-stripe-subscription-with-reactjs-and-nodejs // https://stripe.com/docs/billing/subscriptions/build-subscriptions?ui=checkout
// PHASE I // 1. Subscription Page // https://github.com/stripe-samples/checkout-single-subscription
// PHASE II // 1. // TODO: coupon code // 2. easy to change subscription, with a modal showing pricing tables component //
// Followed at first // https://www.mohammadfaisal.dev/blog/how-to-create-a-stripe-subscription-with-reactjs-and-nodejs
Linked to sub page
redux-persist failed to create sync storage. falling back to noop storage. problem with action { type: '@@redux/INITr.o.o.s.s' }
Also store state in local storage
// TODO: endAdornment with if else condtional instead of state
Keep in mind, the state variables are built. I just need the upgrade, and some modifications to the files.
Also, cleanup to stop the state from running a bunch of times
Fix Sidepanel State https://github.com/ameshkin/subgrow/blob/b535280ad63dc7c530b80bb0cafc3935da903fb8/src/components/template/SidePanel/ProfileDesignPanel.js
dash, login, sign up forms, middle of screen
# https://blitzjs.com/docs/deploy-heroku
heroku logs --app=subgrow --tail
# find port and kill
lsof -i :3000
kill -9 <PID>
# run typescript linter
npx tsc
# https://www.npmjs.com/package/fb-react-sdk
# most recent node
nvm install 18
nvm use 18
nvm alias default
ANALYZE=true npm run build
heroku config:set SESSION_SECRET_KEY=
SET FOREIGN_KEY_CHECKS=0; -- turn off foreign key checks
TRUNCATE TABLE User; -- truncate tables
TRUNCATE TABLE Session;
TRUNCATE TABLE Site;
TRUNCATE TABLE Profile;
SET FOREIGN_KEY_CHECKS=1; -- turn on foreign key checks
// TOdo: bug with session and Session table. needs to delete if user is deleted, or user logs out
// TODO: dashboard page, when facebook link, icon appears
Finish the widget
Update lists
Hello there. I need some help with a blitz/next js website. Mostly minor UI things that have to do with material UI and connecting it to the database.
Such as drag drop.
Most of the work is done. I just need someone to finish the mutations.
I will point you directly to the code, and it should be very easy.
Store remember me in local storage
removed babel, may not be needed https://blog.bitsrc.io/why-you-should-replace-babel-with-swc-in-next-js-7d47510d0e0d
"presets": ["next/babel"],
"plugins": ["preval", "macros"]
}
- FB Login
https://subgrow.herokuapp.com/auth/login You are overriding current access token, that means some other app is expecting different access token and you will probably break things. Please consider passing access_token directly to API parameters instead of overriding the global settings.
- Google Analytics
- Support
- Mailchimp Integration
- Customizable Templates
- Custom Backgrounds
- Custom Fonts/Buttons
- Twitter feed, fb, api services
- hide logo, buttons
- NFT Features = $10 Validation fee, user sends ETH from wallet to verify ownership
- Google Analytics, and some custom charts, etc
- Click Tracking, conversions
- 2FA
- Special Dashboard that lists all profiles, easy access, followers, basic info