References for Using React
A handy, quick reference for me (and everyone) to come back to when working with React. Sourced from: rstacruz / cheatsheets.Componentsim...
Best of PHP Functions
When working with PHP I have a bunch of go-to functions and things I come back to often. Below, you can find a little list I compiled. Ho...
References for Using React
A handy, quick reference for me (and everyone) to come back to when working with React. Sourced from: rstacruz / cheatsheets.Componentsim...
Best of PHP Functions
When working with PHP I have a bunch of go-to functions and things I come back to often. Below, you can find a little list I compiled. Ho...
Subscribe to coinvest
Subscribe to coinvest
Share Dialog
Share Dialog
<100 subscribers
<100 subscribers
NPM project initialization
npm init -y
Import Express
const express = require("express");
Activate EJS view engine
app.set('view engine', 'ejs'); app.set('views', path.join(__dirname, 'views'));
Parse incoming request bodies
app.use(express.urlencoded({ extended: true }));
Serve static files (e.g. CSS files)
app.use(express.static('public'));
NPM project initialization
npm init -y
Import Express
const express = require("express");
Activate EJS view engine
app.set('view engine', 'ejs'); app.set('views', path.join(__dirname, 'views'));
Parse incoming request bodies
app.use(express.urlencoded({ extended: true }));
Serve static files (e.g. CSS files)
app.use(express.static('public'));
No activity yet