- By Matthew Christopher Albert
- Built using JAMStack architecture hosted on Netlify
- Access Production Website 👉 seacf13.matthewcalbert.com
- Netlify Production Server kinda slow at processing lambda function.
- Please install Netlify CLI to develop.
- No Auto Refetch for getting data, please use refresh button/page.
- You cannot change account info and password once created.
- React Context only used for auth
- Lacking Form Validation on both front and back-end
- Not using SWR for data fetching
- Next.js v10 (React) project bootstrapped with
create-next-app. - SASS
- TailwindCSS 2
- Typescript
- Font Awesome 5
- React Table
- React Datetime Picker
- SweetAlert2
- Momentjs
- Typescript
- Netlify Functions (Node.js)
- Serverless mysql
- jsonwebtoken
- Deployed on ECS Instance AliCloud.
- Opened Remote SQL just for development purpose.
- Netlify Plugin NextJs if using SSR feature as Serverless Function on Netlify
- Deploy using Netlify GUI or using CLI
# don't forget to install all node_modules dependencies
# production
yarn run deploy
# draft deploy
yarn run deploy:devFirst, install the prerequisites:
yarn install
npm install -g netlify-cliThen, copy .env.example to .env.local, and fill with your own configuration, don't forget to apply to netlify variables using:
netlify env:import .env.localRun the development server (nextjs with functions):
yarn dev:netlifyOpen http://localhost:8888 with your browser to see final the result.
Or, only want to develop the function:
yarn run dev:lambdaOpen http://localhost:9000 with your browser to see lambda result.