Rest API Boilerplate for Node.js πŸ€–πŸ”₯

webdeasy.de - May 15 '21 - - Dev Community

Are you also tired of writing the same code for every project? πŸ˜”

I am, anyway. That's why I created a Rest API boilerplate for Node.js!

Only 3 simple steps to use them πŸ”₯


Rest API Boilerplate Repo (GitHub)


I know that there are already such boilerplates, however, they are simply much too large and extensive for most purposes.

My boilerplate is as small as possible, but still offers you a meaningful structure for your projects.

Features ⚑

  • Dynamic creation of routes
  • Preinstalled nodemon for faster development
  • REST Client for testing routes
  • 404 Route Handling
  • Simple MySQL Database file
  • Enviroment Variables (.env) for security (API keys, - password,...)
  • Colored error and log messages

How to use πŸ“‘

It could not be simpler:

  1. clone the repository with git clone https://github.com/lorenzhohmann/rest-boilerplate.git
  2. navigate in the directory and execute npm install
  3. Rename _.gitignore to .gitignore

So, if you have ideas for further features or suggestions for improvement: let me know.

If you like what I do, leave me a follow on Twitter and on my web development blog

Until then, happy coding and stay healthy! 😊

. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Terabox Video Player