Skip to content

durpyneko/simple-express-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple express.js template

Redid my express template from a while ago for newbies

NOTE

W3schools is the GOAT for examples

I also recommend getting the Better Comments VS Code extension for this template

Quickstart

Note

Make sure you have:

An IDE, I preferably use VS Code

Git or Github Desktop (Windows and MacOS only afaik) installed

A terminal ready

Nodejs and npm installed

  1. Clone the repo

Using git:

git clone https://github.com/durpyneko/simple-express-template

Using Github Desktop: Docs

Or download the repo zip.

  1. Open your IDE of choice in the directory you cloned into. Github Desktop has a quick launch feature

image

  1. Open your terminal in the directory or use your IDE's built in terminal.
  2. Install dependencies by running ->
npm install
  1. Start the server by running ->
node index.js
  1. Open the default url: http://127.0.0.1:4000

Goodluck on your venture o7

Remember: Google, Stackoverflow and w3schools is your friend