Skip to content

MeShootIn/poly-it

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌐 poly-it

University project on the subject "Internet technologies" at SPbSTU of the 1st year of the master's degree.

📦 Installation

Just clone the repository somewhere:

git clone https://github.com/MeShootIn/poly-it

🚀 Usage

  • Install all modules:
npm install
  • Run:
npm run start
  • Run in dev-mode:
npm run dev
  • Run all migrations and seed all files:
npm run db:init
  • Rollback all migrations:
npm run db:rollback

🖥️ Dev configuration

☑️ XO linter

"xo": {
  "ignores": [
    "db/seeds"
  ],
  "rules": {
    "new-cap": [
      "error",
      {
        "capIsNewExceptions": [
          "Router"
        ]
      }
    ]
  }
},

📂 Project structure

The repository has the following directory structure:

📂 .
├── 📜 .gitignore
├── 📂 controllers
│   └── 📜 employee.js
├── 📂 daos
│   └── 📜 employee.js
├── 📂 db
│   ├── 📜 db.js
│   ├── 📂 migrations
│   │   ├── 📜 20211026123032-create-positions-table.js
│   │   └── 📜 20211026123036-create-employees-table.js
│   └── 📂 seeds
│       ├── 📜 01-positions.js
│       └── 📜 02-employees.js
├── 📜 index.js
├── 📜 package-lock.json
├── 📜 package.json
├── 📜 README.md
├── 📂 routes
│   └── 📜 employees.js
├── 📂 services
│   └── 📜 employee.js
└── 📜 yarn.lock

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks