Skip to content

DoNotRoughly/1stCnSContest

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NPM Version Package License NPM Downloads CircleCI Coverage Discord Backers on Open Collective Sponsors on Open Collective Support us

DoNotRoughly v1.0.0

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Here Is Our API

CASE: /user

@Post(/login)

input:
{
  "userId":string,
  "pw":string
}
output: User

@Patch(/apply)

input:
{
  "userId":string,
  "courseId":string
}
output: User

@Delete(/cancel)

input:
{
  "userId":string,
  "courseId":string
}
output: User

CASE: /course

@Get(/filter)

input:
{
  "label":string,
  "value":string
}
output: CourseReturn[]

@Patch(/modify)

input:
{
  "data":string,
}
output: CourseReturn[]

@Put(/)

input:
{
  "course":Course
}
output: CourseReturn[]

@Delete(/)

input:
{
  "courseId":string,
}
output: CourseReturn[]

CASE: /period

@Get(/)

input: x
output: period

@Patch(/)

input:
{
  "period":{
    "start":Date,
    "end":Date
  }
}
output: period

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

License

Nest is MIT licensed.

About

1st Cloud&Server Contest Entry

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published