Repository for the Electrium Shop project.
Kanban board: Visit the Kanban board for Electrium Shop on Clickup
Install everything in this list before moving on to the next step! Required:
- Git
- Node.js
- VS Code
- GitHub Desktop Note: This is the recommended tool for pushing your commit on GitHub.
BONUS: Have you ever considered signing up for the GitHub Developer Pack? Check it out here!
- Clone the repository on your IDE:
git clone https://github.com/Electrium-Mobility/Electrium-store.git
-
Download the
.envfile from our Discord server'sconfig-and-credentialschannel under webdev and place it into the root folder of your repo -
Run the following commands in your IDE:
npm i
(i is a shortcut for install)
npm run build
npm run start
Electrium Shop should now be running on localhost:3000.
The application requires the following environment variables to be set in your .env.local file:
NEXT_PUBLIC_SUPABASE_URL- Your Supabase project URLNEXT_PUBLIC_SUPABASE_ANON_KEY- Your Supabase anonymous keySTRIPE_SECRET_KEY- Your Stripe secret key (server-side only)NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY- Your Stripe publishable keyRESEND_API_KEY- Your Resend API key for sending emails