StasKuzichev / testing-codespace

testing github codespaces

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Koajs API boilerplate

An opinionated boilerplate for Node web APIs focused on separation of concerns and scalability.

Features

Multilayer folder structure
Code organization inspired by DDD and Clean Architecture focused on codebase scalability.
Instant feedback and reload
Use Nodemon to automatically reload the server after a file change when on development mode, makes the development faster and easier.
Scalable and easy to use web server
Use Koajs for requests routing and middlewares. There are some essential middlewares for web APIs already setup, like koa-bodyparser, koa-compress, koa-cors, koa-router and koa-respond.
Database integration
Mongoose, is already integrated, you just have to run the docker container.
Logging
The Bristol logger an Insanely configurable logging for Node.js

Quick start

  1. Clone the repository with git clone --depth=1 https://github.com/andersondsl/koajs-mongo-docker
  2. Run docker-compose up, to spin up mngo container and a workspace for development
  3. Access http://localhost:3000/users and you're ready to go!

Tech

Contributing

This boilerplate is open to suggestions and contributions, documentation contributions are also important!

About

testing github codespaces


Languages

Language:JavaScript 97.6%Language:Dockerfile 2.4%