Skip to content

Twitter Backed API using Nest framework. - NodeJS - TypeScript - PostgreSQL - Fastify - Swagger - Loggers - Caching

License

Notifications You must be signed in to change notification settings

abhishekpatel946/Twitter-Backend

Repository files navigation

Nest Logo

A progressive Node.js framework for building efficient and scalable server-side applications.

NodeJS Workflow


Description - A Twitter Clone

Backend API for Moo using Nest framework.

  • NodeJS
  • TypeScript
  • PostgreSQL

Installation

$ npm install

Running the app

# development
$ npm run start

# watch mode
$ npm run start:dev

# production mode
$ npm run start:prod

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

Postgres

➜  sudo systemctl start postgresql.service
➜  sudo -i -u postgres
➜  ➜ psql
➜  ➜  ➜ create database moodb;
➜  ➜  ➜ create user mooadmin with _encrypted_ password 'moopass';
➜  ➜  ➜ grant all priviliges on databse moodb to mooadmin;

NEST Backend Layer

img

Support

Nest is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.

Stay in touch

License

Nest is MIT licensed.