Skip to content
This repository has been archived by the owner on Jul 4, 2023. It is now read-only.

jlucaso1/back-end-challenge-2021

Repository files navigation

Back End Challenge

Description

This project is a REST API that uses data from Space Flight News and is related to the Coodesh challenge.

Repository: https://github.com/jlucaso1/back-end-challenge-2021

Technologies

  • Typescript
  • NestJS a framework of NodeJS
  • OpenAPI (Swagger)
  • Docker
  • Postgresql (in heroku free tier)
  • Jest
  • Axios (to fetch API)

Installation

Rename .example.env to .env and fill the fields
$ npm install

# seed the database
$ npm run seed:db

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

# with docker-compose in development mode
$ docker compose up dev

# with docker-compose in production mode
$ docker compose up prod

Swagger Docs url: http://localhost:3000/api

Test

obs: not implemented yet

# unit tests
$ npm run test

This is a challenge by Coodesh

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published