Take surveys. Earn crypto. The easiest way to get into web3.
Nicholas Padmanabhan, Christine Sun, Jenny Sun, Byron Zhang
npm run dev
- Important: Create a file named
.env.local
and store all environment variables (e.g. DB connection string) here. - Open http://localhost:3000 with your browser to see the result. Pages auto-update as you edit their files.
- The
pages/api
directory is mapped to/api/*
. Files in this directory are treated as API routes instead of React pages. - Create helper components (e.g. custom buttons) in
/components
. - Add tags to
<head>
by editingpages/_document.tsx
.
Install the Prettier formatter (VSCode extension) and set your VSCode to format on save. To set the default formatter as Prettier, do ⇧ Shift ⌘ P, search "Format Document With...", and select Prettier.
npm i
If you install a new dependency, make sure to push the updated package.json
and package-lock.json
!