The purpose of this article is to save as a guide to setting up a basic express server. Please check out the attached repository on Github. It provides a simple boilerplate that will help you set up your server.
I created this repo to set up a basic express server in E6 and bootsrap it with eslint airbnb style guide.
I created this repo to set up a basic express server boilerplate in E6 and bootsrapped my project with eslint airbnb style guide.
Ensure that you have git installed on your local machine. And you are familiar with git basics which include creating a repo on Github, forking an existing repository and cloning a repository. If those are totally new concepts to you please check out this Youtube video
Set up guide
- Fork this repo and use it as a template for any repo you want to set up an express server.
- Then clone your repo in your local machine and open it on any text editor of your choice.
- On the terminal run the command
npm init -yto initialize your project.
- And to install all dependencies listed in package.json run the command
npm ion your terminal.
Starting the server
On the terminal run the command…
Thank you for reading this article.