GithubHelp home page GithubHelp logo

thsnd-kg / thinkpro-server Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.22 MB

EC104 Project - Seed data and provide API to get data based on ThinkPro website

JavaScript 1.91% TypeScript 97.87% Dockerfile 0.21%

thinkpro-server's Introduction

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

Config enviroments

#.env.dev
## App
PORT=3000

## Database
MONGODB_URI="mongodb://localhost:27017/thinkpro"

## Authentication
JWT_SECRET_KEY="veryverysecret"
JWT_ACCESS_TOKEN_LIFE_TIME="30m"
JWT_REFRESH_TOKEN_LIFE_TIME="1d"

## Bcrypt
BCRYPT_SALT_ROUNDS=12

Using Docker Compose

# .env.docker
## Setup App
PORT=3000

## Setup MongoDB
MONGODB_VERSION=latest
MONGODB_ROOT_USERNAME=admin
MONGODB_ROOT_PASSWORD=admin
MONGODB_ROOT_PORT=27017
MONGODB_ROOT_DATABASE=thinkpro
$ docker-compose --env-file=.env.docker up -d 

Installation

$ yarn

Running the app

# development
$ yarn start

# watch mode
$ yarn start:dev

thinkpro-server's People

Contributors

thsnd-kg 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.