Coder Social home page Coder Social logo

university-management-auth-service's Introduction

Setup Project

Prerequisites

  • Node.js

  • VsCode

  • npm init

  • yarn add typescript --dev

  • yarn add mongoose

  • yarn add express

  • tsc --init (if an error then -> npm install -g typescript)

    • tsconfig.json -> search -> rootDir and set -> "rootDir": "./src"
    • tsconfig.json -> search -> outDir and set -> "outDir": "./dist"
  • .gitignore (add .env node_modules)

  • yarn add dotenv

  • .env

  • yarn add ts-node-dev --dev

  • yarn add cors

  • yarn add eslint @typescript-eslint/parser @typescript-eslint/eslint-plugin --save-dev

    • search on google -> typescript eslint prettier setup
    • eslintrc
    • search on google -> current ecma version and change the version on eslintrc
  • yarn add -D prettier

  • yarn add -D eslint-config-prettier

  • yarn add --dev husky

  • yarn add -D lint-staged

  • yarn add zod

    • . (For logger)
  • yarn add winston

  • yarn add winston-daily-rotate-file

create folder

  • src/
    • config/
      • index.ts
    • server.ts
    • app.ts
  • .eslintignore node_modules dist

npm i --save-dev @types/express be like

  • yarn add -D @types/express

Modular Pattern

  • src/
    • app/
      • modules/
        • users/
          • users.interface.ts
          • users.model.ts
          • users.service.ts
          • users.controller.ts
          • users.route.ts

Start from level-2

14-14: Referencing Field ,Create Academic Department And Module Summary

university-management-auth-service's People

Contributors

th-raju avatar

Stargazers

 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.