Evenagement is a web application to manage communities.
- Install pnpm:
npm i -g pnpm
- Install firebase-tools:
pnpm i -g firebase-tools
- Configure environment (see below)
- Install packages:
pnpm i --frozen-lockfile
- Build:
pnpm build
- Start:
pnpm start
- Open [http://localhost:3000/]
- Install packages:
pnpm i
- Start development server:
pnpm run dev
- Open [http://localhost:3000/]
We use the Firebase Emulator when developing or testing the app.
- Add
NEXT_PUBLIC_USE_FIREBASE_EMULATOR=1
to.env.local
- Start emulator:
pnpm run emulator
- Start development as described above
We use Storybook to test and showcase our components.
- Run
pnpm run storybook
- Open [http://localhost:9009]
Edit [component].stories.tsx
to configure the options of a component
Environment variables can be se in .env.local
.
Firebase Configuration:
NEXT_PUBLIC_FIREBASE_APIKEY=
NEXT_PUBLIC_FIREBASE_AUTHDOMAIN=
NEXT_PUBLIC_FIREBASE_PROJECTID=
NEXT_PUBLIC_FIREBASE_STORAGEBUCKET=
NEXT_PUBLIC_FIREBASE_MESSAGINGSENDERID=
NEXT_PUBLIC_FIREBASE_APPID=
NEXT_PUBLIC_FIREBASE_MEASUREMENTID=
Development Configuration:
NEXT_PUBLIC_USE_FIREBASE_EMULATOR=1 #enable the emulator
NEXT_PUBLIC_DEBUG=1 #enable debug support (sets window.firebase)
Sendgrid Configuration:
SENDGRID_API_KEY=
SENDGRID_FROM=