Skip to content

Get started with Next Gen SPEED App

Installation

First, you need to clone the repo from GitHub if you haven't done so

git clone https://github.com/songexile/cise_assignment_1b
cd cise_assignment_1b
git clone https://github.com/songexile/cise_assignment_1b
cd cise_assignment_1b

For the front end, we can install the dependencies inside the folder

cd speed-frontend
cd speed-frontend
npm run i
# or
yarn i
# or
pnpm i
# or
bun i
npm run i
# or
yarn i
# or
pnpm i
# or
bun i

After the dependencies are installed, copy the .env.example:

cp .env.example .env
cp .env.example .env

Open .env -> Then fill all the environment variables

Example

NEXT_PUBLIC_API_ENDPOINT_URI=http://localhost:3001/
NEXT_PUBLIC_API_JWT_SECRET=helloworld!
NEXT_PUBLIC_API_ENDPOINT_URI=http://localhost:3001/
NEXT_PUBLIC_API_JWT_SECRET=helloworld!

Then we can run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev