jurgob / neru-ts-express-teamplate

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

neru-ts-express-teamplate

prerequisites

install

npx degit jurgob/neru-ts-express-teamplate my_neru_project
cd my_neru_project
nvm use #if you are an nvm user, if not be sure you are on node 16
npm i

create and configure vonage app

neru app create --name my-app

this will output an APPLICATION_ID e.g.

✅ application successfully created - application_name="my-app" application_id="60e6b7b8-8d2e-4457-a641-76798774161a"

open the file .env.local and write add the following:

export NERU_APPLICATION_ID="60e6b7b8-8d2e-4457-a641-76798774161a"

run it locally

set your env var like this:

export NERU_APP_PORT=3000

then run it locally:

npm run dev

run test

npm test

About


Languages

Language:TypeScript 82.9%Language:JavaScript 17.1%