Giter Site home page Giter Site logo

danielhdezller / weather-sensor Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 893 KB

This is a showcase Nestjs project with Docker, PostgreSQL, REST and Jest.

JavaScript 1.53% TypeScript 97.21% Dockerfile 0.79% Shell 0.46%
backend docker docker-compose jest nestjs postgresql rest-api

weather-sensor's Introduction

weather-sensor

To try the authenticated endpoints first login with the user: email: '[email protected]', password: 'pass', Then paste the "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX..." at authentication header Bearer Token.

Steps to run the project:

  • if you haven't already: copy .env.example to .env at the project folder level.
$ cd ./docker/project
# Db and application will start, at mac the first time it takes some time due to the copy of the volumes.
$ docker-compose up

Swagger:

After running it you can find the Swagger documentation at: http://localhost:3000/docs#/

Alt text

Steps to run the Tests:

  • if you haven't already: copy .env.example to .env at the project folder level.
$ cd ./docker/test-db
# The Db for testing proposes will start.
$ docker-compose up
# To return to the project folder.
$ cd ../../project
# To run the test.
$ yarn test

Stay in touch

weather-sensor's People

Contributors

danielhdezller avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.