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 back end, we can install the dependencies inside the folder
cd speed-backend
cd speed-backend
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
MONGODB_URI=MONGODB_URI_HERE
PORT=3001
JWT_SECRET=helloworld!
JWT_EXPIRES=3d
MONGODB_URI=MONGODB_URI_HERE
PORT=3001
JWT_SECRET=helloworld!
JWT_EXPIRES=3d
Then we can run the App (if you use pnpm):
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod
# development
$ pnpm run start
# watch mode
$ pnpm run start:dev
# production mode
$ pnpm run start:prod