git clone git@github.com/realetive/nevatrip-mvp-server.git
cd nevatrip-mvp-server
cp .env.example .env
npm install
Set/change the config in .env
file.
- Run the builder:
NODE_ENV=production npm run make
- Run server:
NODE_ENV=production npm start
Start dev-server
npm run dev
- For check api response for page, add
json=1
param to URL, for example: http://localhost:3000/?json=1 - For check bemjson structure, add
bemjson=1
param to URL, for example: http://localhost:3000/?bemjson=1