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_1bgit clone https://github.com/songexile/cise_assignment_1b
cd cise_assignment_1bFor the back end, we can install the dependencies inside the folder
cd speed-backendcd speed-backendnpm run i
# or
yarn i
# or
pnpm i
# or
bun inpm run i
# or
yarn i
# or
pnpm i
# or
bun iAfter the dependencies are installed, copy the .env.example:
cp .env.example .envcp .env.example .envOpen .env -> Then fill all the environment variables
Example
MONGODB_URI=MONGODB_URI_HERE
PORT=3001
JWT_SECRET=helloworld!
JWT_EXPIRES=3dMONGODB_URI=MONGODB_URI_HERE
PORT=3001
JWT_SECRET=helloworld!
JWT_EXPIRES=3dThen 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