Giter Site home page Giter Site logo

ngohieu1209 / redditxclone-backend Goto Github PK

View Code? Open in Web Editor NEW

This project forked from redditxclone/backend

0.0 0.0 0.0 7.55 MB

This repository is made for backend subteam which are responsible for developing the backend of the Reddit Clone.

Shell 0.13% JavaScript 1.83% TypeScript 98.03% Dockerfile 0.02%

redditxclone-backend'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

Description

This repository is made for backend team which are responsible for developing a REST api of the Reddit Clone using Nest framework which is TypeScript starter repository.

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

Contribution Guide

  1. use eslint instead of prettier for .ts files
  2. use conventional commits (can use commitizen to help: npm install -g commitizen and then use git cz)
  3. other files (.json, .rc, .js) are formatted using prettier
  4. precommit hook will run lint checking on staged files only. It will also run all tests on all uncommitted(not just staged) files.
  5. prepush hook will run formatting check and testing on all files
  6. use git commit or git cz in terminal to get husky output. In vs code if you just hit commit you will have to wait without any output.
  7. changes may break github desktop (on windows). You need WSL to run bash in git hooks.
  8. don't forget to npm i and npm run husky

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

lorem ipsum

License

Nest is MIT licensed.

redditxclone-backend's People

Contributors

omarfareed23 avatar a7medaref avatar omarfareed avatar mohamedkamalothman avatar mabdulhady00 avatar mahmedamer avatar ahmedalaa2024 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.