All Projects → leonardorb → backend-postgres-typescript-node-express

leonardorb / backend-postgres-typescript-node-express

Licence: MIT license
⚡ PostgreSQL, TypeScript, Node.js and Express.js Stack

Programming Languages

typescript
32286 projects
javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to backend-postgres-typescript-node-express

typijs
The Angular CMS Framework for building fully-featured SPA sites powered by NodeJS and MongoDB with TypeScript
Stars: ✭ 141 (+235.71%)
Mutual labels:  expressjs
expresso
expresso ☕ ( expressjs, Sequelize, TypeScript )
Stars: ✭ 111 (+164.29%)
Mutual labels:  expressjs
ubereats-api
🍕 ubereats api for the ios: Express.js and Yelp api
Stars: ✭ 20 (-52.38%)
Mutual labels:  expressjs
MEAN-stack-authentication
MEAN stack authentication boilerplate with Angular 5 and Angular Material
Stars: ✭ 29 (-30.95%)
Mutual labels:  expressjs
auto-async-wrap
automatic async middleware wrapper for expressjs errorhandler.
Stars: ✭ 21 (-50%)
Mutual labels:  expressjs
Natours
An awesome tour booking web app written in NodeJS, Express, MongoDB 🗽
Stars: ✭ 94 (+123.81%)
Mutual labels:  expressjs
mern-stack-crud
MERN stack (MongoDB, Express, React and Node.js) create read update and delete (CRUD) web application example
Stars: ✭ 142 (+238.1%)
Mutual labels:  expressjs
socialApp-MERN
Social Networking web app similar to Instagram.
Stars: ✭ 35 (-16.67%)
Mutual labels:  expressjs
passport-magic
Magic is a Passport.js strategy that enables passwordless authentication middleware for any Express.js based application.
Stars: ✭ 35 (-16.67%)
Mutual labels:  expressjs
api-skel
Webpack + Typescript + Express + Jest + Chai + Gulp
Stars: ✭ 18 (-57.14%)
Mutual labels:  expressjs
mean-ionic-ngrx
Monorepo as Microservices: Full MEAN stack with Angular 7, Ionic 4 and ReactiveX API (ngrx/Store + ngrx/Effects) + i18n/ngx-translate + Express NodeJS REST API servers micro-services + JWT Authentication + UnitTest/e2e exemple + Travis + DevOps scripts and many more...
Stars: ✭ 60 (+42.86%)
Mutual labels:  expressjs
commerce
🛒 e-commerce-platform
Stars: ✭ 54 (+28.57%)
Mutual labels:  expressjs
main
Mocks Server monorepo
Stars: ✭ 109 (+159.52%)
Mutual labels:  expressjs
express-mvc-pattern
Example nodejs using express implementation design pattern using mvc architecture.
Stars: ✭ 52 (+23.81%)
Mutual labels:  expressjs
cloud-run-node-16
Latest Node.js on Cloud Run
Stars: ✭ 14 (-66.67%)
Mutual labels:  expressjs
search-cities
No description or website provided.
Stars: ✭ 11 (-73.81%)
Mutual labels:  expressjs
generate-express
Express generator CLI with es6+ support and your choice of database config
Stars: ✭ 17 (-59.52%)
Mutual labels:  expressjs
MERN-JWT-AND-ROLE-AUTH
Neccessary features needed for your mern Application are now available.
Stars: ✭ 30 (-28.57%)
Mutual labels:  expressjs
SSE-Github
This repository contains the demo app for the blog
Stars: ✭ 17 (-59.52%)
Mutual labels:  expressjs
api
_api is an autogenerated CRUD API built on LowDB and ExpressJS.
Stars: ✭ 73 (+73.81%)
Mutual labels:  expressjs

PostgreSQL, TypeScript, Node.js and Express.js Stack

Overview

This repo is a boilerplate project starter built with TypeScript for a PostgreSQL / Express.js / Node.js backend service. You can plug-in any other frontend library seamlessly.

Technologies Used

  • PostgreSQL - The World's Most Advanced Open Source Relational Database
  • Typescript - TypeScript extends JavaScript by adding types to the language
  • Node.js - Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine.
  • Express.js - Express is a minimal and flexible Node.js web application framework that provides a robust set of features for web and mobile applications.
  • TypeORM - TypeORM is an ORM that can run in NodeJS, Browser, Cordova, PhoneGap, Ionic, React Native, NativeScript, Expo, and Electron platforms and can be used with TypeScript and JavaScript (ES5, ES6, ES7, ES8)

Highlights

Folders / Files Structure

Here is a high-level overview of our file structure.

src/
  __tests__/ # tests
  config/
  packages/
    api/ # API helpers, middlewares, resources, controllers, validations
    database/ # database helpers, models, database migrations
  index.ts
  server.ts
README.md
package.json, etc...

Environment Variables

# JWT
AUTH_TOKEN_EXPIRATION_TIME=""
AUTH_TOKEN_SECRET=""

# DATABASE
DB_HOST=""
DB_NAME=""
DB_PASSWORD=""
DB_PORT=""
DB_USERNAME=""
DB_MAIN_SCHEMA=""
DB_AUDIT_SCHEMA=""

# LOGGING
LOGGING_COMBINED_FILE=""
LOGGING_ERROR_FILE=""
LOGGING_LEVEL=""
LOGGING_TYPE=""

# SERVER
SERVER_PORT=""

Setup

  1. Create a .env.local file on the root of the project based on .env.example
  2. Create a dev app database. $ createdb <DB_NAME>;
  3. Execute $ npm run setup:local
  4. Start the development server running $ npm run dev

Running Tests

  1. Create a .env.test file on the root of the project based on .env.example
  2. Create a test app database. $ createdb <DB_NAME>;
  3. Execute $ npm run setup:test
  4. Run $ npm test

License

This project is an open-sourced software licensed under the MIT license.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].