GiftforGood
September 1, 2020 ยท View on GitHub
Giftforgood is your friendly neighborhood in-kind donations platform.
Setting up
Run npm install in the root directory to install all the relevant dependencies such as React, Next.js etc.
Available Scripts
In the project directory, you can run:
npm run dev
Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.
Hot reloading is available in this mode, i.e. the page will reload if you make edits.
You will also see any lint errors in the console.
npm run lint
Runs a series of checks on the code formatting according to the .prettierrc.json configuration file.
npm run format
Automatically formats the code according to the .prettierrc.json configuration file.
npm run dev-local
Runs the app in the development mode.
Open http://[ip-address]:3000 to view it in the browser.
Environment Variables
To use environment variables within the project:
mv .env.sample .env- Add environment variables inside
.env - Add environment variables inside
next.config.js
Services used
- Firebase
- Auth, Storage, Realtime DB, Firestore
- Algolia
- Search
- Cloudflare
- DDOS protection
- Cloudinary
- Assets
- SendGrid
- Emailing
- 1Password
- Password Manager
- Heroku
- Web Server