About this repository 😎
This repository talks about how to build an outstanding web server using latest Javascript technologies that can help micro entrepreneurs swiftly reach economic freedom.
Engine Requirement 🚜
-- Node.js v16.x or v18.x
-- NPM v8+
Technology Stacks 🍔
-- Node.js
-- Koa.js (Express.js Godfather) 🔥🔥
-- Morgan (for logging purposes)
-- Mongodb 💾
Project Structures 🏢
.
│── README.md
│── .env.example (this will be the environment file)
|── .gitignore
|── package.json
|── index.js (entry point)
└── controllers/
| └── ...[.js]
└── helpers/
| └── ...[.js]
└── libraries/
| └── ...[.js]
└── middlewares/
| └── ...[.js]
└── repositories/
| └── ...[.js]
└── routes/
| └── ...[.js]
└── services/
| └── ...[.js] (db connection or third party api)
Install Localy 🧑🏼🔧
npm install
cp .env.example .env
)Running App 👟
npm start
Flow Development 🏗
During the development cycle, a variety of supporting branches are used:
Creating a new feature
feature/name-of-feature
.npm run lint
to check standardize code or npm run lintfix
to auto fix non-standard code.Deployment 🚀
This flow of deployment using Git Flow with 3 main branches