GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - DavesCodeData/Node-Boilerplate: Node.js server template to place Angular website code and restAPI into. This is ready to run with my Angular builds already installed.

BranchesTags
Open more actions menu

Latest commit

 

History

22 Commits
22 Commits

Folders and files

NameName
Last commit message
Last commit date
DavidFrontend
DavidFrontend
 
 
frontend
frontend
 
 
src/student
src/student
 
 
.eslintrc.json
.eslintrc.json
 
 
.gitattributes
.gitattributes
 
 
.gitignore
.gitignore
 
 
3rdpartylicenses.txt
3rdpartylicenses.txt
 
 
README.md
README.md
 
 
contactdb.js
contactdb.js
 
 
db.js
db.js
 
 
favicon.ico
favicon.ico
 
 
index.html
index.html
 
 
nuget.config
nuget.config
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
server.js
server.js
 
 

Repository files navigation

My custom NodeJS server

Here is a node boiler plate I created to run my Angular applications. The API of this server is configured to work with my various Angular builds.

I configured this to have the static build of the default Anuglar application.

Run the Backend

To run the server you must have node installed. Before starting, make sure you have Node installed on your machine. Go to: https://nodejs.org/ Install node then follow next steps.

Step 1: In the terminal type: npm install

If you don't know how to open the terminal and you are using VS Code just press ctrl + backtick

Then you can run the server with one command.

Step 2: In the terminal type: node ./server

You should now be running on localhost://3000

Step 3: Type localhost://3000 in to your browser to see the application.

It will show you the Angular default page because, that is the build file I have installed for your default view.

To change this take one of my Angular applications and run a build on it. Here is a link to one such application: https://github.com/DavesCodeData/Davids-Website.git

To run a build command in Angular follow these instructions. In the Angular terminal type: ng build

Then located the dist folder and copy all the created files.

Simply paste those into frontend on this Node server and you will have the beginnings of a NodeAngularPostgreSQL stack.

You will have to fill out your own information for you own Postgres database under the db.js file in the root of this folder.

Then save and run the server again with: node ./server

Enjoy!

About

Node.js server template to place Angular website code and restAPI into. This is ready to run with my Angular builds already installed.

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.