Skip to content

xgeekshq/multideploy

Repository files navigation

Multideploy

Description

This is an automatic boilerplate for a new NestJS application. Please edit this docs ...

Git clone and initial setup

# clone this repo
$ git clone https://github.com/xgeekshq/multideploy.git

# cd into it
$ cd multideploy

# create .env file
echo "NODE_ENV=example" >> .env

# run 
$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Test with curl

# GET /todos
curl -sf -X GET \
  -H "Accept: application/json" \
  https://multideploy-dev.xgeeks.tech/todos/

# POST /todos
curl -sf -X POST \
  -d '{"name":"my-first-todo","description":"buy milk"}' \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  https://multideploy-dev.xgeeks.tech/todos/

Links

About

Repo for multideploy project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages