- Node.js and npm (or yarn/pnpm) Download
- Node --version:
>=20
- Use (Node Version Manager (nvm) to manage the version of node.
- After installing
nvm
install v20 of node, that will installnode v20
along with supportednpm
version.nvm install 20
- Node --version:
-
Clone the repository:
git clone https://github.com/avantifellows/quiz-creator.git
-
Install dependencies:
cd quiz-creator nvm use 20 npm ci
-
Set up environment variables:
Create a .env.local file and add the required variables values
cp .env.example .env.local
-
Start the development environment:
npm run dev
-
Access the application:
The application should be accessible at
http://localhost:3000
.
-
Build the application:
npm run build
-
Start the Server:
npm run start
-
Linting & Formating:
npm run lint:fix npm run format
-
Unit Testing:
npm run test:jest
-
E2E Testing:
npm run test:cypress