Giter VIP home page Giter VIP logo

gokulakannant / express-typescript-mongodb-starter Goto Github PK

View Code? Open in Web Editor NEW
6.0 1.0 2.0 994 KB

A express app that exposed the basic api's. The project has preconfigured ts-lint, type-doc, jest, Docker and its sample usage.

License: GNU General Public License v3.0

Dockerfile 0.19% JavaScript 0.68% TypeScript 99.13%
typescript bcryptjs typedoc mongodb jsonwebtoken supertest nodemailer expressjs docker

express-typescript-mongodb-starter's Introduction

Express Typescript Mongodb Starter

A express app that exposed the basic api's. The project has preconfigured ts-lint, type-doc, jest, Docker and its sample usage.

Key Features

  • Docker configured for easy to deploy servers like staging, production and etc.
  • The typedoc will automatically generated from the implemented code for other developer reference.
  • Swagger document configured for testing the API
  • JWT has configured to authendicate the API's.
  • Jest configured for test the exposed apis and to get to know the code coverage.
  • Ts lint configured for to keep the clean and beautiful code
  • The preconfigured nodemailer will send the newly registered users password to their email id.

Getting started

Prerequisites

The required prerequistites are given below,

Packages used :

Dependencies:
  • bcryptjs
  • body-parser
  • cookie
  • debug
  • dotenv
  • express
  • helmet
  • jsonwebtoken
  • mongodb
  • nodemailer
  • nodemailer-smtp-transport
  • winston
Dev dependencies:
  • @types/bcryptjs
  • @types/body-parser
  • @types/chai
  • @types/debug
  • @types/dotenv
  • @types/express
  • @types/helmet
  • @types/jest
  • @types/js-yaml
  • @types/jsonwebtoken
  • @types/mongodb
  • @types/node
  • @types/nodemailer
  • @types/nodemailer-smtp-transport
  • @types/supertest
  • @types/swagger-ui-express
  • @types/winston
  • bestzip
  • chai
  • jest
  • jest-html-reporter
  • js-yaml
  • nodemon
  • shx
  • supertest
  • swagger-ui-express
  • ts-jest
  • ts-node
  • tslint
  • typedoc
  • typescript
Assume my platform are :
  • Linux (Ubundu 16.04)
Assume my configurations are :
  • NODE v10.5.0
  • NPM 6.1.0
  • MongoDB 3.6.5

Note: Refer the technical documentation in Documentation folder. Download the technical documentation from the path Documentation/Technical-Documentation.zip

Directory Structure

.
├── Documentation
│   ├── assets
│   │   ├── css
│   │   ├── images
│   │   └── js
│   ├── classes
│   └── interfaces
├── src
│   ├── config
│   │   └── yaml
│   ├── database
│   │   ├── migrations
│   │   └── seeders
│   ├── helpers
│   ├── middleware
│   ├── routes
│   ├── services
│   │   └── auth
│   └── types
│       └── auth
├── storage
│   └── log
├── test
│   ├── apis
│   └── helpers
└── TestReport

Installing

Versioning

Latest Version : 1.0.0

Authors

  • Gokulakannan T

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Known Bugs

  • Refresh token concept needs to be implement.

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.